summaryrefslogtreecommitdiff
path: root/puppet/modules/obfsproxy/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/obfsproxy/manifests')
-rw-r--r--puppet/modules/obfsproxy/manifests/init.pp6
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'] ]
}