From f6e601ee43e019e1693cc5868f7919c11a092ea8 Mon Sep 17 00:00:00 2001 From: Gary Larizza Date: Fri, 17 Jun 2011 17:54:56 -0700 Subject: [PATCH] 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. --- manifests/init.pp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/manifests/init.pp b/manifests/init.pp index d40ea9c..41750bb 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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,