Skip to content

Module doesn't work with Amazon linux #27

@mattboston

Description

@mattboston

Amazon Linux is a derivative of RHEL6/CentOS6 and functions exactly the same, but for some reason your module fails.

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: OS: Amazon not supported at /etc/puppet/modules/nfs/manifests/params.pp:21 on node ops-backup
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

If I update the Params.pp file to add 'amazon' to the RHEL definition, then I get the following error.

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: No matching value for selector param 'undef' at /etc/puppet/modules/nfs/manifests/client/redhat/service.pp:17 on node ops-backup
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

Here's the relevant facter info from an Amazon Linux instance

facter osfamily operatingsystem osmajor

operatingsystem => Amazon
osfamily => RedHat
osmajor =>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions