diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2015-09-18 09:53:15 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2015-09-18 10:28:24 +0000 |
commit | aeeab946dac9100be26756bfd4948f4b52df386e (patch) | |
tree | e7f49236d1f0ba027cc049c79395192f6bdaa6e9 /extensions/install-files.configure.help | |
parent | 5407fd1066c3a4e56d34f5db9e8a7c5d71745937 (diff) | |
download | definitions-aeeab946dac9100be26756bfd4948f4b52df386e.tar.gz |
install-files: Allow definition of manifests in multiple variables
install-files was initially designed such that if you wanted to install
multiple manifests you should put multiple whitespace separated paths in
the INSTALL_FILES variable.
This is clunky if you want to extend the set of files to install,
particularly in cluster deployments with multiple systems,
as otherwise you could make use of YAML merge keys.
So now, like fstab.configure you can set multple options, by using
environment variables that start with INSTALL_FILES.
It's also easier to extend the set of install files on the command-line
or in the environment this way too, since you don't need to parse the
YAML to see what it originally had.
Change-Id: I298db7ae9790a536e5a5f32b069d0908012695af
Diffstat (limited to 'extensions/install-files.configure.help')
-rw-r--r-- | extensions/install-files.configure.help | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/extensions/install-files.configure.help b/extensions/install-files.configure.help index 991c26c8..191e1378 100644 --- a/extensions/install-files.configure.help +++ b/extensions/install-files.configure.help @@ -40,6 +40,18 @@ help: | INSTALL_FILES: sshkeysfiles/manifest + All variables starting INSTALL_FILES are considered, and are processed in + alphabetical order, so if INSTALL_FILES, INSTALL_FILES_distbuild and + INSTALL_FILES_openstack are given, manifests in INSTALL_FILES are processed + before those in INSTALL_FILES_distbuild, followed by INSTALL_FILES_openstack. + + Multiple manifest files may be given in the same INSTALL_FILES variable, + by providing a whitespace separated list. + + Shell word splitting is supported, so if a manifest's path has spaces in, + the path may be shell escaped. + + More generally entries in the manifest are formatted as: [overwrite] <octal mode> <uid decimal> <gid decimal> <filename> |