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

(PDK-508) implement autorequire and friends #29

Merged
merged 3 commits into from
Mar 13, 2018

Conversation

DavidS
Copy link
Contributor

@DavidS DavidS commented Feb 26, 2018

No description provided.

@DavidS DavidS force-pushed the pdk-508-autofriends branch 3 times, most recently from 2b2185b to b2ea82d Compare March 9, 2018 17:41
@DavidS DavidS force-pushed the pdk-508-autofriends branch 2 times, most recently from dffac68 to bc43895 Compare March 12, 2018 11:34
By pulling in puppetlabs_spec_helper into the main project, we can run
tests for the `test_module` in the main test suite without friction.
This makes it easier and quicker to run this kind of tests.

See the next commits for usage.

This requires puppetlabs/puppetlabs_spec_helper#234
This is a separate commit to make it easier to see what was changed
for the test.
The spec/classes/autorequire_cycle_spec.rb test shows that the
autorelations implementation of the Resource API does build relations.
Since rspec-puppet doesn't provide matching on compile errors, this
builds a test case that compiles when make_cycle is false, thereby
proving that there is no error in the manifest, but fails with a
dependency cycle error when make_cycle is set to true.
@da-ar da-ar merged commit 4330ff7 into puppetlabs:master Mar 13, 2018
@DavidS DavidS deleted the pdk-508-autofriends branch March 26, 2018 17:38
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