Manage the Puppet Dashboard User and Group

These are not created in Debian, so I need to manage them.
I used the UID and GID from the yum package, but they're
already used in Debian - so these numbers are temporary.
This commit is contained in:
Gary Larizza 2011-06-17 17:54:56 -07:00
parent c9be070264
commit f6e601ee43

View File

@ -128,6 +128,20 @@ class dashboard (
charset => $dashboard_charset,
}
# The UID and GID are taken from the puppet-dashboard package,
# BUT they conflict on debian squeeze...so I added a zero.
user { 'puppet-dashboard':
uid => '1001',
comment => 'Puppet Dashboard',
gid => '102',
ensure => 'present',
shell => '/sbin/nologin',
}
group { 'puppet-dashboard':
gid => '1002',
ensure => 'present',
}
file { '/etc/default/puppet-dashboard':
ensure => present,