From 3b6d1e4ab65e02f11f22f8e611fad9a3f9224593 Mon Sep 17 00:00:00 2001 From: Matthias Pigulla Date: Sat, 12 Nov 2011 17:53:26 +0100 Subject: Allow for setting the CVS_RSH environment variable --- lib/puppet/type/vcsrepo.rb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/puppet/type') 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 -- cgit v1.2.3