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

Add Puppet 5 compatibility #74

Merged
merged 3 commits into from
Jul 2, 2017

Conversation

dhollinger
Copy link
Member

@dhollinger dhollinger commented Jul 2, 2017

  • Adds Puppet 5 compatibility
  • Updates define tests with pre_condition
  • Updates define tests with rspec_puppet_facts integration
  • Updates define tests to test some definte resources that weren't getting fully tested
  • includes main autofs class in mount define to ensure package and service resources are available.

closes #73

Included autofs main class in define to ensure that the package
and service dependencies and notifications are met.
@dhollinger dhollinger requested review from bastelfreak and traylenator and removed request for traylenator July 2, 2017 05:50
@@ -62,6 +62,7 @@
Array $mapcontents = [],
Boolean $replace = true
) {
include 'autofs'
Copy link
Member

Choose a reason for hiding this comment

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

we need include ::autofs or contain ::autofs here.

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think a class can be contained multiple times?

Updated the define tests for Puppet 5, integrated puppet_rspec_facts
into the define tests, and ensured that unit coverage tested all
resources and defined resources at least once
@bastelfreak bastelfreak added the enhancement New feature or request label Jul 2, 2017
@bastelfreak bastelfreak merged commit 072acd7 into voxpupuli:master Jul 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not compatible with Puppet 5
3 participants