From 854b97e9ea7c663406904e90ef852959593c3576 Mon Sep 17 00:00:00 2001 From: Spencer Krum Date: Thu, 12 Nov 2015 22:43:52 -0800 Subject: [PATCH] Fix pep8 warnings Change-Id: I9f199dfa45885e51a925232fac54dabe7c844ed1 --- library/puppet | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/library/puppet b/library/puppet index 6a9d873..6c9f848 100644 --- a/library/puppet +++ b/library/puppet @@ -45,7 +45,9 @@ options: default: None show_diff: description: - - Should puppet return diffs of changes applied. Defaults to off to avoid leaking secret changes by default. + - > + Should puppet return diffs of changes applied. Defaults to off to + avoid leaking secret changes by default. required: false default: no choices: [ "yes", "no" ] @@ -140,7 +142,8 @@ def main(): PUPPET_CMD + " config print agent_disabled_lockfile") if os.path.exists(stdout.strip()): module.fail_json( - msg="Puppet agent is administratively disabled.", disabled=True) + msg="Puppet agent is administratively disabled.", + disabled=True) elif rc != 0: module.fail_json( msg="Puppet agent state could not be determined.") @@ -156,8 +159,8 @@ def main(): if not p['manifest']: cmd = ("%(base_cmd)s agent --onetime" - " --ignorecache --no-daemonize --no-usecacheonfailure --no-splay" - " --detailed-exitcodes --verbose") % dict( + " --ignorecache --no-daemonize --no-usecacheonfailure" + "--no-splay --detailed-exitcodes --verbose") % dict( base_cmd=base_cmd, ) if p['puppetmaster']: