diff options
author | Micah <micah@leap.se> | 2016-05-24 10:19:24 -0400 |
---|---|---|
committer | Micah <micah@leap.se> | 2016-05-24 10:19:24 -0400 |
commit | a0341282c3eef05cf19c10e10f783e3c5536c8b0 (patch) | |
tree | 59ffbcee037e3a3b6393dac5a16ca0545d233e91 /manifests/web/repo/lighttpd.pp |
Squashed 'puppet/modules/git/' content from commit ba5dd8d
git-subtree-dir: puppet/modules/git
git-subtree-split: ba5dd8d5c8e09d521ff49f1ebc753601e449f828
Diffstat (limited to 'manifests/web/repo/lighttpd.pp')
-rw-r--r-- | manifests/web/repo/lighttpd.pp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/manifests/web/repo/lighttpd.pp b/manifests/web/repo/lighttpd.pp new file mode 100644 index 00000000..11cee4ce --- /dev/null +++ b/manifests/web/repo/lighttpd.pp @@ -0,0 +1,16 @@ +# logmode: +# - default: Do normal logging including ips +# - anonym: Don't log ips +define git::web::repo::lighttpd( + $ensure = 'present', + $gitweb_url, + $logmode = 'default', + $gitweb_config +){ + if $ensure == 'present' { include git::web::lighttpd } + + lighttpd::vhost::file{$name: + ensure => $ensure, + content => template('git/web/lighttpd'); + } +} |