Skip to content

Commit

Permalink
More updates from upstream.
Browse files Browse the repository at this point in the history
  • Loading branch information
justinellison authored and R. Tyler Croy committed Feb 1, 2012
1 parent e435e17 commit 8af0c28
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
4 changes: 4 additions & 0 deletions manifests/repo.pp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
before => Anchor['jenkins::repo::omega'],
}
}
opensuse: {
# XXX: Need to figure out how to set up the zypper repo for openSUSE
}

default: {
class { 'jenkins::repo::debian':
require => Anchor['jenkins::repo::alpha'],
Expand Down
16 changes: 5 additions & 11 deletions manifests/service.pp
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
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,
}
}

0 comments on commit 8af0c28

Please sign in to comment.