-
Notifications
You must be signed in to change notification settings - Fork 138
Machine Groups
Machine Groups can be used to group machines together. Machines have to register themselves into the available machine groups. To do this, all machines have to have a key that corresponds to the machinegroup they belong to.
To create a Machine Group, open the Munkireport webinterface and click on 'Admin->Manage Business Units'. If you don't have Business Units enabled, you'll see a panel with the title 'Unassigned Groups'. Click on the + sign to add a new group. Give the group a name and type a Machine Key or click on 'generate' to generate a random GUID-style key.
If you are using passphrases, make sure to add the new Machine Group key to your allowed Passphrases in your server configuration, for example in the .ENV file you should append the new Machine Group Guid-style key in the CLIENT_PASSPHRASES variable, separated via a comma.
CLIENT_PASSPHRASES="ExAAYzmg.Ghanfkghnmq,NEW_MACHINE_KEYHERE"
To deploy the group key, you'll have to add it to the machines running munkireport. On the client, the group key is stored in the 'Passphrase' property in the MunkiReport preferences file. To manually set this key, you can type the following command:
sudo defaults write /Library/Preferences/MunkiReport Passphrase 'FE0E7F5F-5396-CCE5-3821-52055981CC94'
For new machines, you could add this to a first-boot script/package. Depending on your setup, you could set this value with munki (anyone can retrieve this value from your munki repo which might not be desirable).
- General Upgrade Procedures
- How to Upgrade Versions
- Troubleshooting Upgrades
- Migrating sqlite to MySQL