Skip to content

Commit ee61bf5

Browse files
committed
fix for mounted disk
1 parent 692dd6d commit ee61bf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/server/config.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
if ( $dir and $dir != '/usr' and $dir != '/tmp' ) {
4343
exec {"${entry}-managed_dir-mkdir":
4444
command => "/bin/mkdir -p ${dir}",
45-
creates => $dir,
45+
unless => "/usr/bin/dpkg -s ${mysql::server::package_name}",
4646
notify => Exec["${entry}-managed_dir-chmod"],
4747
}
4848
exec {"${entry}-managed_dir-chmod":

0 commit comments

Comments
 (0)