Fixing puppet-lint errors.

This commit is contained in:
Timo Mkinen 2012-03-27 14:41:39 +03:00
parent 2f83cb7d4a
commit 34c36045fa
59 changed files with 995 additions and 990 deletions

View file

@ -8,7 +8,7 @@ class git::client {
"ubuntu" => "git-core",
default => "git",
},
ensure => installed,
ensure => installed,
}
}
@ -26,7 +26,7 @@ class git::server {
include git::client
if $git_datadir {
file { "${git_datadir}":
file { $git_datadir:
ensure => directory,
mode => 0755,
owner => root,
@ -34,8 +34,8 @@ class git::server {
}
file { "/srv/git":
ensure => link,
target => "${git_datadir}",
require => File["${git_datadir}"],
target => $git_datadir,
require => File[$git_datadir],
}
} else {
file { "/srv/git":
@ -55,7 +55,7 @@ class git::server {
if $git_datadir {
selinux::manage_fcontext { "${git_datadir}(/.*)?":
type => "httpd_sys_content_t",
before => File["${git_datadir}"],
before => File[$git_datadir],
}
}
}