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

@ -9,7 +9,7 @@
class tftp::server {
if $tftp_datadir {
file { "${tftp_datadir}":
file { $tftp_datadir:
ensure => directory,
mode => 0755,
owner => root,
@ -21,9 +21,9 @@ class tftp::server {
}
file { "/srv/tftpboot":
ensure => link,
target => "${tftp_datadir}",
target => $tftp_datadir,
seltype => "tftpdir_t",
require => File["${tftp_datadir}"],
require => File[$tftp_datadir],
}
} else {
file { "/srv/tftpboot":
@ -64,8 +64,8 @@ class tftp::server {
}
if $tftp_datadir {
selinux::manage_fcontext { "${tftp_datadir}(/.*)?":
type => "tftpdir_t",
before => File["${tftp_datadir}"],
type => "tftpdir_t",
before => File[$tftp_datadir],
}
}
}