Merge pull request #587 from resmo/fix/puppet-config
puppet: fix missing space between command and arg
This commit is contained in:
commit
45773737f6
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue