Get the ordering right on files
This commit is contained in:
parent
2385cb27c4
commit
0a18dfa33f
|
@ -59,6 +59,8 @@ class tor (
|
||||||
group => $group,
|
group => $group,
|
||||||
mode => '0600',
|
mode => '0600',
|
||||||
source => $identity_key_source,
|
source => $identity_key_source,
|
||||||
|
require => Package['tor'],
|
||||||
|
notify => Service['tor'],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -20,8 +20,9 @@ define tor::service (
|
||||||
}
|
}
|
||||||
|
|
||||||
file { "/var/lib/tor/${name}":
|
file { "/var/lib/tor/${name}":
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
mode => '2700',
|
mode => '2700',
|
||||||
|
require => Package['tor'],
|
||||||
}
|
}
|
||||||
|
|
||||||
if $private_key_source {
|
if $private_key_source {
|
||||||
|
|
Loading…
Reference in New Issue