Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Setup Mackerel for AWS Elastic Beanstalk
packages:
rpm:
mackerel: "http://yum.mackerel.io/centos/x86_64/mackerel-agent-0.7.0-1.noarch.rpm"
files:
/etc/mackerel-agent/mackerel-agent.conf:
mode: "00644"
owner: root
group: root
encoding: plain
content: |
apikey = "YOUR API KEY"
roles = [ "Service:Role" ]
commands:
start_mackerel_agent:
command: "/etc/init.d/mackerel-agent restart"
ignoreErrors: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment