Jump to content

Recommended Posts

Posted

I'm attempting to get Flash updates installed automatically to our Mac suite using Munki and having some issues.

I have MunkiAdmin installed on our Mac server with AutoPkgr installed. I am getting automatic Flash updates downloaded to the MunkiAdmin application through Autopkgr but cannot work out how to get the client macs to automatically install it.

I have installed Munki tools on each Mac which I someone online said to do.

Any advice?

Posted

The client computers need to be told where the server is. With Deploy Studio I have a script that runs during Post Imaging that loads the settings for that lab.

 

I have a copy of the "Munch Client Setup Script" you can download from here Downloads

 

But basically it looks like this:

#!/bin/sh

sudo defaults write /Library/Preferences/ManagedInstalls SoftwareRepoURL "http://SERVER_ADDRESS/munki_repo"
sudo defaults write /Library/Preferences/ManagedInstalls ClientIdentifier "Manifest_Name"
sudo echo "Setting munki to bootstrap mode..."
sudo touch /Users/Shared/.com.googlecode.munki.checkandinstallatstartup

 

Make sure the server has a Manifest that's named the same as the Manifest you have in the script. This tells the client computers to look to that Manifest. From here add Flash into that Manifest as a Managed Download and you should be good.

Posted

I take it you have the web server setup and working?

 

As you have already installed the Munki client you probably don't want to revisit your clients to configure them.

So the simplest way to do this create a DNS Cname entry for munki and point it at your web server. so Munki.domain.com = webserver.domain.com

Then create a new manifest called site_default and add your catalog to it, then assign flash player as a managed install.

Now when the client checks in with the server it will see the site_default manifest and install flash player

Posted

Carter,

I've run this and get a pop up on start up saying that is is checking for updates and the finishes. The Flash update is not installed and the managed update app also doesn't show up with anything.

On the Manifest properties do i need to set Flash Player as a Managed install or Managed Update? And also do I need set any conditions for it?

Thanks again.

Posted (edited)

You want to use "Installs or Managed Installs" depending on your version of Munki Admin. Also make sure you have Flash checked off in your catalogs as seen below on mine. One step that I miss once in a while when creating a new manifest is to add a catalog. Make sure you add your production catalog as seen in the image below to your manifest. Without this it won't do anything.

 

 

http://i.imgur.com/1NcmoyR.png

 

 

http://i.imgur.com/BMlq1Jo.png

 

 

 

http://i.imgur.com/sJXhuxd.png

Edited by Carter
Posted

I've looked at your screenshots and ours is set up the same. Flash was installed manually before we had munki. Is Munki only able to update what it has installed?

Also that command you sent me about telling the clients where the server is only has an effect if I run it before I restart, and doesn't happen automatically.

Here are some screenshots:

1.PNG2.PNG3.PNG

 

- - - Updated - - -

Posted

When I've had it not responding I've found that removing the "Server Website" "Redirects" fixes the issue. Also I see you have three versions of flash? You only need to keep the latest one so you can delete the others or at the least uncheck the rest and keep the latest checked off.

 

http://i.imgur.com/Tap2NzO.png

Posted

Thanks for your reply. Just tried this with the Server Websites and unchecked the other flash updates except the latest one with no luck.

Do I have to run the terminal command every time? I can only get it to automatically check for updates after that command has been run.

Posted
Unfortunately still having no luck. Flash is still showing an older version number. Managed software updates doesn't show any updates to do either when manually opened.
Posted

Sounds like the web server isn't configured properly if your receiving that message. Do you have a link to the guide you followed for server setup?

 

What is the output from a client of /usr/local/munki/managedsoftwareupdate -vvv

  • 2 months later...
  • 2 weeks later...
Posted

A slight development, from following the guide I get a 404 not found when navigating to http://localhost/repo/

However, if I navigate to the Mac server's domain name, I can see the Index of / page with the repository links.

Does anyone know which command I need to change to get the clients to communicate with the server?

Posted

If you do defaults read /Library/Preferences/ManagedInstalls at the Terminal you will see all the Munki settings.

 

You can the change any of those settings with sudo defaults write /Library/Preferences/SoftwareRepoURL "http://whatever.mydomain.somthing" (that would change the Munki Server URL for example)

Posted

Thanks for the reply. When I look at the settings it show that the SoftwareRepoURL = "http://munki/repo" Which doesn't seem to be correct?

When i try to change this path i get the message: "Rep argument is not a dictionary" No idea what that means, but it wont allow me to change any settings, even when using sudo before the command.

Posted
I've just ran this command on my Mac sudo defaults write /Library/Preferences/ManagedInstalls SoftwareRepoURL "http://munki" and it changed it to that setting for me.
Posted
If you open up the Console application and open up the log /Library/Preferences/Managed Installs/Logs/ManagedSoftwareUpdate.log it should tell you why its not working.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...