From ead49981075c7dc064e3aa67acd456c76aadefc5 Mon Sep 17 00:00:00 2001 From: Maksim Malchuk Date: Wed, 13 Jul 2016 20:07:33 +0300 Subject: [PATCH] Setup stringify_facts for the puppet This change will setup stringify_facts to false for the puppet. Also, we need the tools to manage configuration files from the bash scripts, as we widely use augeas bindings in the puppet, lets use the same tools in the bash scripts. DocImpact Change-Id: I6c447f4a006825dd2dcdd8597f63f84eb2670556 Closes-Bug: #1602774 Closes-Bug: #1593207 Signed-off-by: Maksim Malchuk --- iso/bootstrap_admin_node.sh | 4 ++++ requirements-rpm.txt | 1 + 2 files changed, 5 insertions(+) diff --git a/iso/bootstrap_admin_node.sh b/iso/bootstrap_admin_node.sh index 9a0010e4a..9122f41a8 100755 --- a/iso/bootstrap_admin_node.sh +++ b/iso/bootstrap_admin_node.sh @@ -25,6 +25,7 @@ VBOX_BLACKLIST_MODULES="i2c_piix4 intel_rapl" BOOTSTRAP_PACKAGES="yum-plugin-priorities yum-utils fuel-release" FUEL_PACKAGES=" \ +augeas \ authconfig \ bind-utils \ bridge-utils \ @@ -338,6 +339,9 @@ if [ -f "${CUSTOM_REPOS}" ]; then fix_default_repos.py fuelmenu --repositories-file "${CUSTOM_REPOS}" || fail fi +# setup stringify_facts for the puppet +augtool set /files/etc/puppet/puppet.conf/main/stringify_facts false + fuelmenu --save-only --iface=$ADMIN_INTERFACE || fail set +x echo "Done!" diff --git a/requirements-rpm.txt b/requirements-rpm.txt index 3d2d5880a..7b1e31c33 100644 --- a/requirements-rpm.txt +++ b/requirements-rpm.txt @@ -1,6 +1,7 @@ ami-creator apr-util atop +augeas augeas-libs bakefile @Base