aboutsummaryrefslogtreecommitdiff
path: root/manifests/daemon.pp
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2012-01-11 02:00:47 -0200
committerdrebs <drebs@riseup.net>2012-01-11 02:00:47 -0200
commit4376a00ba3203b8426eff9b3ca14b13f5a437401 (patch)
treea126df8e59d8d3761e0d81bd839c54ea51003e0c /manifests/daemon.pp
parent06d33355bcdc57e53ebcfecad3dae5d6249422d7 (diff)
downloadpuppet-tor-4376a00ba3203b8426eff9b3ca14b13f5a437401.tar.gz
puppet-tor-4376a00ba3203b8426eff9b3ca14b13f5a437401.tar.bz2
fixing file modes
Diffstat (limited to 'manifests/daemon.pp')
-rw-r--r--manifests/daemon.pp20
1 files changed, 10 insertions, 10 deletions
diff --git a/manifests/daemon.pp b/manifests/daemon.pp
index a3d7387..3683dd2 100644
--- a/manifests/daemon.pp
+++ b/manifests/daemon.pp
@@ -55,7 +55,7 @@ class tor::daemon inherits tor {
header => "${spool_dir}/00.header",
mode => 0600,
notify => Service['tor'],
- owner => 'debian-tor', group => 'debian-tor', mode => 0755,
+ owner => 'debian-tor', group => 'debian-tor',
}
# config file headers
@@ -64,7 +64,7 @@ class tor::daemon inherits tor {
require => File["${spool_dir}"],
notify => Exec["concat_${config_file}"],
ensure => present,
- owner => 'debian-tor', group => 'debian-tor', mode => 0755,
+ owner => 'debian-tor', group => 'debian-tor', mode => 0644,
}
# global configurations
@@ -75,7 +75,7 @@ class tor::daemon inherits tor {
require => File["${spool_dir}"],
notify => Exec["concat_${config_file}"],
ensure => $ensure,
- owner => 'debian-tor', group => 'debian-tor', mode => 0755,
+ owner => 'debian-tor', group => 'debian-tor', mode => 0644,
}
}
@@ -88,7 +88,7 @@ class tor::daemon inherits tor {
require => File["${spool_dir}"],
notify => Exec["concat_${config_file}"],
ensure => $ensure,
- owner => 'debian-tor', group => 'debian-tor', mode => 0755,
+ owner => 'debian-tor', group => 'debian-tor', mode => 0644,
}
}
@@ -111,7 +111,7 @@ class tor::daemon inherits tor {
require => File["${spool_dir}"],
notify => Exec["concat_${config_file}"],
ensure => $ensure,
- owner => 'debian-tor', group => 'debian-tor', mode => 0755,
+ owner => 'debian-tor', group => 'debian-tor', mode => 0644,
}
}
@@ -124,7 +124,7 @@ class tor::daemon inherits tor {
require => File["${spool_dir}"],
notify => Exec["concat_${config_file}"],
ensure => $ensure,
- owner => 'debian-tor', group => 'debian-tor', mode => 0755,
+ owner => 'debian-tor', group => 'debian-tor', mode => 0600,
}
}
@@ -136,7 +136,7 @@ class tor::daemon inherits tor {
require => File["${spool_dir}"],
notify => Exec["concat_${config_file}"],
ensure => $ensure,
- owner => 'debian-tor', group => 'debian-tor', mode => 0755,
+ owner => 'debian-tor', group => 'debian-tor', mode => 0644,
}
}
@@ -150,13 +150,13 @@ class tor::daemon inherits tor {
require => [ File["${spool_dir}"], File['/etc/tor/tor-exit-notice.html'] ],
notify => Exec["concat_${config_file}"],
ensure => $ensure,
- owner => 'debian-tor', group => 'debian-tor', mode => 0755,
+ owner => 'debian-tor', group => 'debian-tor', mode => 0644,
}
file { '/etc/tor/tor-exit-notice.html':
source => "puppet://$server/modules/tor/tor-exit-notice",
require => File['/etc/tor'],
ensure => $ensure,
- owner => 'debian-tor', group => 'debian-tor', mode => 0755,
+ owner => 'debian-tor', group => 'debian-tor', mode => 0644,
}
}
@@ -169,7 +169,7 @@ class tor::daemon inherits tor {
require => File["${spool_dir}"],
notify => Exec["concat_${config_file}"],
ensure => $ensure,
- owner => 'debian-tor', group => 'debian-tor', mode => 0755,
+ owner => 'debian-tor', group => 'debian-tor', mode => 0644,
}
}
}