Browse Source

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 <mmalchuk@mirantis.com>
Maksim Malchuk 2 years ago
parent
commit
ead4998107
2 changed files with 5 additions and 0 deletions
  1. 4
    0
      iso/bootstrap_admin_node.sh
  2. 1
    0
      requirements-rpm.txt

+ 4
- 0
iso/bootstrap_admin_node.sh View File

@@ -25,6 +25,7 @@ VBOX_BLACKLIST_MODULES="i2c_piix4 intel_rapl"
25 25
 BOOTSTRAP_PACKAGES="yum-plugin-priorities yum-utils fuel-release"
26 26
 
27 27
 FUEL_PACKAGES=" \
28
+augeas \
28 29
 authconfig \
29 30
 bind-utils \
30 31
 bridge-utils \
@@ -338,6 +339,9 @@ if [ -f "${CUSTOM_REPOS}" ]; then
338 339
   fix_default_repos.py fuelmenu --repositories-file "${CUSTOM_REPOS}" || fail
339 340
 fi
340 341
 
342
+# setup stringify_facts for the puppet
343
+augtool set /files/etc/puppet/puppet.conf/main/stringify_facts false
344
+
341 345
 fuelmenu --save-only --iface=$ADMIN_INTERFACE || fail
342 346
 set +x
343 347
 echo "Done!"

+ 1
- 0
requirements-rpm.txt View File

@@ -1,6 +1,7 @@
1 1
 ami-creator
2 2
 apr-util
3 3
 atop
4
+augeas
4 5
 augeas-libs
5 6
 bakefile
6 7
 @Base

Loading…
Cancel
Save