summaryrefslogtreecommitdiff
path: root/lib/puppet/type/vcsrepo.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/type/vcsrepo.rb')
-rw-r--r--lib/puppet/type/vcsrepo.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/puppet/type/vcsrepo.rb b/lib/puppet/type/vcsrepo.rb
index fc20f75..3281508 100644
--- a/lib/puppet/type/vcsrepo.rb
+++ b/lib/puppet/type/vcsrepo.rb
@@ -34,6 +34,9 @@ Puppet::Type.newtype(:vcsrepo) do
feature :configuration,
"The configuration directory to use"
+ feature :cvs_rsh,
+ "The provider understands the CVS_RSH environment variable"
+
ensurable do
attr_accessor :latest
@@ -184,4 +187,8 @@ Puppet::Type.newtype(:vcsrepo) do
desc "The configuration directory to use"
end
+ newparam :cvs_rsh, :required_features => [:cvs_rsh] do
+ desc "The value to be used for the CVS_RSH environment variable."
+ end
+
end