summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorAdrien Thebo <adrien.thebo@gmail.com>2011-05-23 17:11:45 -0700
committerAdrien Thebo <adrien.thebo@gmail.com>2011-05-23 17:11:45 -0700
commitc63f313fabe1b9a180f1e6f44fbdef43ed18019b (patch)
tree616fbdd299f95bae0d1d021e1d72f3deddb7a701 /manifests
Initial commit.
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp26
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"],
+ }
+}