Skip to content

Support for AWS2 Linux? #325

@mkelderm

Description

@mkelderm

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 6
  • Ruby:
  • Distribution: Aws2 Linux
  • Module version: 7.0.2

How to reproduce (e.g Puppet code you use)

A puppet run on an server will result into Platform AWS not supported

What are you seeing

What behaviour did you expect instead

Output log

puppet/puppetboard: At the moment only Debian, Ubuntu and CentOS/RedHat are supported, not Amazon

Any additional information you'd like to impart

class puppetboard::params {
....
 case $facts['os']['name'] {
...
    'CentOS','RedHat': {
      $python_version = $facts['os']['release']['major'] ? {
        '7' => '3.6',
        '8' => '3.8',
      }
    }
...
    default: {
      fail("puppet/puppetboard: At the moment only Debian, Ubuntu and CentOS/RedHat are supported, not ${facts['os']['name']} in Version ${facts['os']['release']['full']}")
    }
facter -p os
{
  architecture => "x86_64",
  family => "RedHat",
  hardware => "x86_64",
  **name => "Amazon",**
...

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