Skip to content

Commit

Permalink
Merge pull request #3 from portertech/init
Browse files Browse the repository at this point in the history
[init] sensu init scripts support restart
  • Loading branch information
portertech committed Aug 12, 2012
2 parents 7298fc5 + 307df28 commit 163765a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions manifests/client.pp
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@
}

service { 'sensu-client':
ensure => running,
enable => true,
require => [
ensure => running,
enable => true,
hasrestart => true,
require => [
Sensu_rabbitmq_config[$::fqdn],
Sensu_client_config[$::fqdn],
],
Expand Down
5 changes: 3 additions & 2 deletions manifests/server.pp
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@
}

Service {
ensure => running,
enable => true,
ensure => running,
enable => true,
hasrestart => true,
}

service {
Expand Down

0 comments on commit 163765a

Please sign in to comment.