From: Silvio Rhatto Date: Sun, 9 Mar 2014 13:51:51 +0000 (-0300) Subject: Renaming templates X-Git-Tag: 0.2.2~73 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=538e1978f23b015c26d5d842512e10f0dc1ca09e;p=hydra.git Renaming templates --- diff --git a/share/config/templates/node/node.example.org.yaml b/share/config/templates/node/nodo.example.org.yaml similarity index 100% rename from share/config/templates/node/node.example.org.yaml rename to share/config/templates/node/nodo.example.org.yaml diff --git a/share/config/templates/node/node.pp b/share/config/templates/node/nodo.pp similarity index 100% rename from share/config/templates/node/node.pp rename to share/config/templates/node/nodo.pp diff --git a/share/hydra/newnode b/share/hydra/newnode index 4011ef2..a0e8dfd 100755 --- a/share/hydra/newnode +++ b/share/hydra/newnode @@ -47,10 +47,10 @@ DOMAIN="`cat $HYDRA_FOLDER/config/domain`" echo "import \"nodes/$NODE.pp\"" >> $NODES # Set YAML template -if [ -e "$HYDRA_FOLDER/config/templates/node/node.example.org.yaml" ]; then - YAML="$HYDRA_FOLDER/config/templates/node/node.example.org.yaml" +if [ -e "$HYDRA_FOLDER/config/templates/node/nodo.example.org.yaml" ]; then + YAML="$HYDRA_FOLDER/config/templates/node/nodo.example.org.yaml" else - YAML="$APP_BASE/share/config/templates/node/node.example.org.yaml" + YAML="$APP_BASE/share/config/templates/node/nodo.example.org.yaml" fi # Set node template