diff options
author | Matthias Pigulla <mp@webfactory.de> | 2011-11-11 19:08:57 +0100 |
---|---|---|
committer | Matthias Pigulla <mp@webfactory.de> | 2011-11-11 19:27:12 +0100 |
commit | 5866bba816e54b6ed50f2827ffb2bfa4a951f93d (patch) | |
tree | ca47b2ce042ee3f616896c903e85355a425ae321 /lib/puppet/type/vcsrepo.rb | |
parent | b5110938f5cb6736a13bbecbef4fbcaf6837ce56 (diff) |
Fix (#10751) by adding a new "module" parameter for the CVS provider
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 9bf8311..655549a 100644 --- a/lib/puppet/type/vcsrepo.rb +++ b/lib/puppet/type/vcsrepo.rb @@ -22,6 +22,9 @@ Puppet::Type.newtype(:vcsrepo) do feature :ssh_identity, "The provider supports a configurable SSH identity file" + feature :modules, + "The repository contains modules that can be chosen of" + ensurable do attr_accessor :latest @@ -148,4 +151,8 @@ Puppet::Type.newtype(:vcsrepo) do newparam :identity, :required_features => [:ssh_identity] do desc "SSH identity file" end + + newparam :module, :required_features => [:modules] do + desc "The repository module to manage" + end end |