Steve Baker | bfdad75 | 2012-08-18 09:00:42 +1200 | [diff] [blame] | 1 | # lib/heat |
Dean Troyer | 6d04fd7 | 2012-12-21 11:03:37 -0600 | [diff] [blame] | 2 | # Install and start **Heat** service |
| 3 | |
Steve Baker | bfdad75 | 2012-08-18 09:00:42 +1200 | [diff] [blame] | 4 | # To enable, add the following to localrc |
Kieran Spear | 7033829 | 2013-05-28 11:31:31 +1000 | [diff] [blame] | 5 | # ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng |
Steve Baker | bfdad75 | 2012-08-18 09:00:42 +1200 | [diff] [blame] | 6 | |
| 7 | # Dependencies: |
| 8 | # - functions |
| 9 | |
| 10 | # stack.sh |
| 11 | # --------- |
Dean Troyer | 6d04fd7 | 2012-12-21 11:03:37 -0600 | [diff] [blame] | 12 | # install_heatclient |
| 13 | # install_heat |
| 14 | # configure_heatclient |
| 15 | # configure_heat |
| 16 | # init_heat |
| 17 | # start_heat |
| 18 | # stop_heat |
| 19 | # cleanup_heat |
Steve Baker | bfdad75 | 2012-08-18 09:00:42 +1200 | [diff] [blame] | 20 | |
Dean Troyer | 7903b79 | 2012-09-13 17:16:12 -0500 | [diff] [blame] | 21 | # Save trace setting |
| 22 | XTRACE=$(set +o | grep xtrace) |
| 23 | set +o xtrace |
Steve Baker | bfdad75 | 2012-08-18 09:00:42 +1200 | [diff] [blame] | 24 | |
| 25 | |
| 26 | # Defaults |
| 27 | # -------- |
Dean Troyer | cc6b443 | 2013-04-08 15:38:03 -0500 | [diff] [blame] | 28 | |
| 29 | # set up default directories |
Steve Baker | bfdad75 | 2012-08-18 09:00:42 +1200 | [diff] [blame] | 30 | HEAT_DIR=$DEST/heat |
Steve Baker | 32761a4 | 2012-11-05 09:57:57 +1300 | [diff] [blame] | 31 | HEATCLIENT_DIR=$DEST/python-heatclient |
Steve Baker | c324908 | 2013-04-09 13:41:47 +1200 | [diff] [blame] | 32 | HEAT_AUTH_CACHE_DIR=${HEAT_AUTH_CACHE_DIR:-/var/cache/heat} |
Steve Baker | 389b3a0 | 2013-08-01 10:44:09 +1200 | [diff] [blame] | 33 | HEAT_STANDALONE=`trueorfalse False $HEAT_STANDALONE` |
Dean Troyer | cc6b443 | 2013-04-08 15:38:03 -0500 | [diff] [blame] | 34 | |
| 35 | # Functions |
| 36 | # --------- |
Steve Baker | bfdad75 | 2012-08-18 09:00:42 +1200 | [diff] [blame] | 37 | |
| 38 | # cleanup_heat() - Remove residual data files, anything left over from previous |
| 39 | # runs that a clean run would need to clean up |
| 40 | function cleanup_heat() { |
Steve Baker | c324908 | 2013-04-09 13:41:47 +1200 | [diff] [blame] | 41 | sudo rm -rf $HEAT_AUTH_CACHE_DIR |
Steve Baker | bfdad75 | 2012-08-18 09:00:42 +1200 | [diff] [blame] | 42 | } |
| 43 | |
| 44 | # configure_heat() - Set config files, create data dirs, etc |
| 45 | function configure_heat() { |
| 46 | setup_develop $HEAT_DIR |
| 47 | |
| 48 | HEAT_CONF_DIR=/etc/heat |
| 49 | if [[ ! -d $HEAT_CONF_DIR ]]; then |
| 50 | sudo mkdir -p $HEAT_CONF_DIR |
| 51 | fi |
Attila Fazekas | 91b8d13 | 2013-01-06 22:40:09 +0100 | [diff] [blame] | 52 | sudo chown $STACK_USER $HEAT_CONF_DIR |
Steve Baker | bfdad75 | 2012-08-18 09:00:42 +1200 | [diff] [blame] | 53 | |
Angus Salkeld | e279021 | 2012-09-11 11:24:09 +1000 | [diff] [blame] | 54 | HEAT_API_CFN_HOST=${HEAT_API_CFN_HOST:-$SERVICE_HOST} |
| 55 | HEAT_API_CFN_PORT=${HEAT_API_CFN_PORT:-8000} |
Steve Baker | bfdad75 | 2012-08-18 09:00:42 +1200 | [diff] [blame] | 56 | HEAT_ENGINE_HOST=${HEAT_ENGINE_HOST:-$SERVICE_HOST} |
| 57 | HEAT_ENGINE_PORT=${HEAT_ENGINE_PORT:-8001} |
Angus Salkeld | e279021 | 2012-09-11 11:24:09 +1000 | [diff] [blame] | 58 | HEAT_API_CW_HOST=${HEAT_API_CW_HOST:-$SERVICE_HOST} |
| 59 | HEAT_API_CW_PORT=${HEAT_API_CW_PORT:-8003} |
Steve Baker | bb421be | 2012-10-10 13:19:10 +1300 | [diff] [blame] | 60 | HEAT_API_HOST=${HEAT_API_HOST:-$SERVICE_HOST} |
| 61 | HEAT_API_PORT=${HEAT_API_PORT:-8004} |
Steve Baker | d5cd79b | 2013-04-13 11:14:41 -0700 | [diff] [blame] | 62 | HEAT_API_PASTE_FILE=$HEAT_CONF_DIR/api-paste.ini |
| 63 | HEAT_POLICY_FILE=$HEAT_CONF_DIR/policy.json |
| 64 | |
| 65 | cp $HEAT_DIR/etc/heat/api-paste.ini $HEAT_API_PASTE_FILE |
| 66 | cp $HEAT_DIR/etc/heat/policy.json $HEAT_POLICY_FILE |
Steve Baker | bfdad75 | 2012-08-18 09:00:42 +1200 | [diff] [blame] | 67 | |
Dean Troyer | 6d04fd7 | 2012-12-21 11:03:37 -0600 | [diff] [blame] | 68 | # Cloudformation API |
Angus Salkeld | e279021 | 2012-09-11 11:24:09 +1000 | [diff] [blame] | 69 | HEAT_API_CFN_CONF=$HEAT_CONF_DIR/heat-api-cfn.conf |
| 70 | cp $HEAT_DIR/etc/heat/heat-api-cfn.conf $HEAT_API_CFN_CONF |
Ben Nemec | 0399794 | 2013-08-10 09:56:16 -0500 | [diff] [blame^] | 71 | iniset $HEAT_API_CFN_CONF DEFAULT debug $ENABLE_DEBUG_LOG_LEVEL |
Angus Salkeld | e279021 | 2012-09-11 11:24:09 +1000 | [diff] [blame] | 72 | inicomment $HEAT_API_CFN_CONF DEFAULT log_file |
| 73 | iniset $HEAT_API_CFN_CONF DEFAULT use_syslog $SYSLOG |
| 74 | iniset $HEAT_API_CFN_CONF DEFAULT bind_host $HEAT_API_CFN_HOST |
| 75 | iniset $HEAT_API_CFN_CONF DEFAULT bind_port $HEAT_API_CFN_PORT |
Steve Baker | c324908 | 2013-04-09 13:41:47 +1200 | [diff] [blame] | 76 | iniset $HEAT_API_CFN_CONF keystone_authtoken auth_host $KEYSTONE_AUTH_HOST |
| 77 | iniset $HEAT_API_CFN_CONF keystone_authtoken auth_port $KEYSTONE_AUTH_PORT |
| 78 | iniset $HEAT_API_CFN_CONF keystone_authtoken auth_protocol $KEYSTONE_AUTH_PROTOCOL |
| 79 | iniset $HEAT_API_CFN_CONF keystone_authtoken auth_uri $KEYSTONE_SERVICE_PROTOCOL://$KEYSTONE_SERVICE_HOST:$KEYSTONE_SERVICE_PORT/v2.0 |
| 80 | iniset $HEAT_API_CFN_CONF keystone_authtoken admin_tenant_name $SERVICE_TENANT_NAME |
| 81 | iniset $HEAT_API_CFN_CONF keystone_authtoken admin_user heat |
| 82 | iniset $HEAT_API_CFN_CONF keystone_authtoken admin_password $SERVICE_PASSWORD |
| 83 | iniset $HEAT_API_CFN_CONF keystone_authtoken signing_dir $HEAT_AUTH_CACHE_DIR/api-cfn |
Steve Baker | fd1ebe7 | 2013-04-13 09:49:14 +1000 | [diff] [blame] | 84 | iniset $HEAT_API_CFN_CONF ec2authtoken auth_uri $KEYSTONE_SERVICE_PROTOCOL://$KEYSTONE_SERVICE_HOST:$KEYSTONE_SERVICE_PORT/v2.0 |
| 85 | iniset $HEAT_API_CFN_CONF ec2authtoken keystone_ec2_uri $KEYSTONE_SERVICE_PROTOCOL://$KEYSTONE_SERVICE_HOST:$KEYSTONE_SERVICE_PORT/v2.0/ec2tokens |
Steve Baker | 389b3a0 | 2013-08-01 10:44:09 +1200 | [diff] [blame] | 86 | [[ "$HEAT_STANDALONE" = "True" ]] && iniset $HEAT_API_CFN_CONF paste_deploy flavor standalone |
Steve Baker | bfdad75 | 2012-08-18 09:00:42 +1200 | [diff] [blame] | 87 | |
Akihiro MOTOKI | b0f1c38 | 2013-01-13 17:58:12 +0900 | [diff] [blame] | 88 | iniset_rpc_backend heat $HEAT_API_CFN_CONF DEFAULT |
Steve Baker | bfdad75 | 2012-08-18 09:00:42 +1200 | [diff] [blame] | 89 | |
Dean Troyer | 6d04fd7 | 2012-12-21 11:03:37 -0600 | [diff] [blame] | 90 | # OpenStack API |
Steve Baker | bb421be | 2012-10-10 13:19:10 +1300 | [diff] [blame] | 91 | HEAT_API_CONF=$HEAT_CONF_DIR/heat-api.conf |
| 92 | cp $HEAT_DIR/etc/heat/heat-api.conf $HEAT_API_CONF |
Ben Nemec | 0399794 | 2013-08-10 09:56:16 -0500 | [diff] [blame^] | 93 | iniset $HEAT_API_CONF DEFAULT debug $ENABLE_DEBUG_LOG_LEVEL |
Steve Baker | bb421be | 2012-10-10 13:19:10 +1300 | [diff] [blame] | 94 | inicomment $HEAT_API_CONF DEFAULT log_file |
| 95 | iniset $HEAT_API_CONF DEFAULT use_syslog $SYSLOG |
| 96 | iniset $HEAT_API_CONF DEFAULT bind_host $HEAT_API_HOST |
| 97 | iniset $HEAT_API_CONF DEFAULT bind_port $HEAT_API_PORT |
Steve Baker | c324908 | 2013-04-09 13:41:47 +1200 | [diff] [blame] | 98 | iniset $HEAT_API_CONF keystone_authtoken auth_host $KEYSTONE_AUTH_HOST |
| 99 | iniset $HEAT_API_CONF keystone_authtoken auth_port $KEYSTONE_AUTH_PORT |
| 100 | iniset $HEAT_API_CONF keystone_authtoken auth_protocol $KEYSTONE_AUTH_PROTOCOL |
| 101 | iniset $HEAT_API_CONF keystone_authtoken auth_uri $KEYSTONE_SERVICE_PROTOCOL://$KEYSTONE_SERVICE_HOST:$KEYSTONE_SERVICE_PORT/v2.0 |
| 102 | iniset $HEAT_API_CONF keystone_authtoken admin_tenant_name $SERVICE_TENANT_NAME |
| 103 | iniset $HEAT_API_CONF keystone_authtoken admin_user heat |
| 104 | iniset $HEAT_API_CONF keystone_authtoken admin_password $SERVICE_PASSWORD |
| 105 | iniset $HEAT_API_CONF keystone_authtoken signing_dir $HEAT_AUTH_CACHE_DIR/api |
Steve Baker | fd1ebe7 | 2013-04-13 09:49:14 +1000 | [diff] [blame] | 106 | iniset $HEAT_API_CONF ec2authtoken auth_uri $KEYSTONE_SERVICE_PROTOCOL://$KEYSTONE_SERVICE_HOST:$KEYSTONE_SERVICE_PORT/v2.0 |
| 107 | iniset $HEAT_API_CONF ec2authtoken keystone_ec2_uri $KEYSTONE_SERVICE_PROTOCOL://$KEYSTONE_SERVICE_HOST:$KEYSTONE_SERVICE_PORT/v2.0/ec2tokens |
Steve Baker | 389b3a0 | 2013-08-01 10:44:09 +1200 | [diff] [blame] | 108 | [[ "$HEAT_STANDALONE" = "True" ]] && iniset $HEAT_API_CONF paste_deploy flavor standalone |
Akihiro MOTOKI | b0f1c38 | 2013-01-13 17:58:12 +0900 | [diff] [blame] | 109 | iniset_rpc_backend heat $HEAT_API_CONF DEFAULT |
Steve Baker | bb421be | 2012-10-10 13:19:10 +1300 | [diff] [blame] | 110 | |
Steve Baker | bb421be | 2012-10-10 13:19:10 +1300 | [diff] [blame] | 111 | |
Angus Salkeld | e279021 | 2012-09-11 11:24:09 +1000 | [diff] [blame] | 112 | # engine |
Steve Baker | bfdad75 | 2012-08-18 09:00:42 +1200 | [diff] [blame] | 113 | HEAT_ENGINE_CONF=$HEAT_CONF_DIR/heat-engine.conf |
Angus Salkeld | e279021 | 2012-09-11 11:24:09 +1000 | [diff] [blame] | 114 | cp $HEAT_DIR/etc/heat/heat-engine.conf $HEAT_ENGINE_CONF |
Ben Nemec | 0399794 | 2013-08-10 09:56:16 -0500 | [diff] [blame^] | 115 | iniset $HEAT_ENGINE_CONF DEFAULT debug $ENABLE_DEBUG_LOG_LEVEL |
Steve Baker | bfdad75 | 2012-08-18 09:00:42 +1200 | [diff] [blame] | 116 | inicomment $HEAT_ENGINE_CONF DEFAULT log_file |
| 117 | iniset $HEAT_ENGINE_CONF DEFAULT use_syslog $SYSLOG |
| 118 | iniset $HEAT_ENGINE_CONF DEFAULT bind_host $HEAT_ENGINE_HOST |
| 119 | iniset $HEAT_ENGINE_CONF DEFAULT bind_port $HEAT_ENGINE_PORT |
Steve Baker | b592b29 | 2012-11-21 14:20:12 +1300 | [diff] [blame] | 120 | iniset $HEAT_ENGINE_CONF DEFAULT heat_metadata_server_url http://$HEAT_API_CFN_HOST:$HEAT_API_CFN_PORT |
Steve Baker | 9ec3421 | 2012-12-11 14:18:02 +1300 | [diff] [blame] | 121 | iniset $HEAT_ENGINE_CONF DEFAULT heat_waitcondition_server_url http://$HEAT_API_CFN_HOST:$HEAT_API_CFN_PORT/v1/waitcondition |
Steve Baker | b592b29 | 2012-11-21 14:20:12 +1300 | [diff] [blame] | 122 | iniset $HEAT_ENGINE_CONF DEFAULT heat_watch_server_url http://$HEAT_API_CW_HOST:$HEAT_API_CW_PORT |
Attila Fazekas | 7e79d91 | 2013-03-03 12:23:04 +0100 | [diff] [blame] | 123 | iniset $HEAT_ENGINE_CONF DEFAULT sql_connection `database_connection_url heat` |
Steve Baker | bfdad75 | 2012-08-18 09:00:42 +1200 | [diff] [blame] | 124 | iniset $HEAT_ENGINE_CONF DEFAULT auth_encryption_key `hexdump -n 16 -v -e '/1 "%02x"' /dev/random` |
| 125 | |
Akihiro MOTOKI | b0f1c38 | 2013-01-13 17:58:12 +0900 | [diff] [blame] | 126 | iniset_rpc_backend heat $HEAT_ENGINE_CONF DEFAULT |
Steve Baker | bfdad75 | 2012-08-18 09:00:42 +1200 | [diff] [blame] | 127 | |
Dean Troyer | 6d04fd7 | 2012-12-21 11:03:37 -0600 | [diff] [blame] | 128 | # Cloudwatch API |
Angus Salkeld | e279021 | 2012-09-11 11:24:09 +1000 | [diff] [blame] | 129 | HEAT_API_CW_CONF=$HEAT_CONF_DIR/heat-api-cloudwatch.conf |
| 130 | cp $HEAT_DIR/etc/heat/heat-api-cloudwatch.conf $HEAT_API_CW_CONF |
Ben Nemec | 0399794 | 2013-08-10 09:56:16 -0500 | [diff] [blame^] | 131 | iniset $HEAT_API_CW_CONF DEFAULT debug $ENABLE_DEBUG_LOG_LEVEL |
Angus Salkeld | e279021 | 2012-09-11 11:24:09 +1000 | [diff] [blame] | 132 | inicomment $HEAT_API_CW_CONF DEFAULT log_file |
| 133 | iniset $HEAT_API_CW_CONF DEFAULT use_syslog $SYSLOG |
| 134 | iniset $HEAT_API_CW_CONF DEFAULT bind_host $HEAT_API_CW_HOST |
| 135 | iniset $HEAT_API_CW_CONF DEFAULT bind_port $HEAT_API_CW_PORT |
Steve Baker | c324908 | 2013-04-09 13:41:47 +1200 | [diff] [blame] | 136 | iniset $HEAT_API_CW_CONF keystone_authtoken auth_host $KEYSTONE_AUTH_HOST |
| 137 | iniset $HEAT_API_CW_CONF keystone_authtoken auth_port $KEYSTONE_AUTH_PORT |
| 138 | iniset $HEAT_API_CW_CONF keystone_authtoken auth_protocol $KEYSTONE_AUTH_PROTOCOL |
| 139 | iniset $HEAT_API_CW_CONF keystone_authtoken auth_uri $KEYSTONE_SERVICE_PROTOCOL://$KEYSTONE_SERVICE_HOST:$KEYSTONE_SERVICE_PORT/v2.0 |
| 140 | iniset $HEAT_API_CW_CONF keystone_authtoken admin_tenant_name $SERVICE_TENANT_NAME |
| 141 | iniset $HEAT_API_CW_CONF keystone_authtoken admin_user heat |
| 142 | iniset $HEAT_API_CW_CONF keystone_authtoken admin_password $SERVICE_PASSWORD |
| 143 | iniset $HEAT_API_CW_CONF keystone_authtoken signing_dir $HEAT_AUTH_CACHE_DIR/api-cloudwatch |
Steve Baker | fd1ebe7 | 2013-04-13 09:49:14 +1000 | [diff] [blame] | 144 | iniset $HEAT_API_CW_CONF ec2authtoken auth_uri $KEYSTONE_SERVICE_PROTOCOL://$KEYSTONE_SERVICE_HOST:$KEYSTONE_SERVICE_PORT/v2.0 |
| 145 | iniset $HEAT_API_CW_CONF ec2authtoken keystone_ec2_uri $KEYSTONE_SERVICE_PROTOCOL://$KEYSTONE_SERVICE_HOST:$KEYSTONE_SERVICE_PORT/v2.0/ec2tokens |
Steve Baker | 389b3a0 | 2013-08-01 10:44:09 +1200 | [diff] [blame] | 146 | [[ "$HEAT_STANDALONE" = "True" ]] && iniset $HEAT_API_CW_CONF paste_deploy flavor standalone |
Angus Salkeld | e279021 | 2012-09-11 11:24:09 +1000 | [diff] [blame] | 147 | |
Akihiro MOTOKI | b0f1c38 | 2013-01-13 17:58:12 +0900 | [diff] [blame] | 148 | iniset_rpc_backend heat $HEAT_API_CW_CONF DEFAULT |
Angus Salkeld | e279021 | 2012-09-11 11:24:09 +1000 | [diff] [blame] | 149 | |
Steve Baker | bfdad75 | 2012-08-18 09:00:42 +1200 | [diff] [blame] | 150 | } |
| 151 | |
| 152 | # init_heat() - Initialize database |
| 153 | function init_heat() { |
| 154 | |
| 155 | # (re)create heat database |
Terry Wilson | 428af5a | 2012-11-01 16:12:39 -0400 | [diff] [blame] | 156 | recreate_database heat utf8 |
Steve Baker | bfdad75 | 2012-08-18 09:00:42 +1200 | [diff] [blame] | 157 | |
Steve Baker | e311132 | 2013-06-19 13:57:31 +1200 | [diff] [blame] | 158 | $HEAT_DIR/bin/heat-manage db_sync |
Steve Baker | c324908 | 2013-04-09 13:41:47 +1200 | [diff] [blame] | 159 | create_heat_cache_dir |
| 160 | } |
| 161 | |
| 162 | # create_heat_cache_dir() - Part of the init_heat() process |
| 163 | function create_heat_cache_dir() { |
| 164 | # Create cache dirs |
| 165 | sudo mkdir -p $HEAT_AUTH_CACHE_DIR/api |
| 166 | sudo chown $STACK_USER $HEAT_AUTH_CACHE_DIR/api |
| 167 | sudo mkdir -p $HEAT_AUTH_CACHE_DIR/api-cfn |
| 168 | sudo chown $STACK_USER $HEAT_AUTH_CACHE_DIR/api-cfn |
| 169 | sudo mkdir -p $HEAT_AUTH_CACHE_DIR/api-cloudwatch |
| 170 | sudo chown $STACK_USER $HEAT_AUTH_CACHE_DIR/api-cloudwatch |
Steve Baker | bfdad75 | 2012-08-18 09:00:42 +1200 | [diff] [blame] | 171 | } |
| 172 | |
Steve Baker | 32761a4 | 2012-11-05 09:57:57 +1300 | [diff] [blame] | 173 | # install_heatclient() - Collect source and prepare |
| 174 | function install_heatclient() { |
| 175 | git_clone $HEATCLIENT_REPO $HEATCLIENT_DIR $HEATCLIENT_BRANCH |
Sean Dague | d644e23 | 2013-07-25 15:34:48 -0400 | [diff] [blame] | 176 | setup_develop $HEATCLIENT_DIR |
Steve Baker | 32761a4 | 2012-11-05 09:57:57 +1300 | [diff] [blame] | 177 | } |
| 178 | |
Steve Baker | bfdad75 | 2012-08-18 09:00:42 +1200 | [diff] [blame] | 179 | # install_heat() - Collect source and prepare |
| 180 | function install_heat() { |
| 181 | git_clone $HEAT_REPO $HEAT_DIR $HEAT_BRANCH |
| 182 | } |
| 183 | |
| 184 | # start_heat() - Start running processes, including screen |
| 185 | function start_heat() { |
| 186 | screen_it h-eng "cd $HEAT_DIR; bin/heat-engine --config-file=$HEAT_CONF_DIR/heat-engine.conf" |
Steve Baker | bb421be | 2012-10-10 13:19:10 +1300 | [diff] [blame] | 187 | screen_it h-api "cd $HEAT_DIR; bin/heat-api --config-dir=$HEAT_CONF_DIR/heat-api.conf" |
Angus Salkeld | e279021 | 2012-09-11 11:24:09 +1000 | [diff] [blame] | 188 | screen_it h-api-cfn "cd $HEAT_DIR; bin/heat-api-cfn --config-dir=$HEAT_CONF_DIR/heat-api-cfn.conf" |
| 189 | screen_it h-api-cw "cd $HEAT_DIR; bin/heat-api-cloudwatch --config-dir=$HEAT_CONF_DIR/heat-api-cloudwatch.conf" |
Steve Baker | bfdad75 | 2012-08-18 09:00:42 +1200 | [diff] [blame] | 190 | } |
| 191 | |
Dean Troyer | 699a29f | 2012-09-10 14:10:27 -0500 | [diff] [blame] | 192 | # stop_heat() - Stop running processes |
Steve Baker | bfdad75 | 2012-08-18 09:00:42 +1200 | [diff] [blame] | 193 | function stop_heat() { |
Kieran Spear | 7033829 | 2013-05-28 11:31:31 +1000 | [diff] [blame] | 194 | # Kill the screen windows |
| 195 | for serv in h-eng h-api h-api-cfn h-api-cw; do |
Dean Troyer | 699a29f | 2012-09-10 14:10:27 -0500 | [diff] [blame] | 196 | screen -S $SCREEN_NAME -p $serv -X kill |
| 197 | done |
Steve Baker | bfdad75 | 2012-08-18 09:00:42 +1200 | [diff] [blame] | 198 | } |
Dean Troyer | 7903b79 | 2012-09-13 17:16:12 -0500 | [diff] [blame] | 199 | |
Dean Troyer | cc6b443 | 2013-04-08 15:38:03 -0500 | [diff] [blame] | 200 | |
Dean Troyer | 7903b79 | 2012-09-13 17:16:12 -0500 | [diff] [blame] | 201 | # Restore xtrace |
| 202 | $XTRACE |
Sean Dague | 584d90e | 2013-03-29 14:34:53 -0400 | [diff] [blame] | 203 | |
| 204 | # Local variables: |
| 205 | # mode: shell-script |
| 206 | # End: |