sensu / sensu-ansible

An Ansible role to deploy a fully dynamic Sensu stack!
https://ansible-sensu.readthedocs.io
MIT License
126 stars 96 forks source link

Adds OracleLinux install #215

Closed michaelpporter closed 5 years ago

michaelpporter commented 5 years ago

Adds support for OracleLinux

jaredledvina commented 5 years ago

Can we leverage https://hub.docker.com/r/dokken/oraclelinux-7 to get this included with molecule?

michaelpporter commented 5 years ago

Can we leverage https://hub.docker.com/r/dokken/oraclelinux-7 to get this included with molecule?

I will see what I can do tonight.

michaelpporter commented 5 years ago

Hum, there is something different with our host from docker:

Our host

[root@ip-X-X-X-X ~]# yum install epel-release
Loaded plugins: ulninfo
epel/x86_64/metalink                                                                                                                                                                                                                                                  |  18 kB  00:00:00
epel                                                                                                                                                                                                                                                                  | 4.7 kB  00:00:00
mysql-connectors-community                                                                                                                                                                                                                                            | 2.5 kB  00:00:00
mysql-tools-community                                                                                                                                                                                                                                                 | 2.5 kB  00:00:00
mysql56-community                                                                                                                                                                                                                                                     | 2.5 kB  00:00:00
ol7_UEKR3                                                                                                                                                                                                                                                             | 1.2 kB  00:00:00
ol7_latest                                                                                                                                                                                                                                                            | 1.4 kB  00:00:00
sensu                                                                                                                                                                                                                                                                 | 2.5 kB  00:00:00
(1/3): epel/x86_64/updateinfo                                                                                                                                                                                                                                         | 959 kB  00:00:00
(2/3): sensu/7Server/x86_64/primary_db                                                                                                                                                                                                                                |  87 kB  00:00:00
(3/3): epel/x86_64/primary_db                                                                                                                                                                                                                                         | 6.6 MB  00:00:01
(1/3): ol7_latest/x86_64/group                                                                                                                                                                                                                                        | 810 kB  00:00:00
(2/3): ol7_latest/x86_64/updateinfo                                                                                                                                                                                                                                   | 838 kB  00:00:00
(3/3): ol7_latest/x86_64/primary                                                                                                                                                                                                                                      |  12 MB  00:00:00
ol7_latest                                                                                                                                                                                                                                                                       12252/12252
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-7 will be updated
---> Package epel-release.noarch 0:7-11 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================================================================================================================
 Package                                                                    Arch                                                                 Version                                                            Repository                                                          Size
=============================================================================================================================================================================================================================================================================================
Updating:
 epel-release                                                               noarch                                                               7-11                                                               epel                                                                15 k

Transaction Summary
=============================================================================================================================================================================================================================================================================================
Upgrade  1 Package

Total download size: 15 k
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
epel-release-7-11.noarch.rpm                                                                                                                                                                                                                                          |  15 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : epel-release-7-11.noarch                                                                                                                                                                                                                                                  1/2
  Cleanup    : epel-release-7-7.noarch                                                                                                                                                                                                                                                   2/2
  Verifying  : epel-release-7-11.noarch                                                                                                                                                                                                                                                  1/2
  Verifying  : epel-release-7-7.noarch                                                                                                                                                                                                                                                   2/2

Updated:
  epel-release.noarch 0:7-11

Complete!

Docker

    fatal: [oraclelinux-7]: FAILED! => {"changed": false, "msg": "No package matching 'epel-release' found available, installed or updated", "rc": 126, "results": ["No package matching 'epel-release' found available, installed or updated"]}

Looking in to it.

michaelpporter commented 5 years ago

@jaredledvina Passes locally, I could not get a OL6 build to work so I think we stick with OL7 the testing.