diff options
Diffstat (limited to 'share')
-rw-r--r-- | share/config/templates/node/node.pp | 2 | ||||
-rwxr-xr-x | share/hydra/newnode | 2 |
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 |