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