Skip to content

Commit

Permalink
Missed some file resource namechanges.
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgan Haskel committed Jun 2, 2014
1 parent da592f4 commit 9c3da14
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions manifests/mod.pp
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@
# the module gets installed.
$package_before = $::osfamily ? {
'freebsd' => [
File["${mod}.load"],
File[$_loadfile_name],
File["${::apache::params::conf_dir}/${::apache::params::conf_file}"]
],
default => File["${mod}.load"],
default => File[$_loadfile_name],
}
# $_package may be an array
package { $_package:
Expand All @@ -91,15 +91,15 @@

if $::osfamily == 'Debian' {
$enable_dir = $::apache::mod_enable_dir
file{ "${mod}.load symlink":
file{ "${_loadfile_name} symlink":
ensure => link,
path => "${enable_dir}/${_loadfile_name}",
target => "${mod_dir}/${_loadfile_name}",
owner => 'root',
group => $::apache::params::root_group,
mode => '0644',
require => [
File["${mod}.load"],
File[$_loadfile_name],
Exec["mkdir ${enable_dir}"],
],
before => File[$enable_dir],
Expand Down

0 comments on commit 9c3da14

Please sign in to comment.