Skip to content

watchmanmonitoring/payload-free-settings-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setting a Client Group with a pkg

Or, running any other script via the Resources/postinstallation

This sample payload-free package will set the Group on a computer, ideal for use before deploying your Monitoring Client package.

Designed for use with Stéphane Sudre's quite amazing Packages.app

Usage

  • Install Packages, if it isn't already

  • Fork or Check out this repository

  • Edit the postinstallation to contain the desired Group by placing the desired group name in between the quotes.

    /usr/bin/defaults write /Library/MonitoringClient/ClientSettings ClientGroup -string "ENTER_GROUP_NAME"

  • Add any other tasks you need run, each on their own line (following normal bash syntax)

Double Click on Packages iconcom.monitoringclient.clientgroup.pkgproj

Once Packages is open, choosing Build from the Build menu (or typing Command B) will create the package in the "Build" folder.

Questions? Open an issue or email [email protected]

About

A Payload Free Package to set the Client Group

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages