HomePhorge

(#3757) separate settings for agent lockfile paths
a57bc0e248c2Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#3757) separate settings for agent lockfile paths

There are now two different lockfiles for agents; one
for indicating that an agent is administratively
disabled, and one that indicates that an agent run
is already in progress.

In previous revisions, the paths for these lockfiles
was being built from a single puppet setting via
naming convention. This commit does the following:

  1. Creates two settings (:agent_running_lockfile and

:agent_disabled_lockfile) instead of the previously
existing one (:puppetdlock).

  1. Removes the Configurer class from the chain of

command when the Agent class is determining the
lockfile path.

Details

Provenance
Chris Price <chris@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUee97771d29b7: (#3757, #12934) Minor test improvement for agent disable message
Branches
Unknown
Tags
Unknown

Event Timeline

Chris Price <chris@puppetlabs.com> committed rPUa57bc0e248c2: (#3757) separate settings for agent lockfile paths (authored by Chris Price <chris@puppetlabs.com>).Apr 17 2012, 12:13 AM