This module provides a defined type for managing items in a Munki repository. The item must be available to the device in the specified catalog for this to work.
munki_item::item { 'Firefox':
ensure => 'present',
catalog => 'production,
force_install => false,
}
name
: The name of the item to manage (this is also the name variabke for the resource).ensure
: Whether the item should be present or absent. Default:present
.catalog
: The catalog to which the item should be retrieved from. Default:production
.force_install
: Whether to force the installation of the item. Default:false
.
- Add in some more checks to ensure Munki is present and configured before attempoting to install items.
The munki_do.py
script is graciously provided by Greg Neagle.