Created
June 26, 2014 18:23
-
-
Save palmertime/692e4ff9b3c83091019e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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