summaryrefslogtreecommitdiff
path: root/lib/puppet/type
diff options
context:
space:
mode:
authorMatthias Pigulla <mp@webfactory.de>2011-11-12 17:53:26 +0100
committerMatthias Pigulla <mp@webfactory.de>2013-07-19 17:15:22 +0200
commit3b6d1e4ab65e02f11f22f8e611fad9a3f9224593 (patch)
treeada22fcc1c172caffd450828487188ce46436ff6 /lib/puppet/type
parent0fec94345ea9aab7920684f8e383d17d44d553dd (diff)
Allow for setting the CVS_RSH environment variable
Diffstat (limited to 'lib/puppet/type')
-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