Merge "debian: Remove drbd workaround"

This commit is contained in:
Zuul 2022-05-17 17:43:21 +00:00 committed by Gerrit Code Review
commit cbc2d7b0df

View File

@ -33,13 +33,7 @@ if [ ! -f ${bifile} ]; then
sed -i "s@random: '--random',@random: '--random-fully',@g" /usr/share/puppet/modules.available/puppetlabs-firewall/lib/puppet/provider/firewall/iptables.rb
touch ${bifile}
fi
# UAR 24:
sed -i 's@ \$ha_primary.*= false,@ \$ha_primary = true,@g' /usr/share/puppet/modules/drbd/manifests/resource.pp
sed -i 's@ \$ha_primary.*= false,@ \$ha_primary = true,@g' /usr/share/puppet/modules/platform/manifests/drbd.pp
sed -i 's@ \$automount.*= false,@ \$automount = true,@g' /usr/share/puppet/modules/platform/manifests/drbd.pp
systemctl daemon-reload
# UAR 26: not a fix
bifile='/home/sysadmin/.uar26'
if [ ! -f ${bifile} ]; then