diff options
-rw-r--r-- | modules/tozt/manifests/git.pp | 2 | ||||
-rw-r--r-- | modules/tozt/manifests/persistent.pp | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/modules/tozt/manifests/git.pp b/modules/tozt/manifests/git.pp index ce6de9a..ab56f30 100644 --- a/modules/tozt/manifests/git.pp +++ b/modules/tozt/manifests/git.pp @@ -13,6 +13,7 @@ class tozt::git { owner => 'doy', group => 'doy', require => [ + File['/media/persistent/git'], Class['tozt::persistent'], User['doy'], Group['doy'], @@ -32,6 +33,7 @@ class tozt::git { owner => 'doy', group => 'doy', require => [ + File['/media/persistent/releases'], Class['tozt::persistent'], User['doy'], Group['doy'], diff --git a/modules/tozt/manifests/persistent.pp b/modules/tozt/manifests/persistent.pp index 431577b..8383fb9 100644 --- a/modules/tozt/manifests/persistent.pp +++ b/modules/tozt/manifests/persistent.pp @@ -30,6 +30,7 @@ class tozt::persistent { "/media/persistent/public_html", "/media/persistent/paste", "/media/persistent/git", + "/media/persistent/releases", "/media/persistent/certbot", ]: ensure => directory, |