aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:06:14 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:06:14 -0300
commit728ae6aa89996047ce8be9f3bfff11b211a8dd7e (patch)
tree2639c24be8107a12e47464e2c1ccb7b53835a186
parent730c1daa855d2495227dbf5266285ec5252c2c84 (diff)
downloadpuppet-git-728ae6aa89996047ce8be9f3bfff11b211a8dd7e.tar.gz
puppet-git-728ae6aa89996047ce8be9f3bfff11b211a8dd7e.tar.bz2
Changes for puppet 4 compatibility
-rw-r--r--manifests/cgit.pp2
-rw-r--r--manifests/daemon.pp6
-rw-r--r--manifests/gitolite.pp6
-rw-r--r--manifests/gitweb.pp2
4 files changed, 8 insertions, 8 deletions
diff --git a/manifests/cgit.pp b/manifests/cgit.pp
index 7c6512d..47c7eff 100644
--- a/manifests/cgit.pp
+++ b/manifests/cgit.pp
@@ -20,7 +20,7 @@ class git::cgit(
file { '/etc/cgitrc':
owner => "root",
group => "root",
- mode => 0644,
+ mode => '0644',
ensure => present,
content => template('git/cgitrc.erb'),
}
diff --git a/manifests/daemon.pp b/manifests/daemon.pp
index 28c3eaf..cdb8639 100644
--- a/manifests/daemon.pp
+++ b/manifests/daemon.pp
@@ -6,7 +6,7 @@ class git::daemon (
# directory for git user and repositories
file { "/var/git":
ensure => directory,
- mode => 0755,
+ mode => '0755',
owner => git,
group => git,
}
@@ -16,7 +16,7 @@ class git::daemon (
ensure => directory,
owner => git,
group => git,
- mode => 0755,
+ mode => '0755',
recurse => false,
}
@@ -55,7 +55,7 @@ class git::daemon (
ensure => present,
owner => root,
group => root,
- mode => 0755,
+ mode => '0755',
source => "puppet:///modules/git/git-mass-update-server-info",
}
diff --git a/manifests/gitolite.pp b/manifests/gitolite.pp
index 06dbacd..3291037 100644
--- a/manifests/gitolite.pp
+++ b/manifests/gitolite.pp
@@ -31,7 +31,7 @@ class git::gitolite inherits git {
ensure => present,
owner => git,
group => git,
- mode => 0600,
+ mode => '0600',
source => "puppet:///modules/git/gitolite.rc.${::lsbdistcodename}",
require => [ File['/var/git'], User['git'] ],
}
@@ -40,7 +40,7 @@ class git::gitolite inherits git {
ensure => present,
owner => git,
group => git,
- mode => 0644,
+ mode => '0644',
require => [ File['/var/git'], User['git'] ],
}
@@ -55,7 +55,7 @@ class git::gitolite inherits git {
ensure => directory,
owner => git,
group => git,
- mode => 0755,
+ mode => '0755',
require => File['/var/git'],
}
diff --git a/manifests/gitweb.pp b/manifests/gitweb.pp
index 3453169..d546349 100644
--- a/manifests/gitweb.pp
+++ b/manifests/gitweb.pp
@@ -13,7 +13,7 @@ class git::gitweb(
file { "/etc/gitweb.conf":
owner => "root",
group => "root",
- mode => 0644,
+ mode => '0644',
ensure => present,
content => template('git/gitweb.conf.erb'),
}