Vagrant: Add missing notify.

This commit is contained in:
Gunnar Beutner 2013-10-15 09:46:50 +02:00
parent 64a0e9d3fc
commit 152e33ea89
2 changed files with 4 additions and 2 deletions

View File

@ -36,6 +36,7 @@ class icinga-classicui {
command => 'i2enfeature statusdat; \ command => 'i2enfeature statusdat; \
i2enfeature compat-log; \ i2enfeature compat-log; \
i2enfeature command;', i2enfeature command;',
require => [ Package['icinga2'] ] require => [ Package['icinga2'] ],
notify => Service['icinga2']
} }
} }

View File

@ -44,7 +44,8 @@ class icinga2-ido-mysql {
exec { 'enable-icinga2-ido-mysql': exec { 'enable-icinga2-ido-mysql':
path => '/bin:/usr/bin:/sbin:/usr/sbin', path => '/bin:/usr/bin:/sbin:/usr/sbin',
command => 'i2enfeature ido-mysql;', command => 'i2enfeature ido-mysql;',
require => [ Package['icinga2'], Exec['populate-icinga2-ido-mysql-db'] ] require => [ Package['icinga2'], Exec['populate-icinga2-ido-mysql-db'] ],
notify => Service['icinga2']
} }
exec { 'create-mysql-icinga2-ido-db': exec { 'create-mysql-icinga2-ido-db':