--
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.
There doesn't appear to be a ManagedInstalls.plist file in that directory.
I just configured another machine just like it and it worked fine. I would love to know what's wrong with this one because reimaging the machine (currently a reasonable option) will not always be an option. For times sake, however, i may go ahead and nuke it.
I currently manage that file using Puppet and CFPropertyList. It's worked very well so far.
I currently manage that file using Puppet and CFPropertyList. It's worked very well so far.
It seems to work on all other Mavericks systems. I was using a Puppet provider that that used the Defaults command, but it didn't play nice with Arrays, which I need for the AdditionalHttpHeaders value. That's when I moved to CFPropertyList. I'll experiment some more and see. I may end up having to switch providers again.
--
Managed Software Update Tool
Copyright 2010-2014 The Munki Project
http://code.google.com/p/munki
Starting...
Checking for available updates...
Getting manifest client_manifest...
Retrieving list of software for this machine...
Download error: http://munkiserver1.orchard.fruit.com/munki_repo/manifests/stable. Failed (22) with: The requested URL returned error: 401
Headers: {'http_result_code': '401', 'http_result_description': ''}
ERROR: Could not retrieve manifest client_manifest from the server: Error 22: The requested URL returned error: 401
ERROR: Could not retrieve managed install primary manifest.
Checking Apple Software Update catalog...
Caching CatalogURL http://10.2.33.127:8088/index.sucatalog
WARNING: Web server did not return an etag. Munki cannot safely resume downloads without etag support on the web server. URL: http://10.2.33.127:8088/index.sucatalog
Skipping Apple Software Update check because sucatalog is unchanged, installed Apple packages are unchanged and we recently did a full check.
ERROR: Could not read plist: /Library/Managed Installs/manifests/client_manifest.plist
ERROR: plist does not exist.
The following Apple Software Updates are available to install:
+ iTunes-11.1.3
+ Java for OS X 2013-005-1.0
+ OS X Update Combined-10.8.5
*Restart required
+ iTunes-11.1.4
+ iTunes-11.1.5
I ended up reimaging the Mavericks machine that was not working. It worked fine after that. Today I have another machine doing the same thing, except it's running Mountain Lion. Same messages as above and same settings, except for the serial number. I tried manually removing Munki and reinstalling Munki. After the reinstall, I used the defaults command to create the ManagedInstalls.plist file and I still get the same error. Are there any other files that I should check? Where is it getting that URL?
I looked in all three places. The only place a ManagedInstalls.plist file exists is in /Library/Preferences/. If I look at the plist file, nowhere in there does it have http://munkiserver1.orchard.fruit.com/munki_repo/manifests/stable. that URL doesn't even exist. There is no manifest called "stable". It should be pulling the manifest that is named "QP838122ZE7" because that's what I'm telling it to do in the plist file. See below.
HQ1088352:~ admin$ defaults read /Library/Preferences/ManagedInstalls
{
AdditionalHttpHeaders = (
"Authorization: Basic XXXXXXXXXXXXXXXXXXXX"
);
AppleSoftwareUpdatesOnly = 0;
ClientIdentifier = QP838122ZE7;
DaysBetweenNotifications = 1;
InstallAppleSoftwareUpdates = 1;
InstalledApplePackagesChecksum = 65ed7f2b2afaef516bddfaed7343ef6e34509caa63aa5a8620dc2b34d480f96b;
LastAppleSoftwareUpdateCheck = "2014-04-09 14:17:35 +0000";
LastCheckDate = "2014-04-09 14:17:11 +0000";
LastCheckResult = 0;
LastNotifiedDate = "2014-04-08 22:57:15 +0000";
munkiserver1:updates admin$ ls -l /Users/Shared/munki_repo/manifests/
total 224
-rwxrwxrwx 1 _www _www 779 Mar 4 16:04 Adobe_CS5.5_DP
-rwxrwxrwx 1 _www _www 779 Mar 4 16:07 Adobe_CS5.5_DS
-rwxrwxrwx 1 _www _www 779 Mar 4 16:07 Adobe_CS5.5_WP
-rwxrwxrwx 1 _www _www 779 Mar 4 16:07 Adobe_CS5_DS
-rwxrwxrwx 1 _www _www 779 Mar 4 16:08 Adobe_CS6_DS
-rwxrwxrwx 1 _www _www 779 Mar 4 16:06 Adobe_CS6_PP
-rw-r--r-- 1 _www _www 779 Mar 7 14:53 Adobe_RemoveAll
-rw-r--r-- 1 _www _www 574 Apr 4 16:08 C07K70WRDY3H
-rw-r--r-- 1 _www _www 883 Mar 20 14:19 OS_X_10.9
-rw-r--r-- 1 _www _www 574 Mar 20 20:42 QP0221DN5PE
-rw-r--r-- 1 _www _www 574 Apr 4 16:57 QP83810SZE7
-rw-r--r-- 1 _www _www 574 Apr 8 16:46 QP838122ZE7
-rw-r--r-- 1 _www _www 574 Apr 8 15:55 QP8390M7ZE7
-rwxrwxrwx 1 _www _www 611 Mar 5 07:53 RM8332KA0P1
-rw-r--r-- 1 _www _www 578 Mar 21 08:47 VM9oxvzAkq5Y
-rwxrwxrwx 1 _www _www 611 Mar 10 09:07 VMWVk03uefwgOo7RuvgIlfnrg
-rw-r--r-- 1 _www _www 609 Mar 31 13:37 VMWVk1WmkKk9IJuqqCQ82NuYg
-rw-r--r-- 1 _www _www 610 Mar 31 16:31 VMWVk20GY5tdruuHshoSyVbvQ
-rwxr-xr-x 1 _www _www 609 Mar 27 11:52 VMWVk3Gjn9lKicnKNtHQkYuYw
-rw-r--r-- 1 _www _www 578 Mar 31 13:09 VMjHbK0SMqGT
-rw-r--r-- 1 _www _www 610 Apr 4 08:18 VMwoqWG7K9Fm
-rw-r--r-- 1 _www _www 574 Mar 31 16:40 W805210DAGY
-rw-r--r-- 1 _www _www 574 Apr 8 15:23 W8942FAQ5PE
-rw-r--r-- 1 _www _www 908 Mar 10 08:54 flip4mac_install
-rwxrwxrwx 1 _www _www 1226 Apr 8 15:23 fotl_common
-rw-r--r-- 1 _www _www 693 Mar 10 09:29 java7_install
-rwxrwxrwx 1 _www _www 513 Feb 16 15:57 munki_server
-rwxrwxrwx 1 _www _www 1033 Feb 28 13:20 symantec_install
Hold on. I just found a "ManagedInstalls.A4AA33A9-D74B-5D38-97C6-9679D2E4DB14.plist" file in /var/root/Library/Preferences/ByHost/. And yes, it was indeed related to a Simian test i ran last year. I just happened to think to look in the ByHost directory. I deleted that file and all works as expected now. Thanks all!
Hold on. I just found a "ManagedInstalls.A4AA33A9-D74B-5D38-97C6-9679D2E4DB14.plist" file in /var/root/Library/Preferences/ByHost/. And yes, it was indeed related to a Simian test i ran last year. I just happened to think to look in the ByHost directory. I deleted that file and all works as expected now. Thanks all!
Should the various ByHost(s) should be added to this list as a fourth possible place? What priority would it have in regards to the other three?