diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-10-20 17:09:17 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-10-20 17:09:17 -0200 |
commit | da1a0163422409a836833135c1bab77b0f4dc113 (patch) | |
tree | e8f215c8db8145200c86dc7dc3c9c9a4f0dbcb69 | |
parent | 5efc7799d6fa7cd9122075e350f48292469dfcea (diff) | |
download | hydra-da1a0163422409a836833135c1bab77b0f4dc113.tar.gz hydra-da1a0163422409a836833135c1bab77b0f4dc113.tar.bz2 |
Fix node.pp config
-rwxr-xr-x | share/hydra/newnode | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/share/hydra/newnode b/share/hydra/newnode index 19f1f8d..e78b9bb 100755 --- a/share/hydra/newnode +++ b/share/hydra/newnode @@ -78,8 +78,7 @@ mkdir -p $HYDRA_FOLDER/puppet/manifests/nodes cp $PP $HYDRA_FOLDER/puppet/manifests/nodes/$NODE.pp # Edit the template -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 +sed -i -e "s/nodename.example.org/$NODE/g" $HYDRA_FOLDER/puppet/manifests/nodes/$NODE.pp # Add to git ( |