Skip to content
This repository was archived by the owner on Jun 11, 2019. It is now read-only.
This repository was archived by the owner on Jun 11, 2019. It is now read-only.

Please add "OracleLinux" to your modules #9

@supernovae

Description

@supernovae

The version checking in some of your puppet-modules-nextgen checks for redhat, centos and scientific Linux, but doesn't look for "OracleLinux". Can you add "OracleLinux" to the default checks? 👍

I think debian has a bug with facter so everyone has to fugde around it, but the MySQL puppet code I found here seems to have the most platform support:

Use "osfamily" if available (which should be RedHat for all RedHat OS's), otherwise, derive the crap and re-create it :)

Thanks!

if ! $::osfamily {
case $::operatingsystem {
'RedHat', 'Fedora', 'CentOS', 'Scientific', 'SLC', 'Ascendos', 'CloudLinux', 'PSBM', 'OracleLinux', 'OVS', 'OEL': {
$osfamily = 'RedHat'
}
'ubuntu', 'debian': {
$osfamily = 'Debian'
}
'SLES', 'SLED', 'OpenSuSE', 'SuSE': {
$osfamily = 'Suse'
}
'Solaris', 'Nexenta': {
$osfamily = 'Solaris'
}
default: {
$osfamily = $::operatingsystem
}
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions