Move nova.conf truncation into separate element
This patch refactors the hiera elements 40-truncate-nova-config os-refresh-config script out into a separate element. I recently tried deploying without this truncation and it still appears to be required. As we are moving towards using a different hiera element we need to include this element separately. Note: The new hiera agent heat hook is required before we can use t-h-t in the undercloud so resolving this issue is a prerequisite for that effort. Change-Id: I6b2da9fbb6cf418a388d29db5148087b33f79b4f Partially-Implements: blueprint heat-undercloud
This commit is contained in:
parent
df2715d6a5
commit
6ec9d658e3
@ -2,3 +2,4 @@ os-apply-config
|
||||
os-refresh-config
|
||||
package-installs
|
||||
puppet
|
||||
truncate-nova-config
|
||||
|
1
elements/truncate-nova-config/README.md
Normal file
1
elements/truncate-nova-config/README.md
Normal file
@ -0,0 +1 @@
|
||||
Truncate config files.
|
1
elements/truncate-nova-config/element-deps
Normal file
1
elements/truncate-nova-config/element-deps
Normal file
@ -0,0 +1 @@
|
||||
os-refresh-config
|
7
elements/truncate-nova-config/install.d/11-truncate-nova-orc-install
Executable file
7
elements/truncate-nova-config/install.d/11-truncate-nova-orc-install
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -eux
|
||||
set -o pipefail
|
||||
|
||||
mkdir -p /usr/libexec/os-refresh-config/configure.d/40-truncate-nova-config
|
||||
install -m 0755 -o root -g root $(dirname $0)/../40-truncate-nova-config /usr/libexec/os-refresh-config/configure.d/40-truncate-nova-config
|
Loading…
Reference in New Issue
Block a user