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

puppet: fix missing space between command and arg
This commit is contained in:
Brian Coca 2015-06-06 10:29:41 -04:00
commit 45773737f6

View file

@ -128,7 +128,7 @@ def main():
# Check if puppet is disabled here
if p['puppetmaster']:
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()):
module.fail_json(
msg="Puppet agent is administratively disabled.", disabled=True)