summaryrefslogtreecommitdiffstats
path: root/manifests
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-11-13 01:36:48 -0500
committerJesse Luehrs <doy@tozt.net>2018-11-13 01:36:48 -0500
commit4152be7e1de0797a2a8d4116a2165a2ba7bbecd4 (patch)
tree49c8b2b590c447e21ae71e48eaa4da8a1cfb15e8 /manifests
parentc3659899860d8519deec2c1f8993e4262e5f7f6c (diff)
downloadpuppet-tozt-4152be7e1de0797a2a8d4116a2165a2ba7bbecd4.tar.gz
puppet-tozt-4152be7e1de0797a2a8d4116a2165a2ba7bbecd4.zip
factor out configuration common to all of my machines
Diffstat (limited to 'manifests')
-rw-r--r--manifests/tozt.pp15
1 files changed, 5 insertions, 10 deletions
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
}