# HG changeset patch # User IBBoard # Date 1581862376 0 # Node ID e765073832d94905bb0139314ef1a063332b6a8a # Parent c0e989d32b5c02346362fb74dde58bf1ecbc8fef Fix Augeas setting extra IPv6 lines Apparently you need to nest the quotes, because Augeas 🙄 https://puppet.com/docs/puppet/5.5/resources_augeas.html#ifcfg-bondingopts diff -r c0e989d32b5c -r e765073832d9 modules/website/manifests/init.pp --- a/modules/website/manifests/init.pp Sun Feb 16 12:15:17 2020 +0000 +++ b/modules/website/manifests/init.pp Sun Feb 16 14:12:56 2020 +0000 @@ -129,9 +129,10 @@ } if ($proxy_4to6_ip_prefix != undef) and ($proxy_upstream != undef) { $ipv6_secondaries = join($proxy_4to6_addresses, " ") - augeas {'/etc/sysconfig/network-scripts/ifcfg-eth0': + + augeas {'IPv6 secondary addresses': context => "/files/etc/sysconfig/network-scripts/ifcfg-eth0", - changes => "set IPV6ADDR_SECONDARIES '$ipv6_secondaries'", + changes => "set IPV6ADDR_SECONDARIES '\"$ipv6_secondaries\"'", } apache::mod { "remoteip": }