Commit 837fd3f2 authored by Micah's avatar Micah

Merge branch 'avoid-duplicate-package-definition' into 'master'

Use ensure_packages, to avoid duplicate definition in case Package['shorewall'] is defined elsewhere already.

See merge request !10
parents 7aff7451 9205eb4a
# base things for shorewall
class shorewall::base {
package { 'shorewall':
ensure => $shorewall::ensure_version,
}
ensure_packages({ 'shorewall' => { ensure => $shorewall::ensure_version }})
# This file has to be managed in place, so shorewall can find it
file {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment