Minor fixes to meetbot module

Make sure nginx reloads when deleting the symlink to the default setup
Make sure packages are latest so we get the latest security fixes

Change-Id: I3dbc529ead62591288cfe455d5c8348c62544dfa
This commit is contained in:
Andrew Hutchings 2012-04-27 15:20:19 +01:00
parent 30edd0f27f
commit 0e6c471785

View File

@ -36,7 +36,7 @@ class meetbot {
}
package { ['supybot', 'nginx', 'python-twisted']:
ensure => present
ensure => latest
}
service { "nginx":
@ -59,7 +59,8 @@ class meetbot {
file { "/etc/nginx/sites-enabled/default":
ensure => absent,
require => Package['nginx']
require => Package['nginx'],
notify => Service['nginx']
}
}