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-4241) Enable Windows acceptance testing #201

Merged
merged 2 commits into from Dec 22, 2016

Conversation

MikaelSmith
Copy link
Contributor

Update test setup to work with Windows paths and install behavior.
Fixes #197. Depends on #200.

@MikaelSmith
Copy link
Contributor Author

MikaelSmith commented Dec 22, 2016

Still a WIP, but getting pretty close. I'm having trouble getting the uninstall working.

@MikaelSmith MikaelSmith force-pushed the MODULES-3205 branch 2 times, most recently from 955600d to 2c8b4fe Compare December 22, 2016 01:51
@puppetcla
Copy link

CLA signed by all contributors.

@MikaelSmith
Copy link
Contributor Author

Darn, one scenario still fails.

@@ -0,0 +1,9 @@
Facter.add(:puppet_agent_appdata) do
Copy link
Contributor

Choose a reason for hiding this comment

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

Oh you should rebase these changes out of this PR.

@@ -45,6 +45,12 @@
default => "${::system32}\\cmd.exe"
}

if (member($::puppet_agent::service_names, 'puppet')) {
Copy link
Contributor

Choose a reason for hiding this comment

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

And these. :)

Ensure the Puppet service is enabled and started on Windows after an
upgrade when it's included in the `service` param by setting
`PUPPET_AGENT_STARTUP_MODE=Automatic`.

Fixes puppetlabs#197.
@MikaelSmith MikaelSmith force-pushed the MODULES-3205 branch 2 times, most recently from c54c492 to c424c95 Compare December 22, 2016 20:25
Update test setup to work with Windows paths and install behavior.
@MikaelSmith
Copy link
Contributor Author

Just disabled the whole mcollective section, it needs some work. This should now pass.

@MikaelSmith
Copy link
Contributor Author

I ran with

bundle exec beaker-hostgenerator redhat7-64ma-windows2012r2-64default.a > hosts.yaml
export BEAKER_setfile=hosts.yaml
export PUPPET_INSTALL_TYPE=agent
bundle exec rake beaker

@highb
Copy link
Contributor

highb commented Dec 22, 2016

👍 lgtm

@highb highb merged commit ca18107 into puppetlabs:master Dec 22, 2016
@MikaelSmith MikaelSmith deleted the MODULES-3205 branch December 22, 2016 22:01
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

3 participants