Skip to content

Commit

Permalink
Updated puppet user/group initialization script.
Browse files Browse the repository at this point in the history
The script now uses ralsh from 0.25.5 which is included in
the puppetlabs-bootstrap project as a suite.

Signed-off-by: Jeff McCune <jeff@puppetlabs.com>
  • Loading branch information
Jeff McCune committed Aug 9, 2010
1 parent ce10eb6 commit 74a7b08
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions bin/pb_init_30_puppetusergroup
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,14 @@
#
set -e
set -u
envpuppet puppet resource group puppet gid=190 ensure=present
envpuppet puppet resource user puppet home=/var/lib/puppet \
uid=190 gid=190 ensure=present

runsuite ralsh group puppet gid=190 ensure=present
runsuite ralsh user puppet home=/var/lib/puppet \
uid=190 gid=190 ensure=present

# JJM This syntax uses puppet 2.6 features and is not contained
# in the puppetlabs-bootstrap repository yet.
# envpuppet puppet resource group puppet gid=190 ensure=present
# envpuppet puppet resource user puppet home=/var/lib/puppet \
# uid=190 gid=190 ensure=present

0 comments on commit 74a7b08

Please sign in to comment.