diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-09 10:50:35 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-09 10:50:35 -0300 |
commit | 980497a2eb55b597b294ffb8e7db32f52e9b1a0c (patch) | |
tree | 558f9f1c890eb16b6ffcb6fe33f209c31267f1bd /share | |
parent | 3ac461125d96ade8d24b89467b5b2f15b41b591e (diff) | |
download | hydra-980497a2eb55b597b294ffb8e7db32f52e9b1a0c.tar.gz hydra-980497a2eb55b597b294ffb8e7db32f52e9b1a0c.tar.bz2 |
Minor fix at newnode
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 |