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:
parent
30edd0f27f
commit
0e6c471785
@ -36,7 +36,7 @@ class meetbot {
|
|||||||
}
|
}
|
||||||
|
|
||||||
package { ['supybot', 'nginx', 'python-twisted']:
|
package { ['supybot', 'nginx', 'python-twisted']:
|
||||||
ensure => present
|
ensure => latest
|
||||||
}
|
}
|
||||||
|
|
||||||
service { "nginx":
|
service { "nginx":
|
||||||
@ -59,7 +59,8 @@ class meetbot {
|
|||||||
|
|
||||||
file { "/etc/nginx/sites-enabled/default":
|
file { "/etc/nginx/sites-enabled/default":
|
||||||
ensure => absent,
|
ensure => absent,
|
||||||
require => Package['nginx']
|
require => Package['nginx'],
|
||||||
|
notify => Service['nginx']
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user