Skip to content

Commit

Permalink
Merge pull request bfraser#82 from andyroyle/subscribe-service-to-pac…
Browse files Browse the repository at this point in the history
…kage

refresh service when package changes
  • Loading branch information
bfraser committed Apr 30, 2016
2 parents 52da3bf + 2f380b4 commit 9a343f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions manifests/service.pp
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@
}
'package','repo': {
service { $::grafana::service_name:
ensure => running,
enable => true
ensure => running,
enable => true,
subscribe => Package[$::grafana::package_name]
}
}
'archive': {
Expand Down

0 comments on commit 9a343f9

Please sign in to comment.