diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-11-15 01:22:26 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-11-15 01:22:26 -0500 |
commit | bceb619f081ee2a8b508e1ed47c7506aa3ed17cf (patch) | |
tree | 2a0c3b97c7c541bb8aef6fc0e3b226b6de0e940a /manifests/tozt.pp | |
parent | 69db44bec5bdf316b83ce2daef37e9a63859b0ed (diff) | |
download | puppet-tozt-bceb619f081ee2a8b508e1ed47c7506aa3ed17cf.tar.gz puppet-tozt-bceb619f081ee2a8b508e1ed47c7506aa3ed17cf.zip |
move a couple things into globals
instead of threading them through to everywhere individually
Diffstat (limited to 'manifests/tozt.pp')
-rw-r--r-- | manifests/tozt.pp | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/manifests/tozt.pp b/manifests/tozt.pp index 40d81a4..3c36818 100644 --- a/manifests/tozt.pp +++ b/manifests/tozt.pp @@ -1,20 +1,10 @@ node 'tozt.localdomain' { - $default_user = 'doy' $persistent_data = '/media/persistent' - - Package::Makepkg { - build_user => $default_user, - } - - Base::User[$default_user] -> Package::Makepkg<| build_user == $default_user |> - include tozt::persistent - class { 'base': - default_user => $default_user, - persistent_data => $persistent_data, - } Class['tozt::persistent'] -> Class['base'] + include base + include tozt::backups include tozt::git include tozt::pass |