Skip to content

bdemetris/puppet-mac_stdlib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

puppet-client_stdlib

This module contains functions that are useful in the administration of client endpoints.

Functions

plist

This function accepts a hash and will convert it into a plist. This requires the CFPropertyList gem to be installed on your Puppet Server (sudo puppetserver gem install cfpropertylist).

Example

$plist = {
    'SomeKey' => 'Some Value',
    'Another Key' => 'Another Value'
}

file {'/tmp/a.plist':
    content => plist($plist, binary),
}

macos_package_installed

Returns true if the version specified, or a higher version is installed of the specified package ID.

Example

macos_package_installed('com.googlecode.munki.core', '1.0.0')

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 95.3%
  • Puppet 4.7%