diff options
-rw-r--r-- | manifests/cgit.pp | 2 | ||||
-rw-r--r-- | manifests/daemon.pp | 6 | ||||
-rw-r--r-- | manifests/gitolite.pp | 6 | ||||
-rw-r--r-- | manifests/gitweb.pp | 2 |
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'), } |