Create parent dir

This commit is contained in:
Micke Nordin 2024-09-12 17:27:16 +02:00
parent 6827c0af7c
commit e4ccdde169

View file

@ -108,6 +108,10 @@ class sunetdrive::script (
unless => "python3 -m pip list | grep drive-utils | grep ${drive_version}", unless => "python3 -m pip list | grep drive-utils | grep ${drive_version}",
require => Package['python3'], require => Package['python3'],
} }
file { '/opt/backups':
ensure => directory,
mode => '0700'
}
file { '/opt/backups/scripts': file { '/opt/backups/scripts':
ensure => directory, ensure => directory,
mode => '0700' mode => '0700'