puppet-puppetboard icon indicating copy to clipboard operation
puppet-puppetboard copied to clipboard

Support for AWS2 Linux?

Open mkelderm opened this issue 4 years ago • 0 comments

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",**
...

mkelderm avatar Mar 30 '21 15:03 mkelderm