summaryrefslogtreecommitdiffstats
path: root/manifests/00global.pp
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2023-03-26 13:38:51 -0400
committerJesse Luehrs <doy@tozt.net>2023-03-26 13:38:51 -0400
commit1057960b6c76cb319e9a6eba547bb76361b8cc7e (patch)
treee08c6980f18e41f746d97c11c54cc4daa0ad17da /manifests/00global.pp
parente12c25531059a087890e8a28db38c6d8fe12a355 (diff)
downloadpuppet-tozt-1057960b6c76cb319e9a6eba547bb76361b8cc7e.tar.gz
puppet-tozt-1057960b6c76cb319e9a6eba547bb76361b8cc7e.zip
let's try actually using hiera
Diffstat (limited to 'manifests/00global.pp')
-rw-r--r--manifests/00global.pp11
1 files changed, 3 insertions, 8 deletions
diff --git a/manifests/00global.pp b/manifests/00global.pp
index 078bdef..8a5342c 100644
--- a/manifests/00global.pp
+++ b/manifests/00global.pp
@@ -1,11 +1,6 @@
-$default_user = 'doy'
-$vpn_ips = {
- 'hornet' => '10.49.0.2',
- 'mail' => '10.49.0.3',
- 'partofme' => '10.49.0.4',
- 'phone' => '10.49.0.5',
- 'tozt' => '10.49.0.6',
-}
+$default_user = lookup('default_user')
+$vpn_ips = lookup('vpn_ips')
+$persistent_data = lookup('persistent_data')
Package::Makepkg {
build_user => $default_user,