File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 27
27
it { is_expected . to contain_class ( 'rabbitmq::install' ) }
28
28
it { is_expected . to contain_class ( 'rabbitmq::config' ) . that_notifies ( 'Class[rabbitmq::service]' ) }
29
29
it { is_expected . to contain_class ( 'rabbitmq::service' ) }
30
+ it { is_expected . to contain_class ( 'rabbitmq::management' ) }
30
31
31
32
it { is_expected . to contain_package ( name ) . with_ensure ( 'installed' ) . with_name ( name ) }
32
33
188
189
notify : 'Class[Rabbitmq::Service]'
189
190
)
190
191
is_expected . to contain_archive ( 'rabbitmqadmin' ) . with_source ( 'http://1.1.1.1:15672/cli/rabbitmqadmin' )
192
+ is_expected . to contain_file ( '/usr/local/bin/rabbitmqadmin' ) . with_owner ( 'root' ) . with_mode ( '0755' )
193
+ is_expected . to contain_exec ( 'remove_old_rabbitmqadmin_on_upgrade' ) . with_command ( "rm #{ rabbitmq_home } /rabbitmqadmin" )
191
194
end
192
195
193
196
it { is_expected . to contain_package ( 'python' ) } if %w[ RedHat SUSE Archlinux ] . include? ( os_facts [ 'os' ] [ 'family' ] )
You can’t perform that action at this time.
0 commit comments