diff options
Diffstat (limited to 'share/hydra/whereis')
-rwxr-xr-x | share/hydra/whereis | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/share/hydra/whereis b/share/hydra/whereis index 515218b..8c09839 100755 --- a/share/hydra/whereis +++ b/share/hydra/whereis @@ -38,12 +38,12 @@ echo "-------------------------------------------------------------------------- echo "" # Is it a node? -if [ -e "$PUPPET/hiera/node/$LAYER.$DOMAIN.yaml" ]; then - echo "Defined as a node at hiera/node/$LAYER.$DOMAIN.yaml" +if [ -e "$PUPPET/config/node/$LAYER.$DOMAIN.yaml" ]; then + echo "Defined as a node at config/node/$LAYER.$DOMAIN.yaml" echo "Configuration:" echo "" - grep "nodo::role:" $PUPPET/hiera/node/$LAYER.$DOMAIN.yaml - grep "nodo::location:" $PUPPET/hiera/node/$LAYER.$DOMAIN.yaml + grep "nodo::role:" $PUPPET/config/node/$LAYER.$DOMAIN.yaml + grep "nodo::location:" $PUPPET/config/node/$LAYER.$DOMAIN.yaml fi # DNS config |