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:
parent
c9be070264
commit
f6e601ee43
@ -128,6 +128,20 @@ class dashboard (
|
|||||||
charset => $dashboard_charset,
|
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':
|
file { '/etc/default/puppet-dashboard':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user