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

Unsupported OSFamily RedHat on node #151

Closed
sharkannon opened this issue Jul 16, 2014 · 6 comments
Closed

Unsupported OSFamily RedHat on node #151

sharkannon opened this issue Jul 16, 2014 · 6 comments
Labels
bug Something isn't working
Milestone

Comments

@sharkannon
Copy link

Puppet Version: 3.6.1+
Facter Version: 2.1.0
OS: Centos 5.7

When I add Jenkins to a node, I get the following error:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Unsupported OSFamily RedHat on node

I was able to correct this by changing sysconfig.pp to use quotes for the operating systems.

$path = $::osfamily ? {
'RedHat' => '/etc/sysconfig',
'Suse' => '/etc/sysconfig',
'Debian' => '/etc/default',
default => fail( "Unsupported OSFamily ${::osfamily}" )
}

@rtyler rtyler added the bug Something isn't working label Sep 22, 2014
@rtyler rtyler added this to the 1.2.0: Nestor milestone Sep 22, 2014
@rtyler
Copy link

rtyler commented Sep 22, 2014

@sharkannon What is the output of your machine's factor osfamily?

@sharkannon
Copy link
Author

RedHat, it appears to be a quoting issue.

@rtyler
Copy link

rtyler commented Sep 22, 2014

@sharkannon HEAD of master has things quoted in sysconfig.pp, what version were you having issues with?

@sharkannon
Copy link
Author

v1.1.0, looking at HEAD it appears that you've fixed it there.

@sharkannon
Copy link
Author

looks like commit 92d9cdd

Fixed it

@rtyler
Copy link

rtyler commented Sep 22, 2014

Excellent, it will be released soon

@rtyler rtyler closed this as completed Sep 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants