summaryrefslogtreecommitdiffstats
path: root/modules/tozt/manifests/git.pp
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-10-19 21:25:44 -0400
committerJesse Luehrs <doy@tozt.net>2018-10-19 21:25:44 -0400
commit89c0cc84be250ba8fe5722baa35293c70c98f2a0 (patch)
tree4328a8b7edfb1e1b22a07f6165e7b7942d3cf63b /modules/tozt/manifests/git.pp
parent145883adc8f58ba41fa6a679b97370ffc448ea39 (diff)
downloadpuppet-tozt-89c0cc84be250ba8fe5722baa35293c70c98f2a0.tar.gz
puppet-tozt-89c0cc84be250ba8fe5722baa35293c70c98f2a0.zip
move the tozt module around to allow for more host types
Diffstat (limited to 'modules/tozt/manifests/git.pp')
-rw-r--r--modules/tozt/manifests/git.pp64
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';
- }
-}