Skip to content

Commit

Permalink
Enable the jenkins service resource across the board
Browse files Browse the repository at this point in the history
  • Loading branch information
R. Tyler Croy committed Jan 16, 2012
1 parent f11aa86 commit 7f6c15a
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,11 @@
}

class jenkins::service {
case $::operatingsystem {
centos, redhat, oel: {
service { 'jenkins':
ensure => running,
enable => true,
hasstatus => true,
hasrestart => true,
}
}
# Stay as a no-op to preserve previous behavior
default: { }
service { 'jenkins':
ensure => running,
enable => true,
hasstatus => true,
hasrestart => true,
}
}

Expand Down

0 comments on commit 7f6c15a

Please sign in to comment.