Commit ec0435fe authored by Raphaël Pinson's avatar Raphaël Pinson
Browse files

Always include classes by their full name

parent 9a108fd9
......@@ -38,7 +38,7 @@ define postfix::canonical (
$file='/etc/postfix/canonical',
$ensure='present'
) {
include postfix::augeas
include ::postfix::augeas
case $ensure {
'present': {
......
class postfix::files {
include postfix::params
include ::postfix::params
$alias_maps = $postfix::all_alias_maps
$inet_interfaces = $postfix::inet_interfaces
......
......@@ -135,9 +135,9 @@ class postfix (
true => "\"${alias_maps}, ldap:/etc/postfix/ldap-aliases.cf\"",
}
class { 'postfix::packages': } ->
class { 'postfix::files': } ~>
class { 'postfix::service': } ->
class { '::postfix::packages': } ->
class { '::postfix::files': } ~>
class { '::postfix::service': } ->
Class['postfix']
if $ldap {
......
class postfix::packages {
include postfix::params
include ::postfix::params
package { 'postfix':
ensure => installed,
......
......@@ -39,7 +39,7 @@ define postfix::transport (
$file='/etc/postfix/transport',
$ensure='present'
) {
include postfix::augeas
include ::postfix::augeas
validate_string($destination)
validate_string($nexthop)
......
......@@ -38,7 +38,7 @@ define postfix::virtual (
$file='/etc/postfix/virtual',
$ensure='present'
) {
include postfix::augeas
include ::postfix::augeas
validate_string($destination)
validate_string($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