Skip to content

Instantly share code, notes, and snippets.

@hasancc
Created April 18, 2020 17:30
Show Gist options
  • Save hasancc/2c637d57e0ad7bd0f4653382bc12348d to your computer and use it in GitHub Desktop.
Save hasancc/2c637d57e0ad7bd0f4653382bc12348d to your computer and use it in GitHub Desktop.
Install Rsyslog 8 on Elastic Beanstalk
commands:
01_install_rsyslog:
command: yum install rsyslog --disablerepo=amzn-main -y
02_install_rsyslog-gnutls:
command: yum install rsyslog-gnutls --disablerepo=amzn-main -y
03_install_rsyslog-elasticsearch:
command: yum install rsyslog-elasticsearch --disablerepo=amzn-main -y
files:
"/etc/yum.repos.d/rsyslog.repo":
mod: "000644"
owner: root
group: root
content: |
[v8-stable]
name=Adiscon CentOS-6 - local packages for \$basearch
baseurl=http://rpms.adiscon.com/v8-stable/epel-6/\$basearch
enabled=1
gpgcheck=0
gpgkey=http://rpms.adiscon.com/RPM-GPG-KEY-Adiscon
protect=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment