summaryrefslogtreecommitdiffstats
path: root/modules/godwrap/manifests/init.pp
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2020-07-11 02:27:24 -0400
committerJesse Luehrs <doy@tozt.net>2020-07-11 02:45:15 -0400
commitd79af16f91204018bfdfd4b859a2156d9c21b87f (patch)
tree30922027d9e371464a15783da0f37a47d7b6345f /modules/godwrap/manifests/init.pp
parentb1075daf36e8bd4cd7c04d8a0367f97a76fa66e0 (diff)
downloadpuppet-tozt-d79af16f91204018bfdfd4b859a2156d9c21b87f.tar.gz
puppet-tozt-d79af16f91204018bfdfd4b859a2156d9c21b87f.zip
make the cron wrapper use godwrap
Diffstat (limited to 'modules/godwrap/manifests/init.pp')
-rw-r--r--modules/godwrap/manifests/init.pp13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/godwrap/manifests/init.pp b/modules/godwrap/manifests/init.pp
new file mode 100644
index 0000000..5e7f493
--- /dev/null
+++ b/modules/godwrap/manifests/init.pp
@@ -0,0 +1,13 @@
+class godwrap {
+ include go
+
+ package::makepkg { 'godwrap':
+ ensure => installed,
+ require => Package["go"];
+ }
+
+ file {
+ "/media/persistent/godwrap":
+ ensure => directory;
+ }
+}