aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-09 10:50:35 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-09 10:50:35 -0300
commit980497a2eb55b597b294ffb8e7db32f52e9b1a0c (patch)
tree558f9f1c890eb16b6ffcb6fe33f209c31267f1bd /share
parent3ac461125d96ade8d24b89467b5b2f15b41b591e (diff)
downloadhydra-980497a2eb55b597b294ffb8e7db32f52e9b1a0c.tar.gz
hydra-980497a2eb55b597b294ffb8e7db32f52e9b1a0c.tar.bz2
Minor fix at newnode
Diffstat (limited to 'share')
-rw-r--r--share/config/templates/node/node.pp2
-rwxr-xr-xshare/hydra/newnode2
2 files changed, 2 insertions, 2 deletions
diff --git a/share/config/templates/node/node.pp b/share/config/templates/node/node.pp
index 976316b..a5345b3 100644
--- a/share/config/templates/node/node.pp
+++ b/share/config/templates/node/node.pp
@@ -1,3 +1,3 @@
-node 'node.example.org' {
+node 'nodo.example.org' {
include nodo
}
diff --git a/share/hydra/newnode b/share/hydra/newnode
index e6da2ad..4011ef2 100755
--- a/share/hydra/newnode
+++ b/share/hydra/newnode
@@ -69,7 +69,7 @@ mkdir -p $HYDRA_FOLDER/puppet/manifests/nodes
cp $PP $HYDRA_FOLDER/puppet/manifests/nodes/$NODE.pp
# Edit the template
-sed -i -e "s/node/$NODE/g" $HYDRA_FOLDER/puppet/manifests/nodes/$NODE.pp
+sed -i -e "s/nodo/$NODE/g" $HYDRA_FOLDER/puppet/manifests/nodes/$NODE.pp
sed -i -e "s/example.org/$DOMAIN/g" $HYDRA_FOLDER/puppet/manifests/nodes/$NODE.pp
# Add to git