diff options
author | Jesse Luehrs <doy@tozt.net> | 2023-03-26 13:38:51 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2023-03-26 13:38:51 -0400 |
commit | 1057960b6c76cb319e9a6eba547bb76361b8cc7e (patch) | |
tree | e08c6980f18e41f746d97c11c54cc4daa0ad17da /manifests/tozt.pp | |
parent | e12c25531059a087890e8a28db38c6d8fe12a355 (diff) | |
download | puppet-tozt-1057960b6c76cb319e9a6eba547bb76361b8cc7e.tar.gz puppet-tozt-1057960b6c76cb319e9a6eba547bb76361b8cc7e.zip |
let's try actually using hiera
Diffstat (limited to 'manifests/tozt.pp')
-rw-r--r-- | manifests/tozt.pp | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/manifests/tozt.pp b/manifests/tozt.pp index 2aa1bc6..4c64046 100644 --- a/manifests/tozt.pp +++ b/manifests/tozt.pp @@ -1,17 +1,9 @@ node 'tozt', 'tozt.localdomain' { - $persistent_data = '/media/persistent' - include tozt::persistent - Class['tozt::persistent'] -> Class['base'] - - class { 'base': - extra_script => " - (cd /home/doy/coding/metabase-utils && git pull) - (sudo podman pull docker.io/vaultwarden/server) - "; - } - + include base include tozt::operatingsystem + include tozt::persistent Class['tozt::operatingsystem'] -> Package<| provider == "pacman" |> + Class['tozt::persistent'] -> Class['base'] include tozt::backups include tozt::bitwarden |