summaryrefslogtreecommitdiffstats
path: root/manifests
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-11-13 01:44:32 -0500
committerJesse Luehrs <doy@tozt.net>2018-11-13 01:44:32 -0500
commit1acb30eab2b85c63f8bbdf908cb2ef3a955918c3 (patch)
tree2c04a082134dd5adc9aca07917e2737e62dcbdec /manifests
parent7dd021f5c6e9c15a3af5870d548f84cfccf1f362 (diff)
downloadpuppet-tozt-1acb30eab2b85c63f8bbdf908cb2ef3a955918c3.tar.gz
puppet-tozt-1acb30eab2b85c63f8bbdf908cb2ef3a955918c3.zip
need to set defaults at the top level
Diffstat (limited to 'manifests')
-rw-r--r--manifests/tozt.pp13
1 files changed, 11 insertions, 2 deletions
diff --git a/manifests/tozt.pp b/manifests/tozt.pp
index ec5b4b8..c0e6793 100644
--- a/manifests/tozt.pp
+++ b/manifests/tozt.pp
@@ -1,11 +1,20 @@
node 'tozt.localdomain' {
+ $default_user = 'doy'
+ $persistent_data = '/media/persistent'
+
include tozt::persistent
class { 'base':
- default_user => 'doy',
- persistent_data => '/media/persistent',
+ default_user => $default_user,
+ persistent_data => $persistent_data,
}
Class['tozt::persistent'] -> Class['base']
+ Package::Makepkg {
+ build_user => $default_user,
+ }
+
+ Base::User[$default_user] -> Package::Makepkg<| build_user == $default_user |>
+
include tozt::backups
include tozt::git
include tozt::pass