Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added -u flag

  • Loading branch information...
commit de534ea81009eae3ac48eb24d6aa385932cf2d1d 1 parent a9708c0
Tim Dysinger authored June 28, 2011
2  scripts/chef-client.sh
... ...
@@ -1,4 +1,4 @@
1  
-#!/bin/bash -ex
  1
+#!/bin/bash -eux
2 2
 
3 3
 # chef client
4 4
 perl -p -i -e 's/localhost/172.16.172.16/g' /etc/chef/client.rb
2  scripts/chef-server.sh
... ...
@@ -1,4 +1,4 @@
1  
-#!/bin/bash -ex
  1
+#!/bin/bash -eux
2 2
 
3 3
 if [ ! -f /etc/chef/client.pem ]; then
4 4
     perl -p -i -e 's/localhost/172.16.172.16/g' /etc/chef/server.rb
2  scripts/knife-client.sh
... ...
@@ -1,4 +1,4 @@
1  
-#!/bin/bash -ex
  1
+#!/bin/bash -eux
2 2
 
3 3
 # knife
4 4
 if [ ! -f /home/vagrant/.chef/knife.rb ]; then
2  scripts/knife-rsync.sh
... ...
@@ -1,4 +1,4 @@
1  
-#!/bin/bash -ex
  1
+#!/bin/bash -eux
2 2
 
3 3
 # knife rsync
4 4
 rsync -vac /vagrant/.chef/ /home/vagrant/.chef/
2  scripts/knife-upload.sh
... ...
@@ -1,4 +1,4 @@
1  
-#!/bin/bash -ex
  1
+#!/bin/bash -eux
2 2
 
3 3
 # upload
4 4
 if [ -d /vagrant/cookbooks/ ]; then
2  scripts/ssh-keygen.sh
... ...
@@ -1,4 +1,4 @@
1  
-#!/bin/bash -ex
  1
+#!/bin/bash -eux
2 2
 
3 3
 # ssh keygen
4 4
 if [ ! -f /home/vagrant/.ssh/id_rsa ]; then
2  scripts/ssh-rsync.sh
... ...
@@ -1,4 +1,4 @@
1  
-#!/bin/bash -ex
  1
+#!/bin/bash -eux
2 2
 
3 3
 # ssh rsync
4 4
 rsync -vac /vagrant/.ssh/ /home/vagrant/.ssh/

0 notes on commit de534ea

Please sign in to comment.
Something went wrong with that request. Please try again.