summaryrefslogtreecommitdiffstats
path: root/tozt
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-10-29 02:35:43 -0400
committerJesse Luehrs <doy@tozt.net>2018-10-29 02:35:43 -0400
commite56dcc0965f8f0870aabca536010cb94149fe982 (patch)
treed0032b58bbc4808a4ac6ae49fa9021d42633a8e4 /tozt
parenta75b9ebe81d053b85d2b3a6fc0acd9a893e26e16 (diff)
downloadpuppet-tozt-e56dcc0965f8f0870aabca536010cb94149fe982.tar.gz
puppet-tozt-e56dcc0965f8f0870aabca536010cb94149fe982.zip
create the appropriate .conf-type file
Diffstat (limited to 'tozt')
-rw-r--r--tozt/conf/manifests/user.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tozt/conf/manifests/user.pp b/tozt/conf/manifests/user.pp
index b5af5b2..e678050 100644
--- a/tozt/conf/manifests/user.pp
+++ b/tozt/conf/manifests/user.pp
@@ -28,6 +28,11 @@ define conf::user($user=$name, $home=undef) {
];
}
+ file { "$_home/conf/.conf-type":
+ content => "server",
+ require => Exec["git clone doy/conf for $user"];
+ }
+
exec { "conf make install for $user":
command => "/usr/bin/make install",
user => $user,
@@ -38,6 +43,7 @@ define conf::user($user=$name, $home=undef) {
],
creates => "$_home/.vimrc",
require => [
+ File["$_home/conf/.conf-type"],
Class['cron'],
Class['c_toolchain'],
User[$user],