Skip to content

Commit

Permalink
#2932: notify webserver service when configuration changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff1evesque committed Mar 7, 2017
1 parent 3e4287f commit a8e0062
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
###
class webserver::service {
include compiler::initial_compile
include webserver::service

## variables
$hiera_general = lookup('general')
Expand Down Expand Up @@ -48,5 +49,6 @@
ensure => file,
content => dos2unix(template($template_path)),
require => Class['compiler::initial_compile'],
notify => Class['webserver::service'],
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
###
class webserver::service {
include compiler::initial_compile
include webserver::service

## variables
$hiera_general = lookup('general')
Expand Down Expand Up @@ -48,5 +49,6 @@
ensure => file,
content => dos2unix(template($template_path)),
require => Class['compiler::initial_compile'],
notify => Class['webserver::service'],
}
}

0 comments on commit a8e0062

Please sign in to comment.