Adding default color kwarg to all puppet calls. Setting to 'false' turns

off colored text output.
This commit is contained in:
Andrew Bunday 2012-11-27 13:30:15 +00:00
parent d87b6c08cc
commit b8bf204740

View File

@ -48,7 +48,7 @@ class _Puppet(object):
self.subcmd = 'agent'
self.subcmd_args = [] # eg. /a/b/manifest.pp
self.kwargs = {} # eg. --tags=apache::server
self.kwargs = {'color': 'false'} # eg. --tags=apache::server
self.args = [] # eg. --noop
self.vardir = '/var/lib/puppet'