diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-04-18 22:26:05 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-04-18 22:26:05 -0300 |
commit | f56a786e8ff345a2f1679339b2a2c51294975582 (patch) | |
tree | 8ccd76ec6a0ded79a3d4c070f4f8aa249ed1937e | |
parent | 300ebd93592b704cecc0f1172e3a9f9947049491 (diff) | |
download | puppet-tor-f56a786e8ff345a2f1679339b2a2c51294975582.tar.gz puppet-tor-f56a786e8ff345a2f1679339b2a2c51294975582.tar.bz2 |
Managing /etc/polipo folder
-rw-r--r-- | manifests/init.pp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index f505ece..6471d19 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -13,6 +13,13 @@ class tor { require => Package["polipo"], } + file { "/etc/polipo": + ensure => directory, + owner => root, + group => root, + mode => 0755, + } + file { "/etc/polipo/config": ensure => present, owner => root, @@ -20,5 +27,6 @@ class tor { mode => 0644, source => "puppet://$server/modules/tor/polipo.conf", notify => Service["polipo"], + require => File["/etc/polipo"], } } |