diff --git a/metadata.json b/metadata.json index e437cc2a1..35aafdd23 100644 --- a/metadata.json +++ b/metadata.json @@ -42,6 +42,9 @@ }, { "operatingsystem": "OpenBSD" + }, + { + "operatingsystem": "Archlinux" } ], "requirements": [ diff --git a/spec/classes/rabbitmq_spec.rb b/spec/classes/rabbitmq_spec.rb index 473d5c330..3cbda3d4b 100644 --- a/spec/classes/rabbitmq_spec.rb +++ b/spec/classes/rabbitmq_spec.rb @@ -17,7 +17,8 @@ has_systemd = ( (facts[:osfamily] == 'RedHat' && facts[:os]["release"]["major"].to_i >= 7) || - (facts[:osfamily] == 'Debian' && facts[:os]["release"]["full"] == '16.04') + (facts[:osfamily] == 'Debian' && facts[:os]["release"]["full"] == '16.04') || + (facts[:osfamily] == 'Archlinux') ) it { is_expected.to compile.with_all_deps }