diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-10-22 13:29:44 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-10-22 13:29:44 -0400 |
commit | 5185d280b7d058f6d0064a5c4d62170ddc55d0d9 (patch) | |
tree | 460928af5a45d28b6fc82b7abe83087e593263dc /modules/tozt/manifests/git.pp | |
parent | e838540f23e3dfa7cb41b90cb5d922dd7608d77f (diff) | |
download | puppet-tozt-5185d280b7d058f6d0064a5c4d62170ddc55d0d9.tar.gz puppet-tozt-5185d280b7d058f6d0064a5c4d62170ddc55d0d9.zip |
add some nginx config for serving release tarballs
Diffstat (limited to 'modules/tozt/manifests/git.pp')
-rw-r--r-- | modules/tozt/manifests/git.pp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/modules/tozt/manifests/git.pp b/modules/tozt/manifests/git.pp index 19f7342..ce6de9a 100644 --- a/modules/tozt/manifests/git.pp +++ b/modules/tozt/manifests/git.pp @@ -27,6 +27,25 @@ class tozt::git { Group['doy'], File["/home/doy"], ]; + "/media/persistent/releases/doy": + ensure => directory, + owner => 'doy', + group => 'doy', + require => [ + Class['tozt::persistent'], + User['doy'], + Group['doy'], + ]; + "/home/doy/releases": + ensure => link, + target => "/media/persistent/releases/doy", + owner => 'doy', + group => 'doy', + require => [ + User['doy'], + Group['doy'], + File["/home/doy"], + ]; "/etc/cgitrc": source => "puppet:///modules/tozt/cgitrc"; "/usr/local/share/git": |