diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-10-19 23:15:14 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-10-19 23:15:14 -0400 |
commit | 8317b706d7a0a91c67c46950be07d40168705b6c (patch) | |
tree | 0dbba9df21c01deb1ed165fda1dce43dbdd8e2d5 /modules/tozt/manifests/git.pp | |
parent | d0ef063b3d2cf7b4c2eba540a0773dae3afc26ef (diff) | |
download | puppet-tozt-8317b706d7a0a91c67c46950be07d40168705b6c.tar.gz puppet-tozt-8317b706d7a0a91c67c46950be07d40168705b6c.zip |
rename modules dir
Diffstat (limited to 'modules/tozt/manifests/git.pp')
-rw-r--r-- | modules/tozt/manifests/git.pp | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/modules/tozt/manifests/git.pp b/modules/tozt/manifests/git.pp deleted file mode 100644 index 03204dc..0000000 --- a/modules/tozt/manifests/git.pp +++ /dev/null @@ -1,64 +0,0 @@ -class tozt::git { - include git::server - include tozt::certbot - include tozt::persistent - - package { "perl-io-socket-ssl": - ensure => installed, - } - - file { - "/media/persistent/git/doy": - ensure => directory, - owner => 'doy', - group => 'doy', - require => [ - Class['tozt::persistent'], - User['doy'], - Group['doy'], - ]; - "/home/doy/git": - ensure => link, - target => "/media/persistent/git/doy", - owner => 'doy', - group => 'doy', - require => [ - User['doy'], - Group['doy'], - File["/home/doy"], - ]; - "/etc/cgitrc": - source => "puppet:///modules/tozt/cgitrc"; - "/usr/local/share/git": - ensure => directory; - "/usr/local/share/git/post-receive": - source => "puppet:///modules/tozt/post-receive", - require => File['/usr/local/share/git']; - "/usr/local/bin/new-git-repo": - source => "puppet:///modules/tozt/new-git-repo", - mode => '0755', - require => [ - Package['perl-io-socket-ssl'], - File['/usr/local/share/git/post-receive'], - ]; - } - - 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', - require => Class['certbot']; - "git": - source => 'puppet:///modules/tozt/nginx/git.conf'; - } -} |