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

Beaker tests modules 2665 #23

Merged
merged 1 commit into from
Nov 6, 2015

Conversation

iankronquist
Copy link

Once I get a +1 I'll squash the commits according to the contributing guidelines.

@iankronquist
Copy link
Author

@hunner @bmjen Could you review this when you have a chance?

I have not tested the Windows beaker tests. The examples of nodeset files I found had IP addresses which look like they might belong to Puppet's internal infrastructure.

end


if fact('osfamily') == 'Debian' || fact('osfamily') == 'RedHat'
Copy link
Contributor

Choose a reason for hiding this comment

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

Just a discussion topic, but would it be better if this said:

if fact('osfamily') != 'Windows'

Reasoning is, if we have an motd module, we should eventually (definitely) expand the support to include other *nix platforms that have /etc/motd management, like SuSE, AmazonLinux, etc. And it would be easier for the test to exclude windows vs include all the linux distros.

@iankronquist
Copy link
Author

@bmjen Fixed. Thanks.

@iankronquist iankronquist force-pushed the beaker-tests-MODULES-2665 branch 2 times, most recently from 5b91985 to 10339c0 Compare November 6, 2015 02:06
@bmjen
Copy link
Contributor

bmjen commented Nov 6, 2015

@iankronquist The line in the test with my comment still isn't updated.

@@ -0,0 +1,24 @@
require 'beaker-rspec'
Copy link
Contributor

Choose a reason for hiding this comment

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

This file should not be here. Looks like it was renamed but the old one was not removed.

Copy link
Author

Choose a reason for hiding this comment

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

Whoops. I think this accounts for some of the confusion earlier -- I was editing this file and not spec/spec_helper_acceptance.rb.

Also remove old dependencies which were deprecated.

According to a conversation on IRC with Hunner:

-----------------------------------------------
14:44:22  Hunner | Windows support sounds nice, but maybe we should just ditch it considering the
                 | overhead it adds
14:44:25  Hunner | let me check
14:49:05  Hunner | radens: Don't worry about running the windows tests. Document it and all, but I
                 | don't want to stick you with hours of getting windows VMs working... we'll get our
                 | qa to do that :D
14:50:45  radens | Okay, I'll ditch it.
-----------------------------------------------
hunner added a commit that referenced this pull request Nov 6, 2015
@hunner hunner merged commit 7dae9a6 into puppetlabs:master Nov 6, 2015
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.

5 participants