diff options
| author | Luke Kanies <luke@madstop.com> | 2008-03-13 12:36:21 -0500 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2008-03-13 12:36:21 -0500 |
| commit | ecb873d3a6d2eabc931457bd8f4c185c990976db (patch) | |
| tree | f1741fe46caf38f17e57653e0aa1ea83cf7973ef /lib/puppet/network/client | |
| parent | e2370b37a73db94f4c099a9c54e2443b3c838fa0 (diff) | |
| download | puppet-ecb873d3a6d2eabc931457bd8f4c185c990976db.tar.gz puppet-ecb873d3a6d2eabc931457bd8f4c185c990976db.tar.xz puppet-ecb873d3a6d2eabc931457bd8f4c185c990976db.zip | |
Fixing #1118 -- downloading plugins and facts now ignores noop.
Note that this changes the behaviour a bit -- the resource's
noop setting always beats the global setting (previously,
whichever was true would win).
Diffstat (limited to 'lib/puppet/network/client')
| -rw-r--r-- | lib/puppet/network/client/master.rb | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/lib/puppet/network/client/master.rb b/lib/puppet/network/client/master.rb index 913c51b3d..e914d5c69 100644 --- a/lib/puppet/network/client/master.rb +++ b/lib/puppet/network/client/master.rb @@ -320,7 +320,8 @@ class Puppet::Network::Client::Master < Puppet::Network::Client :group => Process.gid, :purge => true, :force => true, - :backup => false + :backup => false, + :noop => false } if args[:ignore] @@ -331,9 +332,6 @@ class Puppet::Network::Client::Master < Puppet::Network::Client Puppet.info "Retrieving #{args[:name]}s" - noop = Puppet[:noop] - Puppet[:noop] = false - files = [] begin Timeout::timeout(self.timeout) do @@ -355,14 +353,6 @@ class Puppet::Network::Client::Master < Puppet::Network::Client downconfig.clear return files - ensure - # I can't imagine why this is necessary, but apparently at last one person has had problems with noop - # being nil here. - if noop.nil? - Puppet[:noop] = false - else - Puppet[:noop] = noop - end end # Retrieve facts from the central server. |
