summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-10-22 13:31:55 -0400
committerJesse Luehrs <doy@tozt.net>2019-10-22 13:31:55 -0400
commita9887c5f2d09a19a9bc611fcd9eba5980a8cd463 (patch)
tree1c4993e4647b76fbc48cc7377a4050487ee9a3f2 /modules
parent5185d280b7d058f6d0064a5c4d62170ddc55d0d9 (diff)
downloadpuppet-tozt-a9887c5f2d09a19a9bc611fcd9eba5980a8cd463.tar.gz
puppet-tozt-a9887c5f2d09a19a9bc611fcd9eba5980a8cd463.zip
dependencies
Diffstat (limited to 'modules')
-rw-r--r--modules/tozt/manifests/git.pp2
-rw-r--r--modules/tozt/manifests/persistent.pp1
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,