Skip to content

Commit 6343c8e

Browse files
committed
prevent alias.conf error Only subclasses can override parameters using a resource collector
1 parent 5e6cd42 commit 6343c8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/puppetlabs.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
unless => "find ${conf_dir} -perm -o+r -type f -o -perm -o+w -type f | wc -l | egrep '^0$'"
5353
}
5454

55-
File['alias.conf'] {
55+
File <| title == 'alias.conf' |> {
5656
content => template('apache_hardening/mod/alias.conf.erb'),
5757
mode => '0640',
5858
}

0 commit comments

Comments
 (0)