diff --git a/manifests/files.pp b/manifests/files.pp index f38cabfe..6b49665a 100644 --- a/manifests/files.pp +++ b/manifests/files.pp @@ -101,7 +101,7 @@ source => $maincf_source, } - ::postfix::config { + postfix::config { 'alias_maps': value => $alias_maps; 'inet_interfaces': value => $inet_interfaces; 'inet_protocols': value => $inet_protocols; @@ -110,7 +110,7 @@ case $facts['os']['family'] { 'RedHat': { - ::postfix::config { + postfix::config { 'mailq_path': value => '/usr/bin/mailq.postfix'; 'newaliases_path': value => '/usr/bin/newaliases.postfix'; 'sendmail_path': value => '/usr/sbin/sendmail.postfix'; diff --git a/spec/defines/postfix_conffile_spec.rb b/spec/defines/postfix_conffile_spec.rb index ef7d533d..488287cd 100644 --- a/spec/defines/postfix_conffile_spec.rb +++ b/spec/defines/postfix_conffile_spec.rb @@ -6,7 +6,7 @@ let(:title) { 'foo' } let :pre_condition do - "class { '::postfix': }" + "class { 'postfix': }" end on_supported_os.each do |os, facts| diff --git a/spec/defines/postfix_hash_spec.rb b/spec/defines/postfix_hash_spec.rb index 3804f8db..5246aebc 100644 --- a/spec/defines/postfix_hash_spec.rb +++ b/spec/defines/postfix_hash_spec.rb @@ -6,7 +6,7 @@ let(:title) { '/tmp/foo' } let :pre_condition do - "class { '::postfix': }" + "class { 'postfix': }" end on_supported_os.each do |os, facts| diff --git a/spec/defines/postfix_map_spec.rb b/spec/defines/postfix_map_spec.rb index 614fe953..22da02df 100644 --- a/spec/defines/postfix_map_spec.rb +++ b/spec/defines/postfix_map_spec.rb @@ -6,7 +6,7 @@ let(:title) { 'foo' } let :pre_condition do - "class { '::postfix': }" + "class { 'postfix': }" end on_supported_os.each do |os, facts| diff --git a/spec/defines/postfix_transport_spec.rb b/spec/defines/postfix_transport_spec.rb index 60e41e10..02face2a 100644 --- a/spec/defines/postfix_transport_spec.rb +++ b/spec/defines/postfix_transport_spec.rb @@ -8,7 +8,7 @@ let :pre_condition do <<-EOT class { '::augeas': } - class { '::postfix': } + class { 'postfix': } EOT end diff --git a/spec/defines/postfix_virtual_spec.rb b/spec/defines/postfix_virtual_spec.rb index d4c0a1c9..7d13cb0d 100644 --- a/spec/defines/postfix_virtual_spec.rb +++ b/spec/defines/postfix_virtual_spec.rb @@ -8,7 +8,7 @@ let :pre_condition do <<-EOT class { '::augeas': } - class { '::postfix': } + class { 'postfix': } EOT end