From 740d48c3683408f6a3f62aa0aff65e2127ee5908 Mon Sep 17 00:00:00 2001 From: Derek Higgins Date: Fri, 29 Aug 2014 10:25:19 +0100 Subject: [PATCH] Fix up os-collect-config.conf on the seed Move the creation of os-collect-config.conf on the seed to 11-seed-stack-heat-metadata so it happens after 10-os-collect-config (and doesn't get overwriten). Also change case of the default section to DEFAULT, oslo.config requires it to be uppercase. Change-Id: I6b75d448384e1647f8414765c8122460e6c28e60 --- .../install.d/01-seed-stack-heat-metadata | 8 -------- .../install.d/11-seed-stack-heat-metadata | 10 ++++++++++ 2 files changed, 10 insertions(+), 8 deletions(-) create mode 100755 elements/seed-stack-config/install.d/11-seed-stack-heat-metadata diff --git a/elements/seed-stack-config/install.d/01-seed-stack-heat-metadata b/elements/seed-stack-config/install.d/01-seed-stack-heat-metadata index bf1fc3c39..a6880b2bb 100755 --- a/elements/seed-stack-config/install.d/01-seed-stack-heat-metadata +++ b/elements/seed-stack-config/install.d/01-seed-stack-heat-metadata @@ -11,11 +11,3 @@ else CONFIG_FILE="$CONFIG_DIR/config.json" fi install -D -m 0755 -o root -g root "$CONFIG_FILE" /var/lib/heat-cfntools/cfn-init-data - -# Run only the heat_local collector when first booting -cat > /etc/os-collect-config.conf < /etc/os-collect-config.conf <