aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/config/templates/node/nodo.pp2
-rwxr-xr-xshare/hydra/newnode2
2 files changed, 2 insertions, 2 deletions
diff --git a/share/config/templates/node/nodo.pp b/share/config/templates/node/nodo.pp
index a5345b3..1d6cdf6 100644
--- a/share/config/templates/node/nodo.pp
+++ b/share/config/templates/node/nodo.pp
@@ -1,3 +1,3 @@
-node 'nodo.example.org' {
+node 'nodename.example.org' {
include nodo
}
diff --git a/share/hydra/newnode b/share/hydra/newnode
index ea069d7..e5ab9a9 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/nodo/$NODE/g" $HYDRA_FOLDER/puppet/manifests/nodes/$NODE.pp
+sed -i -e "s/nodename/$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