diff options
author | irregulator <irregulator@riseup.net> | 2014-05-24 18:08:31 +0300 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2014-07-01 16:05:41 -0700 |
commit | 58347eddee416410e3ad3c8c4edc2b0e40a3d26c (patch) | |
tree | c0ab282b13884fdaf7a5f6bc60f0d63e799c0707 /puppet/modules/obfsproxy | |
parent | 4ad025d9d7b0c1999bf34e0acd3ca12c88358d05 (diff) |
Subscribe obfsproxy service resource to conf file
Diffstat (limited to 'puppet/modules/obfsproxy')
-rw-r--r-- | puppet/modules/obfsproxy/manifests/init.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/puppet/modules/obfsproxy/manifests/init.pp b/puppet/modules/obfsproxy/manifests/init.pp index b45a60a1..4a0221af 100644 --- a/puppet/modules/obfsproxy/manifests/init.pp +++ b/puppet/modules/obfsproxy/manifests/init.pp @@ -39,7 +39,6 @@ class obfsproxy ( group => 'root', mode => '0600', content => template('obfsproxy/etc_conf.erb'), - require => File['/etc/obfsproxy'], } file { '/etc/obfsproxy': @@ -70,8 +69,9 @@ class obfsproxy ( } service { 'obfsproxy': - ensure => running, - require => [ + ensure => running, + subscribe => File[$conf], + require => [ Package['obfsproxy'], File['/etc/init.d/obfsproxy'] ] } |