-# remove current networking configurations
-rm -f /etc/sysconfig/network-scripts/{ifcfg,route}-{eth,docker}*
+all_systems() {
+ # install specific versions of puppet modules
+ puppet module install puppetlabs-stdlib -v 4.5.1
+ puppet module install puppetlabs-concat -v 1.2.0
+ puppet module install lex-dnsmasq -v 2.6.1
+
+ # write the subdomain information into a custom facter fact
+ mkdir -p /etc/facter/facts.d/
+ echo "subdomain=${SUBDOM}" > /etc/facter/facts.d/subdomain.txt
+
+ # final bits
+ puppet apply /vagrant/confignetwork.pp
+
+}
+
+rh_systems_init() {
+ # for some reason not all systems have @base installed
+ yum install -y -q @base
+
+ # also make sure that a few other utilities are definitely installed
+ yum install -y -q unzip xz