Skip to content

Commit c2d02ff

Browse files
author
Ashley Penney
committed
Make sure we notify the service.
1 parent 5959715 commit c2d02ff

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

manifests/server/install.pp

+6
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@
1818
path => '/bin:/sbin:/usr/bin:/usr/sbin',
1919
require => Package['mysql-server'],
2020
}
21+
22+
if $mysql::server::restart {
23+
Exec['mysql_install_db'] {
24+
notify => Class['mysql::service'],
25+
}
26+
}
2127
}
2228

2329
}

0 commit comments

Comments
 (0)