puppet: fix missing space between command and arg

Fixes:
~~~
{
    "cmd": "/usr/bin/puppetconfig print agent_disabled_lockfile",
    "failed": true,
    "msg": "[Errno 2] No such file or directory",
    "rc": 2
}
~~~
reviewable/pr18780/r1
Rene Moser 9 years ago committed by Greg DeKoenigsberg
parent 616a56f871
commit c277946fb3

@ -137,7 +137,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)

Loading…
Cancel
Save