This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| container_commands: | |
| 90install_datadog: | |
| command: | | |
| yum -y makecache; yum -y install datadog-agent; /etc/init.d/datadog-agent stop | |
| 91setup_datadog: | |
| test: '[ ! -e /etc/dd-agent/datadog.conf ]' | |
| command: | | |
| sh -c "sed 's/api_key:.*/api_key: 3313a3949fc7419c9da373853ecf9025/' /etc/dd-agent/datadog.conf.example > /etc/dd-agent/datadog.conf" | |
| files: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| container_commands: | |
| 02mkdir_appdeploy_post: | |
| test: '[ ! -d /opt/elasticbeanstalk/hooks/appdeploy/post ]' | |
| command: | | |
| mkdir /opt/elasticbeanstalk/hooks/appdeploy/post | |
| 02mkdir_configdeploy_post: | |
| test: '[ ! -d /opt/elasticbeanstalk/hooks/configdeploy/post ]' | |
| command: | | |
| mkdir /opt/elasticbeanstalk/hooks/configdeploy/post | |
| 10appdeploy_pre_stop: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This is only meant as an example. | |
| # If you are intending a permanent patch, you should just fix the directory structure. | |
| # This tool is primarily for when alterations to the existing tree are impossible, or prohibitively demanding. | |
| # Prep example folders and files | |
| cd ~ | |
| mkdir bindTest | |
| mkdir bindTest2 | |
| touch bindTest/file | |
| touch bindTest2/file2 |