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

Various tidying and refactoring #113

Merged
merged 4 commits into from
Dec 5, 2018
Merged

Conversation

alexjfisher
Copy link
Member

@alexjfisher alexjfisher commented Dec 2, 2018

  • Stop using relative class/variable names
  • Remove duplicate resource relationships
  • Use facts hash instead of topscope variables
  • Don't use Variant[Undef, Array]

Not needed or recommended since Puppet 4.
Use `Optional[Array]` or just `Array` depending on what the default is.
`options` for `inputs` and `outputs` should probably have the same
default, but I'm not sure which one is 'correct'.
@alexjfisher alexjfisher changed the title WIP: Various tidying and refactoring Various tidying and refactoring Dec 2, 2018
Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

Looks good

manifests/install.pp Show resolved Hide resolved
@alexjfisher alexjfisher merged commit 7b1860b into voxpupuli:master Dec 5, 2018
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

Successfully merging this pull request may close these issues.

2 participants