Skip to content
Snippets Groups Projects
Unverified Commit e630e93c authored by Romain Tartière's avatar Romain Tartière
Browse files

Remove legacy top-scope syntax

parent 97d2db10
No related branches found
No related tags found
No related merge requests found
......@@ -101,7 +101,7 @@ class postfix::files {
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 @@ class postfix::files {
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';
......
......@@ -6,7 +6,7 @@ describe 'postfix::conffile' do
let(:title) { 'foo' }
let :pre_condition do
"class { '::postfix': }"
"class { 'postfix': }"
end
on_supported_os.each do |os, facts|
......
......@@ -6,7 +6,7 @@ describe 'postfix::hash' do
let(:title) { '/tmp/foo' }
let :pre_condition do
"class { '::postfix': }"
"class { 'postfix': }"
end
on_supported_os.each do |os, facts|
......
......@@ -6,7 +6,7 @@ describe 'postfix::map' do
let(:title) { 'foo' }
let :pre_condition do
"class { '::postfix': }"
"class { 'postfix': }"
end
on_supported_os.each do |os, facts|
......
......@@ -8,7 +8,7 @@ describe 'postfix::transport' do
let :pre_condition do
<<-EOT
class { '::augeas': }
class { '::postfix': }
class { 'postfix': }
EOT
end
......
......@@ -8,7 +8,7 @@ describe 'postfix::virtual' do
let :pre_condition do
<<-EOT
class { '::augeas': }
class { '::postfix': }
class { 'postfix': }
EOT
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment