Skip to content

nmcspadden/ManifestCreator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

manifestcreator

A tool that allows Munki administrators to quickly create manifests based on a CSV containing serial numbers.

  1. Create a template manifest.

    This manifest should contain all the keys that will be shared by the new serial number manifests you create. For example, you may want to include appropriate values for the catalogs and included_manifests keys.

  2. Create a CSV file with serial numbers.

    The CSV file should contain a header row. The first (and possibly only) field in the header row should be serial. For example:

    serial
    ABCDEF10001
    ABCDEF10002
    ABCDEF10003
    

    The header row can contain additional comma-seperated fields, which will be used to create additional keys in the resulting manifests. For example:

    serial,display_name,user
    ABCDEF10001,"Loaner MacBook Pro",itservices
    ABCDEF10002,"Nick's iMac",nick
    ABCDEF10003,"Elliot's Mac Mini",elliot
    
  3. Run manifestcreator:

    ./manifestcreator.py --repo /path/to/munki_repo /path/to/serials.csv
    

    ⚠️ manifestcreator will overwrite existing manifests with the same name as the newly created manifests if you do not pass the "--nooverwrite" option.

  4. Check your manifests folder to verify that the new manifests have been created successfully.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages