Skip to content

aysiu/munki-facts-conditions

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 

Repository files navigation

Community Facts for munki-facts Use

Shard

  • Sets a shard value for the hardware based on downloaded Munki catalogs and the hardware serial number.
  • If /Library/Managed Installs/catalogs/development exists when this is run, the shard value will always be set to 0.
  • If /Library/Managed Installs/catalogs/testing exists when this is run, the shard value will be between 1 and 10.
  • If /Library/Managed Installs/catalogs/execs exists when this is run, the shard value will always be 99.
  • If none of those catalogs exists, the shard will be something between 11 and 98, inclusive.

Catalog names and thresholds can be adjusted via dictionary/variable.

About

Fact creating scripts for use in munki-facts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%