Skip to content

Commit

Permalink
Merge pull request #837 from bodepd/ensure_conf_after_package
Browse files Browse the repository at this point in the history
Ensure that mod packages are installed before conf
  • Loading branch information
igalic committed Sep 13, 2014
2 parents 52cdf49 + 873d829 commit eb191cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manifests/mod.pp
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@
],
default => File[$_loadfile_name],
}
# if there are any packages, they should be installed before the associated conf file
Package[$_package] -> File<| title == "${mod}.conf" |>
# $_package may be an array
package { $_package:
ensure => $package_ensure,
Expand Down

0 comments on commit eb191cb

Please sign in to comment.