Skip to content
Snippets Groups Projects
Commit 4dc14514 authored by Saga Norén Karlsson's avatar Saga Norén Karlsson
Browse files

Changing permissions for mysql directory again

parent 473be252
No related branches found
No related tags found
3 merge requests!67Test,!66Devel,!65Changing permissions for mysql directory again
Pipeline #131921 passed
This commit is part of merge request !67. Comments created here will be created in the context of that merge request.
......@@ -244,4 +244,13 @@ class aim_control (
backuprotate => '7',
time => ['1','0'],
}
# Ensure the MySQL directory is managed properly
file { '/var/lib/mysql':
ensure => 'directory',
owner => 'mysql',
group => 'mysql',
mode => '0755',
require => Class['mysql::server'], # Ensure MySQL is configured before setting permissions
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment