puppet_agent_mgr 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,8 +3,8 @@ module PuppetAgentMgr::V3
3
3
  extend Unix
4
4
  # is the agent daemon currently in the unix process list?
5
5
  def daemon_present?
6
- if File.exist?(Puppet[:agentpidfile])
7
- return has_process_for_pid?(File.read(Puppet[:agentpidfile]))
6
+ if File.exist?(Puppet[:agent_catalog_run_lockfile])
7
+ return has_process_for_pid?(File.read(Puppet[:agent_catalog_run_lockfile]))
8
8
  end
9
9
 
10
10
  return false
@@ -24,7 +24,7 @@ module PuppetAgentMgr::V3
24
24
  end
25
25
 
26
26
  def signal_running_daemon
27
- pid = File.read(Puppet[:agentpidfile])
27
+ pid = File.read(Puppet[:agent_catalog_run_lockfile])
28
28
 
29
29
  if has_process_for_pid?(pid)
30
30
  begin
@@ -1,3 +1,3 @@
1
1
  module PuppetAgentMgr
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet_agent_mgr
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - R.I.Pienaar