projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use ttyAMA0 based on hostname instead of arch
[mirror/dsa-puppet.git]
/
modules
/
varnish
/
manifests
/
init.pp
diff --git
a/modules/varnish/manifests/init.pp
b/modules/varnish/manifests/init.pp
index
d7da796
..
4d10c66
100644
(file)
--- a/
modules/varnish/manifests/init.pp
+++ b/
modules/varnish/manifests/init.pp
@@
-8,8
+8,11
@@
class varnish {
ensure => running,
}
ensure => running,
}
+ include apache2::dynamic
+
@ferm::rule { 'dsa-varnish':
domain => '(ip ip6)',
@ferm::rule { 'dsa-varnish':
domain => '(ip ip6)',
+ prio => '100',
description => 'Allow http access',
rule => '&SERVICE(tcp, 80)'
}
description => 'Allow http access',
rule => '&SERVICE(tcp, 80)'
}
@@
-27,5
+30,11
@@
class varnish {
notify => Service['varnish'],
mode => '0444',
}
notify => Service['varnish'],
mode => '0444',
}
+
+ file { '/etc/logrotate.d/varnish':
+ source => 'puppet:///modules/varnish/varnish.logrotate',
+ require => Package['varnish'],
+ mode => '0444',
+ }
}
}