Merging Arjen's MUNKI_VERBOSITY_LEVEL environment variable

This commit is contained in:
Greg Neagle
2014-06-24 15:39:02 -07:00

View File

@@ -576,7 +576,10 @@ def main():
# set munkicommon globals
munkicommon.munkistatusoutput = options.munkistatusoutput
munkicommon.verbose = options.verbose
# Set environment variable for verbosity
os.environ['MUNKI_VERBOSITY_LEVEL'] = str(options.verbose)
if options.installonly:
# we're only installing, not checking, so we should copy
# some report values from the prior run