diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-10-18 21:39:24 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-10-18 21:39:24 -0400 |
commit | 7f3bb8b1dff24558ec05cba07dcedf4e5ee39ab7 (patch) | |
tree | 9efe6d9812b8070e5718e140f760544ea0e614c6 /modules/tozt/manifests | |
parent | a257cef6f184f813873898d0e36e0ddff795e38f (diff) | |
download | puppet-tozt-7f3bb8b1dff24558ec05cba07dcedf4e5ee39ab7.tar.gz puppet-tozt-7f3bb8b1dff24558ec05cba07dcedf4e5ee39ab7.zip |
add github api key
will be adding a sync script using it soon
Diffstat (limited to 'modules/tozt/manifests')
-rw-r--r-- | modules/tozt/manifests/git.pp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/tozt/manifests/git.pp b/modules/tozt/manifests/git.pp index 5beee5b..e564b75 100644 --- a/modules/tozt/manifests/git.pp +++ b/modules/tozt/manifests/git.pp @@ -27,6 +27,17 @@ class tozt::git { source => "puppet:///modules/tozt/cgitrc"; } + secret { "/home/doy/.github": + source => 'github', + owner => 'doy', + group => 'doy', + require => [ + User['doy'], + Group['doy'], + File["/home/doy"], + ]; + } + nginx::site { "git-tls": source => 'puppet:///modules/tozt/nginx/git-tls.conf', |