Changes for spec/classes/postfix_spec.rb: 19 added lines, 19 removed lines.
Original line number
Diff line number
Diff line
@@ -54,7 +54,7 @@ describe 'postfix' do
ensure: 'running',
enable: 'true',
hasstatus: 'true',
restart: '/etc/init.d/postfix reload',
restart: '/etc/init.d/postfix reload'
)
}
end
@@ -76,7 +76,7 @@ describe 'postfix' do
ensure: 'running',
enable: 'true',
hasstatus: 'true',
restart: '/bin/systemctl reload postfix',
restart: '/bin/systemctl reload postfix'
)
}
end
@@ -88,7 +88,7 @@ describe 'postfix' do
ensure: 'running',
enable: 'true',
hasstatus: 'true',
restart: '/bin/systemctl reload postfix',
restart: '/bin/systemctl reload postfix'
)
}
end
@@ -100,7 +100,7 @@ describe 'postfix' do
ensure: 'running',
enable: 'true',
hasstatus: 'true',
restart: '/etc/init.d/postfix reload',
restart: '/etc/init.d/postfix reload'
)
}
@@ -111,12 +111,12 @@ describe 'postfix' do
ensure: 'running',
enable: 'true',
hasstatus: 'true',
restart: '/bin/systemctl reload postfix',
restart: '/bin/systemctl reload postfix'
)
}
end
context('when on other',excl: (facts[:osfamily]!='RedHat'||facts[:operatingsystem]=='Fedora'||['6','7','8'].include?(facts[:operatingsystemmajrelease])))do
context('when on other',excl: (facts[:osfamily]!='RedHat'||facts[:operatingsystem]=='Fedora'||%w[6 7 8].include?(facts[:operatingsystemmajrelease])))do