summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2009-08-16 19:57:13 +0000
committerSol Jerome <solj@ices.utexas.edu>2009-08-16 19:57:13 +0000
commitc67127c535369382a1046784b599859afb7b3df2 (patch)
tree0133fafe71665a9178192a4b13f83a39bc06a71a
parenta5767685db4d864cc356b302886b4113d9daf167 (diff)
downloadbcfg2-c67127c535369382a1046784b599859afb7b3df2.tar.gz
bcfg2-c67127c535369382a1046784b599859afb7b3df2.tar.bz2
bcfg2-c67127c535369382a1046784b599859afb7b3df2.zip
Actions: Warn user when actions aren't run in dryrun mode
Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5409 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Client/Tools/Action.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Client/Tools/Action.py b/src/lib/Client/Tools/Action.py
index e997865f0..02fd76c99 100644
--- a/src/lib/Client/Tools/Action.py
+++ b/src/lib/Client/Tools/Action.py
@@ -31,6 +31,8 @@ class Action(Bcfg2.Client.Tools.Tool):
else:
return rc == 0
else:
+ self.logger.debug("In dryrun mode: not running action:\n %s" %
+ (entry.get('name')))
return False
def VerifyAction(self, dummy, _):