diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-09-20 19:16:19 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-09-20 19:16:19 -0300 |
commit | 793a4889babe1f98cd2937eeef2fad0892ddfa38 (patch) | |
tree | 3d1288a9a76a163d165225a97ea06b472be80187 /share | |
parent | aafc0161f938bb29d42f6de001866ad824168716 (diff) | |
download | hydra-793a4889babe1f98cd2937eeef2fad0892ddfa38.tar.gz hydra-793a4889babe1f98cd2937eeef2fad0892ddfa38.tar.bz2 |
New node scheme
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydra/newnode | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/hydra/newnode b/share/hydra/newnode index 95829a1..7cb7ae4 100755 --- a/share/hydra/newnode +++ b/share/hydra/newnode @@ -23,7 +23,7 @@ hydra_config_load # Parameters BASENAME="`basename $0`" NODE="$1" -NODES="$HYDRA_FOLDER/puppet/manifests/nodes.pp" +NODES="$HYDRA_FOLDER/puppet/manifests/site.pp" # Check configuration and parameters if [ -z "$NODE" ]; then @@ -33,7 +33,7 @@ elif [ ! -e "$HYDRA_FOLDER/config/domain" ]; then echo "fatal: please configure your domain at $HYDRA_FOLDER/config/domain" exit 1 elif [ ! -f "$NODES" ]; then - echo "fatal: nodes.pp not found" + echo "fatal: $NODES not found" exit 1 elif grep -qe "^import \"nodes/$NODE.pp\"$" $NODES &> /dev/null; then echo "fatal: node $NODE already defined" |