diff options
author | Aaron Stone <aaron@serendipity.cx> | 2013-07-19 11:10:29 -0700 |
---|---|---|
committer | Aaron Stone <aaron@serendipity.cx> | 2013-07-19 11:10:29 -0700 |
commit | a91c58531bd308ac71b3a94ea310399a383247ca (patch) | |
tree | ada22fcc1c172caffd450828487188ce46436ff6 /lib/puppet/type/vcsrepo.rb | |
parent | 0fec94345ea9aab7920684f8e383d17d44d553dd (diff) | |
parent | 3b6d1e4ab65e02f11f22f8e611fad9a3f9224593 (diff) |
Merge pull request #82 from webfactory/issue-10791
Allow for setting the CVS_RSH environment variable
Diffstat (limited to 'lib/puppet/type/vcsrepo.rb')
-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 |