aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-01-24 16:58:01 +0000
committerMichael Scherer <misc@mageia.org>2011-01-24 16:58:01 +0000
commit450f949259c74499869d4027fd5284af395266f4 (patch)
tree6a9ca6441c58ad2d422869ffd6187cd1dbb2d88e
parentcf0ee6c8568085c26825eb23fb851ee56910efc0 (diff)
downloadpuppet-450f949259c74499869d4027fd5284af395266f4.tar
puppet-450f949259c74499869d4027fd5284af395266f4.tar.gz
puppet-450f949259c74499869d4027fd5284af395266f4.tar.bz2
puppet-450f949259c74499869d4027fd5284af395266f4.tar.xz
puppet-450f949259c74499869d4027fd5284af395266f4.zip
add a git repository for forum handling
-rw-r--r--deployment/repositories/manifests/git.pp6
-rw-r--r--manifests/nodes.pp2
2 files changed, 8 insertions, 0 deletions
diff --git a/deployment/repositories/manifests/git.pp b/deployment/repositories/manifests/git.pp
new file mode 100644
index 00000000..04f1f32a
--- /dev/null
+++ b/deployment/repositories/manifests/git.pp
@@ -0,0 +1,6 @@
+class repositories::git {
+ git::repository { "/git/forum":
+ description => "Reference code for forum.$domain",
+ group => "mga-forum-developers",
+ }
+}
diff --git a/manifests/nodes.pp b/manifests/nodes.pp
index 5e31fdc9..7e6b8d0d 100644
--- a/manifests/nodes.pp
+++ b/manifests/nodes.pp
@@ -22,6 +22,7 @@ node valstar {
include buildsystem::mgacreatehome
include access_classes::committers
+ include restrictshell::allow_git
include restrictshell::allow_svn
include restrictshell::allow_pkgsubmit
# disabled the ldap key here instead of disabling for the
@@ -29,6 +30,7 @@ node valstar {
#include openssh::ssh_keys_from_ldap
include repositories::subversion
+ include repositories::git
subversion::snapshot { "/etc/puppet":
source => "svn://svn.mageia.org/svn/adm/puppet/"