From e4ccdde1693aed15db418c13e46675c49cb3bee8 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Thu, 12 Sep 2024 17:27:16 +0200 Subject: [PATCH] Create parent dir --- manifests/script.pp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/manifests/script.pp b/manifests/script.pp index d940ea1..3d1ace0 100644 --- a/manifests/script.pp +++ b/manifests/script.pp @@ -108,6 +108,10 @@ class sunetdrive::script ( unless => "python3 -m pip list | grep drive-utils | grep ${drive_version}", require => Package['python3'], } + file { '/opt/backups': + ensure => directory, + mode => '0700' + } file { '/opt/backups/scripts': ensure => directory, mode => '0700'