Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for AWS2 Linux? #325

Open
mkelderm opened this issue Mar 30, 2021 · 0 comments
Open

Support for AWS2 Linux? #325

mkelderm opened this issue Mar 30, 2021 · 0 comments

Comments

@mkelderm
Copy link

mkelderm commented Mar 30, 2021

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",**
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant