--
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Just to make sure I'm understanding this correctly, the only record of "versioning" taking place is being stored in a plist in /Library/Managed Installs/? it does means that any mucking around with /Library/Managed Installs/ results in a loss of all current existing versions of stored profiles. What will Munki do if that plist is missing and it sees a profile to install that is already installed - how will it know at that point which is the "newer" version?
After giving it some thought, I couldn't think of a better solution that didn't involve trying to reinvent receipt versioning in some way. Unless Munki installs the profile on each run, each time, which could be potentially dangerous depending on the profile.
This also provides no mechanism for user-level profiles,
If you leave a copy of the Profile in a set location, use the hash for comparison, then compare hashes you can check what the version is.
You can egrep the profiles -P option to see the profiles identifier. If the egrep confirms that the profile with the identifier is installed...which might be a way to store a version number..then you can verify it has been installed.
mkdir /Users/Shared/munkibuilds
git clone https://github.com/munki/munki
cd munki
git checkout -b config-profile-support origin/config-profile-support
./code/tools/make_munki_mpkg.sh
In case anyone is unsure how to test this out:Make sure to first read https://github.com/munki/munki/wiki/Building-Munki2-Pkgs (especially if you are using XCode 6.x.x)In Terminal:mkdir /Users/Shared/munkibuilds
git clone https://github.com/munki/munki
cd munki
git checkout -b config-profile-support origin/config-profile-support
./code/tools/make_munki_mpkg.sh
mkdir /Users/Shared/munkibuildscd /Users/Shared/munkibuilds
git clone https://github.com/munki/munkicd munkigit checkout -b config-profile-support origin/config-profile-support
cd code/client./munkiimport /path/to/some.mobileconfig./managedsoftwareupdate
With that said, makepkginfo nor munkiimport are correctly reading my .mobileconfigs' metadata.
Traceback (most recent call last):
File "/usr/local/munki/makepkginfo", line 1109, in <module>
main()
File "/usr/local/munki/makepkginfo", line 1105, in main
print FoundationPlist.writePlistToString(catinfo)
File "/usr/local/munki/munkilib/FoundationPlist.py", line 131, in writePlistToString
raise NSPropertyListSerializationException(error)
munkilib.FoundationPlist.NSPropertyListSerializationException: Property list invalid for format (property lists cannot contain objects of type 'CFNull')
Had another admin bring this situation up and would like some input on ideas to solve it:
End-users have Admin access on their machines.
We put Firefox ESR on their machines (named “Firefox.app”).
End-user might download and install the regular release version of Firefox on their machines.
We want to keep the non-ESR version up-to-date if they decide to do that BUT we don’t want to offer it up for install. Easy enough to have AutoPkg download both versions, but I’m pretty sure that the non-ESR version will overwrite all of the Firefox ESR as
the release typically has a higher version number.
I’m leaning toward renaming the ESR binary “Firefox-ESR.app” which would involve repackaging the DMG (reworking an AutoPkg recipe) and keeping the release version just “Firefox.app” – recalling from several years back how you could keep Firefox version 3 on
machines.
Other solutions/ideas?
Thanks!
M@
--
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.