Puppet Class: ghost::setup
- Defined in:
- manifests/setup.pp
Summary
This class includes nodejs if not already defined, and creates the ghost user and group. Private class.Overview
ghost::setup
Copyright 2014 Andrew Schwartzmeyer
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'manifests/setup.pp', line 7
class ghost::setup {
assert_private()
if $ghost::include_nodejs {
include nodejs
}
group { $ghost::group:
ensure => present,
}
user { $ghost::user:
ensure => present,
gid => $ghost::group,
home => $ghost::home,
managehome => true,
require => Group[$ghost::group],
}
}
|