[COOK-4619] - no way to unset recipient_delimiter
Signed-off-by: Sean OMeara <someara@opscode.com>
This commit is contained in:
committed by
Sean OMeara
parent
f27480fa4c
commit
0a42b0722b
6
test/fixtures/cookbooks/fake/metadata.rb
vendored
6
test/fixtures/cookbooks/fake/metadata.rb
vendored
@@ -1,3 +1,3 @@
|
||||
name "fake"
|
||||
version "0.0.1"
|
||||
description "Not a real cookbook, used for testing only."
|
||||
name 'fake'
|
||||
version '0.0.1'
|
||||
description 'Not a real cookbook, used for testing only.'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
execute "pkg set-publisher -g http://pkg.omniti.com/omniti-ms/ ms.omniti.com" do
|
||||
not_if "pkg publisher ms.omniti.com"
|
||||
execute 'pkg set-publisher -g http://pkg.omniti.com/omniti-ms/ ms.omniti.com' do
|
||||
not_if 'pkg publisher ms.omniti.com'
|
||||
end
|
||||
|
||||
execute "pkg refresh --full"
|
||||
execute 'pkg refresh --full'
|
||||
|
||||
@@ -28,7 +28,7 @@ describe 'postfix::default' do
|
||||
|
||||
context 'configures' do
|
||||
describe file('/etc/postfix/main.cf') do
|
||||
its(:content) { should match /^# Generated by Chef for / }
|
||||
its(:content) { should match(/^# Generated by Chef for /) }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -19,12 +19,10 @@ describe 'postfix::sasl_auth' do
|
||||
let(:sasl_passwd_file) { '/etc/postfix/sasl_passwd' }
|
||||
|
||||
it 'manages postfix sasl_passwd' do
|
||||
expect(file(sasl_passwd_file).content).
|
||||
to match(/^# This file is generated by Chef for/)
|
||||
expect(file(sasl_passwd_file).content).to match(/^# This file is generated by Chef for/)
|
||||
end
|
||||
|
||||
it 'configures postfix to use the sasl_passwd file' do
|
||||
expect(file('/etc/postfix/main.cf').content).
|
||||
to match(/^\s*smtp_sasl_password_maps\s*=.*#{sasl_passwd_file}\s*$/)
|
||||
expect(file('/etc/postfix/main.cf').content).to match(/^\s*smtp_sasl_password_maps\s*=.*#{sasl_passwd_file}\s*$/)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user