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

(MODULES-8318) Remove spec tests for puppet < 4 #350

Merged

Conversation

caseywilliams
Copy link
Contributor

Upgrades from puppet 3 won't be supported in release 2.0 of this module.
This removes spec tests specific to puppet < 4, and updates a few
stubbed values to be more consistent with versions in puppet 4+.

@puppetcla
Copy link

CLA signed by all contributors.

}
end
else
context 'on Puppet 4 or higher' do
Copy link
Contributor

@ekinanp ekinanp Dec 20, 2018

Choose a reason for hiding this comment

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

Why's this test removed for Puppet versions > 4?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I can't actually find stringify_facts at all anymore in the puppet 4+ docs. These deprecation notes for 3 suggest that it's still possible to set it to true there, though, so I will work on restoring this unless someone else has more info.

@ekinanp
Copy link
Contributor

ekinanp commented Dec 20, 2018

spec/classes/puppet_agent_windows_install_spec.rb also has some Puppet 3 stuff that should probably be removed.

Upgrades from puppet 3 won't be supported in release 2.0 of this module.
This removes spec tests specific to puppet < 4, and updates a few
stubbed values to be more consistent with versions in puppet 4+.
@caseywilliams caseywilliams force-pushed the MODULES-8318/update-specs-master branch from a48ddfe to bfc6a48 Compare January 2, 2019 20:26
@caseywilliams
Copy link
Contributor Author

Ok, Windows specs are updated -- after talking with @branan, we decided it doesn't seem worth keeping tests around stringify_facts, since 3.y support will be gone in the 2.0 release.

@ScottGarman ScottGarman merged commit 63ad770 into puppetlabs:master Jan 14, 2019
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.

None yet

4 participants