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

Use new hash style for facts #672

Merged
merged 1 commit into from
Aug 18, 2021
Merged

Use new hash style for facts #672

merged 1 commit into from
Aug 18, 2021

Conversation

cocker-cc
Copy link

  • use Hash $::facts['bla']['blubb'] instead of legacy global Variables

@@ -2,8 +2,8 @@

facts = {
:kernel => 'Linux',
:os => {:family => 'Debian', :name => 'Debian'},
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a Bug, and only did not appear because $::osfamily was used in the PP-Files.

 - use Hash $::facts['bla']['blubb'] instead of legacy global Variables
Comment on lines -14 to -15
:family => 'Debian',
:name => 'Debian'
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a Bug, and only did not appear because $::osfamily was used in the PP-Files.

@lbetz lbetz self-requested a review July 28, 2021 09:38
@lbetz
Copy link
Contributor

lbetz commented Jul 28, 2021

Thx for your work.

@lbetz lbetz changed the title Use Hash $::facts['bla']['blubb'] Use new hash style for facts Aug 18, 2021
@lbetz lbetz added this to the v3.2.0 milestone Aug 18, 2021
@lbetz lbetz merged commit be3c7c8 into voxpupuli:master Aug 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants