aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/sdc-sanity/startup.sh
blob: 349741c353a86589ce7da1f5508d1287bd703a81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

cd /root/chef-solo
chef-solo -c solo.rb -E ${ENVNAME}

rc=$?

if [[ $rc != 0 ]]; then
   echo "Sanity failed !!!"
   exit $rc
else
   echo "completed successfully :-)"
   exit 0
fi