integ/config/puppet-modules/puppet-network
Andre Fernando Zanella Kantek 85d465a42b Set directory path variable names unique for Debian on puppet-network
It was observed in some debian installations that the value of
SCRIPT_DIRECTORY was /etc/sysconfig/network instead of
/var/run/network-scripts.puppet/. This was caused due to the fact that
the file redhat.rb on the puppet-network plugin also is declaring
a SCRIPT_DIRECTORY string with freeze and, depending on how the system
was loading, this module it would overwrite the value set in
interfaces.rb (used for Debian).

This corrections make the variable names unique on the debian files,
interfaces.rb and routes.rb, to prevent them to be overwitten

Test plan
PASS Debian installation done on virtualbox
PASS host unlock with correct network configuration after reboot

Story: 2009101
Task: 44908

Signed-off-by: Andre Fernando Zanella Kantek <AndreFernandoZanella.Kantek@windriver.com>
Change-Id: I30c9d16f824bfd42854717d743f0c9d9e9bf3eb2
2022-03-31 16:13:27 -03:00
..
centos Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
debian Set directory path variable names unique for Debian on puppet-network 2022-03-31 16:13:27 -03:00