aboutsummaryrefslogtreecommitdiff
path: root/manifests/gitosis.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/gitosis.pp')
-rw-r--r--manifests/gitosis.pp20
1 files changed, 10 insertions, 10 deletions
diff --git a/manifests/gitosis.pp b/manifests/gitosis.pp
index a903c80..2463ea0 100644
--- a/manifests/gitosis.pp
+++ b/manifests/gitosis.pp
@@ -6,15 +6,15 @@ class git::gitosis inherits git {
file { "/var/git":
ensure => directory,
mode => 0755,
- owner => gitosis,
- group => gitosis,
+ owner => git,
+ group => git,
}
# repositories folder
file { "/var/git/repositories":
ensure => directory,
- owner => gitosis,
- group => gitosis,
+ owner => git,
+ group => git,
mode => 0755,
recurse => false,
}
@@ -31,22 +31,22 @@ class git::gitosis inherits git {
package { "gitosis": ensure => installed }
# ensures that the group exists
- group { "gitosis":
+ group { "git":
ensure => present,
allowdupe => false,
require => Package["gitosis"],
}
# alters the user's home dir
- user { "gitosis":
+ user { "git":
allowdupe => false,
comment => "git repository hosting,,,",
ensure => present,
home => "/var/git",
shell => "/bin/sh",
- gid => "gitosis",
+ gid => "git",
groups => [ "puppet" ],
- require => Group["gitosis"],
+ require => Group["git"],
}
# tries to get rid of ugly directory structure
@@ -54,7 +54,7 @@ class git::gitosis inherits git {
ensure => absent,
force => true,
backup => false,
- require => User["gitosis"],
+ require => User["git"],
}
# we also don't need /var/gitosis
@@ -62,7 +62,7 @@ class git::gitosis inherits git {
ensure => absent,
force => true,
backup => false,
- require => User["gitosis"],
+ require => User["git"],
}
# mass update script