From 4152be7e1de0797a2a8d4116a2165a2ba7bbecd4 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 13 Nov 2018 01:36:48 -0500 Subject: factor out configuration common to all of my machines --- manifests/tozt.pp | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'manifests') diff --git a/manifests/tozt.pp b/manifests/tozt.pp index 85e0204..ec5b4b8 100644 --- a/manifests/tozt.pp +++ b/manifests/tozt.pp @@ -1,21 +1,16 @@ node 'tozt.localdomain' { - include tozt::users - - Package::Makepkg { - build_user => 'doy', + include tozt::persistent + class { 'base': + default_user => 'doy', + persistent_data => '/media/persistent', } + Class['tozt::persistent'] -> Class['base'] - Tozt::User['doy'] -> Package::Makepkg<| build_user == 'doy' |> - - include tozt::bootstrap include tozt::backups include tozt::git - include tozt::misc include tozt::pass include tozt::paste include tozt::site - include tozt::services - include tozt::tools include tozt::ttrss include tozt::vpn } -- cgit v1.2.3-54-g00ecf