aboutsummaryrefslogtreecommitdiff
path: root/share/hydra/nodes
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-03-22 13:48:42 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-03-22 13:48:42 -0300
commit38defecb3a09b175ff9f3520a146358a5250c5a3 (patch)
treeea9770f19d307c70619c76357ebfc621dfce34a4 /share/hydra/nodes
parentbdd58beb8ccf1fc8abf43ba4f940e9c438ec9297 (diff)
downloadhydra-38defecb3a09b175ff9f3520a146358a5250c5a3.tar.gz
hydra-38defecb3a09b175ff9f3520a146358a5250c5a3.tar.bz2
Rename 'hiera' to 'config'
Diffstat (limited to 'share/hydra/nodes')
-rwxr-xr-xshare/hydra/nodes6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/hydra/nodes b/share/hydra/nodes
index e2a318d..a80e6c1 100755
--- a/share/hydra/nodes
+++ b/share/hydra/nodes
@@ -18,8 +18,8 @@
# Get a list of puppet node files
function hydra_node_files {
- if [ -d "$PUPPET/hiera/node/" ]; then
- FILES="$PUPPET/hiera/node/*"
+ if [ -d "$PUPPET/config/node/" ]; then
+ FILES="$PUPPET/config/node/*"
fi
}
@@ -49,7 +49,7 @@ hydra_node_files
# Get nodes
if [ ! -z "$CLASS" ]; then
hydra_nodes | while read node; do
- find $PUPPET/hiera -name "$node.yaml"
+ find $PUPPET/config -name "$node.yaml"
done | while read candidate; do
if grep -e "$CLASS" $candidate | grep -qe "^nodo::role"; then
basename $candidate .yaml