aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/acceptance/tests/services_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/acceptance/tests/services_spec.rb b/spec/acceptance/tests/services_spec.rb
index 03175e3..38cc19b 100644
--- a/spec/acceptance/tests/services_spec.rb
+++ b/spec/acceptance/tests/services_spec.rb
@@ -1,5 +1,10 @@
require 'spec_helper_acceptance'
+# fedora36 has a malformed services entry that needs to be patched
+agents.each do |agent|
+ on(agent, 'sed -i "s/ircd,ircu3/ircd ircu3/" /etc/services') if agent.platform.include?('fedora-36')
+end
+
RSpec.context 'Augeas services file' do
before(:all) do
on agents, 'cp /etc/services /tmp/services.bak'