diff --git a/manifests/squid.pp b/manifests/squid.pp index 4f19923bbe08af97c6f535de9b52dde42a38649b..438bbdb193f9a9f431f46458d0ef76a3bed8eb8b 100644 --- a/manifests/squid.pp +++ b/manifests/squid.pp @@ -9,17 +9,17 @@ class squid_filter { mode => '0644', owner => root, group => root, - source => "puppet:///modules/${module_name}/squid/squid.conf", + content => file("${module_name}/squid/squid.conf"), } - file { '/etc/squid/squid.conf': + file { '/usr/libexec/squid/helpers': ensure => directory, purge => true, recurse => true, mode => '0644', owner => root, group => root, - source => "puppet:///modules/${module_name}/squid/helpers", + content => file("${module_name}/squid/helpers"), } file { '/var/cache/squid' : @@ -31,7 +31,7 @@ class squid_filter { file { '/var/lib/ssl_db' : ensure => directory, - mode => '0660', + mode => '0770', owner => squid, group => squid, } @@ -43,7 +43,8 @@ class squid_filter { } service { "squid" : - ensure=> "running", + ensure => "running", } } +