| Index: modules/filterserver/manifests/init.pp |
| =================================================================== |
| --- a/modules/filterserver/manifests/init.pp |
| +++ b/modules/filterserver/manifests/init.pp |
| @@ -67,45 +67,45 @@ class filterserver { |
| file {'/var/www/subscriptionStats.ini': |
| ensure => present, |
| owner => rsync |
| } |
| file {'/etc/nginx/sites-available/inc.easylist-downloads': |
| ensure => file, |
| - require => Anchor['nginx::end'], |
| + notify => Service['nginx'], |
|
Andrey Novikov
2013/02/06 10:03:54
The point was to hide implementation from other mo
Wladimir Palant
2013/02/06 10:42:31
~> is just an alternative syntax for "notify => ",
|
| before => Nginx::Hostconfig['easylist-downloads.adblockplus.org'], |
| source => 'puppet:///modules/filterserver/inc.easylist-downloads' |
| } |
| file {'/etc/nginx/sites-available/inc.easylist-downloads-txt': |
| ensure => file, |
| - require => Anchor['nginx::end'], |
| + notify => Service['nginx'], |
| before => Nginx::Hostconfig['easylist-downloads.adblockplus.org'], |
| source => 'puppet:///modules/filterserver/inc.easylist-downloads-txt' |
| } |
| file {'/etc/nginx/sites-available/inc.easylist-downloads-tpl': |
| ensure => file, |
| - require => Anchor['nginx::end'], |
| + notify => Service['nginx'], |
| before => Nginx::Hostconfig['easylist-downloads.adblockplus.org'], |
| source => 'puppet:///modules/filterserver/inc.easylist-downloads-tpl' |
| } |
| file {'/etc/nginx/sites-available/easylist-downloads.adblockplus.org_sslcert.key': |
| ensure => file, |
| - require => Anchor['nginx::end'], |
| + notify => Service['nginx'], |
| before => Nginx::Hostconfig['easylist-downloads.adblockplus.org'], |
| source => 'puppet:///modules/private/easylist-downloads.adblockplus.org_sslcert.key' |
| } |
| file {'/etc/nginx/sites-available/easylist-downloads.adblockplus.org_sslcert.pem': |
| ensure => file, |
| - require => Anchor['nginx::end'], |
| + notify => Service['nginx'], |
| before => Nginx::Hostconfig['easylist-downloads.adblockplus.org'], |
| mode => 0400, |
| source => 'puppet:///modules/private/easylist-downloads.adblockplus.org_sslcert.pem' |
| } |
| nginx::hostconfig{'easylist-downloads.adblockplus.org': |
| source => 'puppet:///modules/filterserver/easylist-downloads.adblockplus.org', |
| enabled => true |