From 72ad232d0308b368779e69b3b68b9017be823e7c Mon Sep 17 00:00:00 2001 From: Lance Albertson Date: Mon, 19 Oct 2020 12:34:12 -0700 Subject: [PATCH] Enable IPv6 for lo for the canonical suite This is needed to ensure it converges correctly. Signed-off-by: Lance Albertson --- kitchen.yml | 1 + test/fixtures/cookbooks/test/recipes/net_setup.rb | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 test/fixtures/cookbooks/test/recipes/net_setup.rb diff --git a/kitchen.yml b/kitchen.yml index 9e70fff..ebfff31 100644 --- a/kitchen.yml +++ b/kitchen.yml @@ -43,6 +43,7 @@ suites: - name: canonical run_list: + - recipe[test::net_setup] - recipe[postfix] attributes: postfix: diff --git a/test/fixtures/cookbooks/test/recipes/net_setup.rb b/test/fixtures/cookbooks/test/recipes/net_setup.rb new file mode 100644 index 0000000..e75459a --- /dev/null +++ b/test/fixtures/cookbooks/test/recipes/net_setup.rb @@ -0,0 +1,3 @@ +sysctl 'net.ipv6.conf.lo.disable_ipv6' do + value 0 +end