Skip to content

Instantly share code, notes, and snippets.

@palmertime
Created June 26, 2014 18:23
Show Gist options
  • Save palmertime/692e4ff9b3c83091019e to your computer and use it in GitHub Desktop.
Save palmertime/692e4ff9b3c83091019e to your computer and use it in GitHub Desktop.
# Class: groupadm
#
# This module manages local groups
#
# Parameters: none
#
# Actions:
#
# Requires: see Modulefile
#
# Sample Usage:
#
class groupadm {
$groups = hiera_hash('groups', false)
if $groups != false {
$defaults = {
ensure => 'present',
}
create_resources(group, $groups, $defaults)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment