Merge pull request #587 from resmo/fix/puppet-config

puppet: fix missing space between command and arg
reviewable/pr18780/r1
Brian Coca 10 years ago
commit 45773737f6

@ -128,7 +128,7 @@ def main():
# Check if puppet is disabled here # Check if puppet is disabled here
if p['puppetmaster']: if p['puppetmaster']:
rc, stdout, stderr = module.run_command( rc, stdout, stderr = module.run_command(
PUPPET_CMD + "config print agent_disabled_lockfile") PUPPET_CMD + " config print agent_disabled_lockfile")
if os.path.exists(stdout.strip()): if os.path.exists(stdout.strip()):
module.fail_json( module.fail_json(
msg="Puppet agent is administratively disabled.", disabled=True) msg="Puppet agent is administratively disabled.", disabled=True)

Loading…
Cancel
Save