summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2023-03-27 06:24:05 -0400
committerJesse Luehrs <doy@tozt.net>2023-03-27 06:24:05 -0400
commit953b030829e931fec7129a2cc1cfac534980eb98 (patch)
treec61a61c662a91c15bae57c05107fed509cc62f3e /modules
parent0ef7daf1f858090ba6599cb92071a2dfcc25644f (diff)
downloadpuppet-tozt-953b030829e931fec7129a2cc1cfac534980eb98.tar.gz
puppet-tozt-953b030829e931fec7129a2cc1cfac534980eb98.zip
don't make godwrap require /media/persistent to exist
Diffstat (limited to 'modules')
-rw-r--r--modules/godwrap/manifests/init.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/godwrap/manifests/init.pp b/modules/godwrap/manifests/init.pp
index 5e7f493..1d3579d 100644
--- a/modules/godwrap/manifests/init.pp
+++ b/modules/godwrap/manifests/init.pp
@@ -1,4 +1,4 @@
-class godwrap {
+class godwrap($directory = "/var/lib/godwrap") {
include go
package::makepkg { 'godwrap':
@@ -7,7 +7,7 @@ class godwrap {
}
file {
- "/media/persistent/godwrap":
+ $directory:
ensure => directory;
}
}