diff options
author | Matthias Pigulla <mp@webfactory.de> | 2011-10-06 23:35:41 +0200 |
---|---|---|
committer | Matthias Pigulla <mp@webfactory.de> | 2011-11-03 00:44:18 +0100 |
commit | 18c039c8d169000c0d49a6d0b941f6f66ac1d7cb (patch) | |
tree | b70c64e6e3a33a1fd5d5d77383c973cdf218673a /lib/puppet/provider/vcsrepo/cvs.rb | |
parent | 2723cbcd6ebca42471ee311420ec32afafcdad18 (diff) | |
download | puppet-vcsrepo-18c039c8d169000c0d49a6d0b941f6f66ac1d7cb.tar.gz puppet-vcsrepo-18c039c8d169000c0d49a6d0b941f6f66ac1d7cb.tar.bz2 |
Fix (#10440) by making all commands optional
This will work around the issue in http://projects.puppetlabs.com/issues/6907, as the agent run will no longer fail if one of the commands is not installed.
This gives you enough time to install the necessary packages through Puppet (make sure you get the dependencies right), as the agent won't fail unless you really start accessing the repository.
Diffstat (limited to 'lib/puppet/provider/vcsrepo/cvs.rb')
-rw-r--r-- | lib/puppet/provider/vcsrepo/cvs.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/provider/vcsrepo/cvs.rb b/lib/puppet/provider/vcsrepo/cvs.rb index e82c23a..1e5ce80 100644 --- a/lib/puppet/provider/vcsrepo/cvs.rb +++ b/lib/puppet/provider/vcsrepo/cvs.rb @@ -3,7 +3,7 @@ require File.join(File.dirname(__FILE__), '..', 'vcsrepo') Puppet::Type.type(:vcsrepo).provide(:cvs, :parent => Puppet::Provider::Vcsrepo) do desc "Supports CVS repositories/workspaces" - commands :cvs => 'cvs' + optional_commands :cvs => 'cvs' defaultfor :cvs => :exists has_features :gzip_compression, :reference_tracking |