Comments (4)
From [email protected] on March 03, 2010 10:04:30
Two problems here:
-
makepkginfo probably shouldn't cause anything to be written to /Library/Preferences. What's happening is
that it's not seeing the file, falling back to default values for everything, and then writing out a file with those
default values. The original intent was to make it easier for new munki admins, so they wouldn't have to create
a preference file from scratch, but could instead edit an existing one. -
The example /Library/Preferences/ManagedInstalls.plist should be updated and the documentation should
be as well; the values that appear in the /Library/Preferences/ManagedInstalls.plist in the submitted scenario
are the current munki defaults.
from munki.
From [email protected] on March 03, 2010 10:54:28
Re: #1) I agree that makepkginfo shouldn't write anything to /Library/Preferences.
Using the defaults would make sense if it can't find ManagedInstalls.plist.
Re: #2) I only noticed that something was off by going through the Bootstrapping
section of the GettingStartedWithMunki page in the wiki. There, it says to "Change the
ManifestURL" which wasn't in the version written out by makepakginfo. Is that setting required anymore?
from munki.
From [email protected] on March 03, 2010 10:58:33
I've updated the example ManagedInstalls.plist and the associated READ ME. Let me know if that clears things up
a bit.
Still considering what to do about writing out the default defaults - it's certainly not needed for munki to
function, and definitely shouldn't happen when running makepkginfo, but might be helpful for new munki
admins once they get to the point of running managedsoftwareupdate so they can SEE the defaults if they haven't
put a site-specific ManagedInstalls.plist in place.
Status: Started
from munki.
From [email protected] on March 03, 2010 12:17:19
made some changes to munkicommon.py. Previously, just importing munkicommon would call
munkicommon.prefs(), which had the side effect of writing out the prefs file if it did not previously exist. That's
now been changed; one must call a function within munkicommon that actually needs access to the prefs to call
munkicommon.prefs() now. Since makepkginfo does not call any functions within munkicommon that need
access to the prefs, makepkginfo no longer writes a new /Library/Preferences/ManagedInstalls.plist if one did
not previously exist.
Status: Fixed
from munki.
Related Issues (20)
- installcheck_script fails to run HOT 1
- Feature request - manual update should install what it can HOT 7
- Feature request - offer to quit and relaunch apps when updating HOT 1
- Beta 6.0b1: MSC progress bar present but no active progress during OS .app copy HOT 3
- Set `uninstallable` to True when using the `--uninstall_method` flag with the `--nopkg` flag HOT 2
- Loginwindow and staged_os_installer loop HOT 6
- Client Cert authentication fails in macOS Ventura with munki.keychain HOT 1
- Minor Upgrade from 12.6.0 to 12.6.1 possible with Munki 6? HOT 1
- startosinstall fails to run if SharedSupport.dmg cannot be mounted HOT 6
- munkiimport 6.1.0 beta 1 returns no version number for standard packages HOT 1
- Munki distributed using Intune HOT 1
- Munki manifest pointing to download on CDN? HOT 1
- 6.3 beta crashes on macOS Mojave HOT 6
- Autoremove packages are removed unnecessarily before update HOT 8
- Feature Request: New Built-In Conditional Items based on Contents of ApplicationsInventory.plist HOT 2
- DeprecationWarning in repoclean with Munki 6.3.1 HOT 5
- distutils.version deprecated in Python 3.10 HOT 1
- PyObjC - possibly needs updating to 9.1.1? HOT 3
- munkiimport and makepkginfo crash with distribution-style packages containing a payload-free package HOT 1
- New Optional Key: Pre-warm .apps on macOS Sonoma HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from munki.