Skip to content

Commit

Permalink
Create odl group during tarball installs
Browse files Browse the repository at this point in the history
* Relevant to #51

Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
  • Loading branch information
dfarrell07 committed Feb 27, 2015
1 parent bfd88fc commit e16565f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,15 @@
membership => 'minimum',
groups => 'odl',
# The odl user's home dir should exist before it's created
require => Archive['opendaylight-0.2.2'],
# The odl group, to which the odl user will below, should exist
require => [Archive['opendaylight-0.2.2'], Group['odl']],
}

# Create and configure the `odl` group
group { 'odl':
ensure => present,
# The `odl` user will be a member of this group, create it first
before => User['odl'],
}

# Download and extract the ODL tarball
Expand Down

0 comments on commit e16565f

Please sign in to comment.