diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-10-29 02:35:43 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-10-29 02:35:43 -0400 |
commit | e56dcc0965f8f0870aabca536010cb94149fe982 (patch) | |
tree | d0032b58bbc4808a4ac6ae49fa9021d42633a8e4 /tozt | |
parent | a75b9ebe81d053b85d2b3a6fc0acd9a893e26e16 (diff) | |
download | puppet-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.pp | 6 |
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], |