diff options
-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 ( |