|
110 | 110 | node.set['rabbitmq']['ssl'] = true |
111 | 111 | node.set['rabbitmq']['ssl_ciphers'] = ['ecdhe_ecdsa,aes_128_cbc,sha256', 'ecdhe_ecdsa,aes_256_cbc,sha'] |
112 | 112 | expect(chef_run).to render_file('/etc/rabbitmq/rabbitmq.config').with_content( |
113 | | - '{ciphers,[{ecdhe_ecdsa,aes_128_cbc,sha256},{ecdhe_ecdsa,aes_256_cbc,sha}]}') |
| 113 | + "{ciphers,['ecdhe_ecdsa,aes_128_cbc,sha256','ecdhe_ecdsa,aes_256_cbc,sha']}") |
114 | 114 | end |
115 | 115 |
|
116 | 116 | it 'allows web console ssl ciphers' do |
117 | 117 | node.set['rabbitmq']['web_console_ssl'] = true |
118 | 118 | node.set['rabbitmq']['ssl_ciphers'] = ['ecdhe_ecdsa,aes_128_cbc,sha256', 'ecdhe_ecdsa,aes_256_cbc,sha'] |
119 | 119 | expect(chef_run).to render_file('/etc/rabbitmq/rabbitmq.config').with_content( |
120 | | - '{ciphers,[{ecdhe_ecdsa,aes_128_cbc,sha256},{ecdhe_ecdsa,aes_256_cbc,sha}]}') |
| 120 | + "{ciphers,['ecdhe_ecdsa,aes_128_cbc,sha256','ecdhe_ecdsa,aes_256_cbc,sha']}") |
121 | 121 | end |
122 | 122 |
|
123 | 123 | it 'should set additional rabbitmq config' do |
|
152 | 152 |
|
153 | 153 | include_context 'rabbitmq-stubs' |
154 | 154 |
|
| 155 | + # ~FC005 -- we should ignore this during compile time |
155 | 156 | it 'should autostart via the exit 101' do |
156 | 157 | expect(chef_run).to run_execute('disable auto-start 1/2') |
157 | 158 | end |
158 | 159 |
|
| 160 | + # ~FC005 -- we should ignore this during compile time |
159 | 161 | it 'should disable the autostart 2/2' do |
160 | 162 | expect(chef_run).to run_execute('disable auto-start 2/2') |
161 | 163 | end |
162 | 164 |
|
| 165 | + # ~FC005 -- we should ignore this during compile time |
163 | 166 | it 'should install the logrotate package' do |
164 | 167 | expect(chef_run).to install_package('logrotate') |
165 | 168 | end |
|
0 commit comments