After being at JNUC I was inspired by Autopkgr and decided to setup Google and Firefox to auto update.
Day 1, no problems. Day 2, crap what did I do?
I removed the policies and smart groups (manually) from the JSS. Now when I run check apps now it downloads puts the file on my JDS and then blinks away and never recreates the policy or smart groups.
When I ran it from the command line I get this error about an object conflict I can not for the life of me find. Any help would awesome.
Traceback (most recent call last):
File "/usr/local/bin/autopkg", line 1334, in <module>
sys.exit(main(sys.argv))
File "/usr/local/bin/autopkg", line 1328, in main
exit(subcommands[verb]['function'](argv))
File "/usr/local/bin/autopkg", line 1152, in run_recipes
autopackager.process(recipe)
File "/Library/AutoPkg/autopkglib/init.py", line 466, in process
self.env = processor.process()
File "/Library/AutoPkg/autopkglib/init.py", line 295, in process
self.main()
File "/Library/AutoPkg/autopkglib/JSSImporter.py", line 596, in main
self.groups = self.handle_groups()
File "/Library/AutoPkg/autopkglib/JSSImporter.py", line 345, in handle_groups
computer_group = self._add_or_update_smart_group(group)
File "/Library/AutoPkg/autopkglib/JSSImporter.py", line 374, in _add_or_update_smart_group
update_env="jss_group_updated", added_env="jss_group_added")
File "/Library/AutoPkg/autopkglib/JSSImporter.py", line 433, in _update_or_create_new
recipe_object.save()
File "/Library/Python/2.7/site-packages/jss/jss.py", line 609, in save
raise JSSPostError("Object Conflict! If trying to post a "
jss.jss.JSSPostError: Object Conflict! If trying to post a new object, look for name conflict and delete.