aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcthorn42 <christopher.thorn@puppet.com>2022-09-06 13:14:51 -0700
committerGitHub <noreply@github.com>2022-09-06 13:14:51 -0700
commit709c1d7dacef195d0f7f66dae38bc53420b102ef (patch)
tree583fbb97aa326dad5cfdf66dd6dde5090af91c4e
parenta168bfe1d0812c36ac4d65a781d3ec7b2b3a56d0 (diff)
parent2e3bc7218ec9baa7d65a2e20edbe5841fef67954 (diff)
downloadpuppet-augeas_core-709c1d7dacef195d0f7f66dae38bc53420b102ef.tar.gz
puppet-augeas_core-709c1d7dacef195d0f7f66dae38bc53420b102ef.tar.bz2
Merge pull request #54 from cthorn42/maint/main/FM-8982_fix_augeas_failure_on_fedora36
(maint) Fix Augeas testing failure for fedora36
-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'