diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-03-27 22:16:13 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-03-27 22:16:13 +0000 |
| commit | 4358e853086f46e32e189496e3f7618dbf3f04bd (patch) | |
| tree | 6d29a51486efbfdb56a17f0916d9aff128ba5894 /lib/puppet/network/client | |
| parent | 2ad9469ffac37f4dac284e906f8ba16ea7aff4b8 (diff) | |
| download | puppet-4358e853086f46e32e189496e3f7618dbf3f04bd.tar.gz puppet-4358e853086f46e32e189496e3f7618dbf3f04bd.tar.xz puppet-4358e853086f46e32e189496e3f7618dbf3f04bd.zip | |
Trying to fix the problem that occurs when noop somehow manages to be nil when downloading files
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2357 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/network/client')
| -rw-r--r-- | lib/puppet/network/client/master.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/puppet/network/client/master.rb b/lib/puppet/network/client/master.rb index 52a569b36..a4ffefea5 100644 --- a/lib/puppet/network/client/master.rb +++ b/lib/puppet/network/client/master.rb @@ -398,7 +398,13 @@ class Puppet::Network::Client::Master < Puppet::Network::Client objects.remove files ensure - Puppet[:noop] = noop + # 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. |
