diff options
author | Adrien Thebo <adrien.thebo@gmail.com> | 2011-05-23 17:11:45 -0700 |
---|---|---|
committer | Adrien Thebo <adrien.thebo@gmail.com> | 2011-05-23 17:11:45 -0700 |
commit | c63f313fabe1b9a180f1e6f44fbdef43ed18019b (patch) | |
tree | 616fbdd299f95bae0d1d021e1d72f3deddb7a701 /manifests |
Initial commit.
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp new file mode 100644 index 0000000..8ce7605 --- /dev/null +++ b/manifests/init.pp @@ -0,0 +1,26 @@ +# Class: gitweb +# +# Parameters: +# +# Actions: +# +# Requires: +# - puppetlabs-apache +# Sample Usage: +class gitweb { + + include apache + + package { "gitweb": + ensure => present, + } + + file { "/etc/gitweb.conf": + ensure => present, + owner => "root", + group => "root", + mode => "0644", + source => "puppet:///modules/gitweb/gitweb.conf", + require => Package["gitweb"], + } +} |