diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-09 10:51:51 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-09 10:51:51 -0300 |
commit | 538e1978f23b015c26d5d842512e10f0dc1ca09e (patch) | |
tree | 20ef082f88686952278e01284ccf06335eacbb66 | |
parent | 980497a2eb55b597b294ffb8e7db32f52e9b1a0c (diff) | |
download | hydra-538e1978f23b015c26d5d842512e10f0dc1ca09e.tar.gz hydra-538e1978f23b015c26d5d842512e10f0dc1ca09e.tar.bz2 |
Renaming templates
-rw-r--r-- | share/config/templates/node/nodo.example.org.yaml (renamed from share/config/templates/node/node.example.org.yaml) | 0 | ||||
-rw-r--r-- | share/config/templates/node/nodo.pp (renamed from share/config/templates/node/node.pp) | 0 | ||||
-rwxr-xr-x | share/hydra/newnode | 6 |
3 files changed, 3 insertions, 3 deletions
diff --git a/share/config/templates/node/node.example.org.yaml b/share/config/templates/node/nodo.example.org.yaml index 56bce89..56bce89 100644 --- a/share/config/templates/node/node.example.org.yaml +++ b/share/config/templates/node/nodo.example.org.yaml diff --git a/share/config/templates/node/node.pp b/share/config/templates/node/nodo.pp index a5345b3..a5345b3 100644 --- a/share/config/templates/node/node.pp +++ b/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 |