diff options
author | irregulator <irregulator@riseup.net> | 2014-05-24 19:26:05 +0300 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2014-07-01 16:05:41 -0700 |
commit | db9290a2b1b406e8231c0df569ae47c0a74ec12a (patch) | |
tree | f1825d6109c29d45f7d64cd3e90cd3346f98790c /puppet/modules/obfsproxy/manifests/init.pp | |
parent | 58347eddee416410e3ad3c8c4edc2b0e40a3d26c (diff) |
Move log files to var/log instead of var/log/obfsproxy
Diffstat (limited to 'puppet/modules/obfsproxy/manifests/init.pp')
-rw-r--r-- | puppet/modules/obfsproxy/manifests/init.pp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/puppet/modules/obfsproxy/manifests/init.pp b/puppet/modules/obfsproxy/manifests/init.pp index 4a0221af..9750932f 100644 --- a/puppet/modules/obfsproxy/manifests/init.pp +++ b/puppet/modules/obfsproxy/manifests/init.pp @@ -48,11 +48,11 @@ class obfsproxy ( mode => '0700', } - file { '/var/log/obfsproxy': - ensure => directory, - owner => $user, - group => $user, - mode => '0750', + file { '/var/log/obfsproxy.log': + ensure => present, + owner => $user, + group => $user, + mode => '0640', } file { '/etc/logrotate.d/obfsproxy': @@ -61,7 +61,7 @@ class obfsproxy ( owner => 'root', group => 'root', mode => '0644', - require => File['/var/log/obfsproxy'], + require => File['/var/log/obfsproxy.log'], } package { 'obfsproxy': |