Use cfn tools under /usr/bin instead of /opt/aws/bin

It is not so common to have cnf-tools under /opt/aws/bin
in cloude images. For example, CentOS, RHEL or Fedora has
cfn tools under /usr/bin, and has nothing under /opt.

Even in Amazon Linux, cfn tools is located under /usr/bin
and access to /opt/aws/bin is redirected to /usr/bin
with symbolic link, so it could be make us easy to choose
an image to run scenario test by using more generic path,
under /usr/bin.

Change-Id: If2dd6ad3e2a03f62ea932e41a210f0ec0e4c4fcc
This commit is contained in:
Takashi Kajinami 2019-02-27 10:26:53 +09:00
parent e2373b3ba2
commit e70c886319
1 changed files with 2 additions and 2 deletions

View File

@ -71,8 +71,8 @@ Resources:
- WaitHandle: {Ref: WaitHandle}
- |
#!/bin/bash -v
/opt/aws/bin/cfn-init
/opt/aws/bin/cfn-signal -e 0 --data "`cat /tmp/smoke-status`" \
/usr/bin/cfn-init
/usr/bin/cfn-signal -e 0 --data "`cat /tmp/smoke-status`" \
--id smoke_status "WaitHandle"
WaitHandle:
Type: AWS::CloudFormation::WaitConditionHandle