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

Legacy facts used for operating system family #279

Open
Gaelmare opened this issue Oct 13, 2020 · 0 comments
Open

Legacy facts used for operating system family #279

Gaelmare opened this issue Oct 13, 2020 · 0 comments

Comments

@Gaelmare
Copy link

This fails for me using

puppet --version
5.5.20

on Fedora 31.

Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, 
Unrecognized operating system, please use it on a Linux or SunOS host
(file: /home/xx/modules/oradb/manifests/prepareautostart.pp, line: 76, column: 7) (file: /home/xx/modules/xx/manifests/init.pp, line: 202) on node xx

This line

case $facts['operatingsystem'] {

should be

  case $facts['os']['family'] {
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