Example: aeolus-configure -p rhevm,vsphere,ec2 --- bin/aeolus-configure | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/bin/aeolus-configure b/bin/aeolus-configure index 4fc9c5a..8f65d37 100644 --- a/bin/aeolus-configure +++ b/bin/aeolus-configure @@ -67,9 +67,14 @@ echo "Launching aeolus configuration recipe..."
export FACTER_AEOLUS_ENABLE_HTTPS=true export FACTER_AEOLUS_ENABLE_SECURITY=false -puppet /usr/share/aeolus-configure/modules/aeolus/aeolus.pp \ + +NODE_ARRAY=(`echo $PUPPET_NODE | tr "," "\n"`) +for x in "${NODE_ARRAY[@]}" +do + puppet /usr/share/aeolus-configure/modules/aeolus/aeolus.pp \ --modulepath=/usr/share/aeolus-configure/modules/ \ - --external_nodes "/bin/sh /usr/share/aeolus-configure/modules/aeolus/aeolus-node $PUPPET_NODE" --node_terminus exec \ + --external_nodes "/bin/sh /usr/share/aeolus-configure/modules/aeolus/aeolus-node $x" --node_terminus exec \ --logdest=/var/log/aeolus-configure/aeolus-configure.log \ --logdest=console \ $LOGLEVEL +done \ No newline at end of file
aeolus-devel@lists.fedorahosted.org