diff options
| author | Michael V. O'Brien <michael@reductivelabs.com> | 2007-09-14 13:23:13 -0500 |
|---|---|---|
| committer | Michael V. O'Brien <michael@reductivelabs.com> | 2007-09-14 13:23:13 -0500 |
| commit | f014d7348fd5dc4bd699fca15c19a2c291df4bb3 (patch) | |
| tree | d2603bfd493bb0509bf5a7b45d62f37013d9ad53 /lib/puppet.rb | |
| parent | c319fd059d2d563432700214d4946cf0bf925894 (diff) | |
| download | puppet-f014d7348fd5dc4bd699fca15c19a2c291df4bb3.tar.gz puppet-f014d7348fd5dc4bd699fca15c19a2c291df4bb3.tar.xz puppet-f014d7348fd5dc4bd699fca15c19a2c291df4bb3.zip | |
Partial fix for #772. The SIGHUP now produces a EOPNOTSUPP instead of NameError.
Diffstat (limited to 'lib/puppet.rb')
| -rw-r--r-- | lib/puppet.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet.rb b/lib/puppet.rb index b9a09bb49..20d879fdf 100644 --- a/lib/puppet.rb +++ b/lib/puppet.rb @@ -242,7 +242,7 @@ module Puppet # Handle restarting. trap(:HUP) do - if client = @services.find { |s| s.is_a? Puppet::Network::Client::Master } and client.running? + if client = @services.find { |s| s.is_a? Puppet::Network::Client.master } and client.running? client.restart else Puppet.restart |
