Create dirs

This commit is contained in:
Micke Nordin 2025-03-25 19:01:44 +01:00
parent 87b6ea8ddb
commit 249fe90c54
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -41,7 +41,10 @@ class sunetdrive::multinode_db(){
group => 'root',
mode => '0600',
}
file { '/root/tasks/listusersbydep.sh':
file { '/root/tasks/':
ensure => directory,
}
-> file { '/root/tasks/listusersbydep.sh':
ensure => file,
content => template('sunetdrive/mariadb/listusersdep.sh.erb'),
owner => 'root',
@ -55,7 +58,10 @@ class sunetdrive::multinode_db(){
group => 'root',
mode => '0700',
}
file {'/opt/mariadb/statistics/custdata.json':
file {'/opt/mariadb/statistics/':
ensure => directory,
}
-> file {'/opt/mariadb/statistics/custdata.json':
ensure => file,
content => template('sunetdrive/mariadb/custconfig.json.erb'),
owner => 'root',