diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-12-28 20:10:32 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-12-28 20:10:32 -0200 |
commit | 11a28d88f5b2b9935ba890347c9e15127924cf0b (patch) | |
tree | cde682caf34cf976f36e5e00de85fd522a569a93 /share | |
parent | 78139f05356e09352356926a351c77f40470bae5 (diff) | |
download | hydra-11a28d88f5b2b9935ba890347c9e15127924cf0b.tar.gz hydra-11a28d88f5b2b9935ba890347c9e15127924cf0b.tar.bz2 |
Deploy: fix ENV
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydra/deploy | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/share/hydra/deploy b/share/hydra/deploy index 91437ec..14aa170 100755 --- a/share/hydra/deploy +++ b/share/hydra/deploy @@ -65,8 +65,7 @@ for node in $NODES; do # Run puppet, overriding FQDN echo "Applying configuration..." - echo HOSTNAME=$FQDN FACTER_domain=$DOMAIN FACTER_hostname=$FQDN FACTER_fqdn=$HOSTNAME.$DOMAIN $DEPLOY_APPLY - exit + LC_ALL=C HOSTNAME=$FQDN FACTER_domain=$DOMAIN FACTER_hostname=$FQDN FACTER_fqdn=$HOSTNAME.$DOMAIN $DEPLOY_APPLY elif [ "$node" == "localhost" ] || [ "$node" == "`facter fqdn`" ] || [ "$node" == "`facter hostname`" ]; then echo "Deploying to localhost..." |