diff options
author | Matthias Pigulla <mp@webfactory.de> | 2011-11-12 17:53:26 +0100 |
---|---|---|
committer | Matthias Pigulla <mp@webfactory.de> | 2013-07-19 17:15:22 +0200 |
commit | 3b6d1e4ab65e02f11f22f8e611fad9a3f9224593 (patch) | |
tree | ada22fcc1c172caffd450828487188ce46436ff6 /lib/puppet/type | |
parent | 0fec94345ea9aab7920684f8e383d17d44d553dd (diff) | |
download | puppet-vcsrepo-3b6d1e4ab65e02f11f22f8e611fad9a3f9224593.tar.gz puppet-vcsrepo-3b6d1e4ab65e02f11f22f8e611fad9a3f9224593.tar.bz2 |
Allow for setting the CVS_RSH environment variable
Diffstat (limited to 'lib/puppet/type')
-rw-r--r-- | lib/puppet/type/vcsrepo.rb | 7 |
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 |