mirror of
https://github.com/munki/munki.git
synced 2026-01-05 14:10:00 -06:00
update warning to include PayloadIdentifier msg
In the unlikely event a profile with a missing PayloadIdentifier is successfully parsed, produce a warning.
This commit is contained in:
@@ -1126,10 +1126,11 @@ def main():
|
||||
item = catinfo['name']
|
||||
print >> sys.stderr, (
|
||||
"WARNING: %s contains no discernible install criteria!\n"
|
||||
"If you do not supply a receipt, install item or \n"
|
||||
"installcheck_script, munki will have no way to determine \n"
|
||||
"the package's installation state. This can result in \n"
|
||||
"undesirable or unexpected behaviour (ie. looping).\n") % item
|
||||
"If you do not supply a receipt, install item, "
|
||||
"installcheck_script \n"
|
||||
"or PayloadIdentifier, munki will have no way to determine the \n"
|
||||
"package's installation state. This can result in undesirable or \n"
|
||||
"unexpected behaviour (ie. looping).\n") % item
|
||||
|
||||
# and now, what we've all been waiting for...
|
||||
print FoundationPlist.writePlistToString(catinfo)
|
||||
|
||||
Reference in New Issue
Block a user