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

Fix CI for PE.next #283

Merged
merged 3 commits into from Jul 16, 2015
Merged

Fix CI for PE.next #283

merged 3 commits into from Jul 16, 2015

Conversation

DavidS
Copy link
Contributor

@DavidS DavidS commented Jul 16, 2015

I've run this branch manually through jenkins and it was green: https://jenkins-modules.puppetlabs.com/view/2.%20linux%20only/view/ntp/view/master/

Solaris 11 doesn't ship the SSL CA root for the forgeapi server
therefore we need to use a different way to deploy the module to
the host. Since the location where puppet looks up the modules
changed between PE 3.x and 2015.2, we need to figure out the correct
location from the host that's being configured.
If the SUT doesn't have ntp installed at the beginning of the test run
(like ubuntu 12.04) or when the package is removed and re-installed, the
original code would not have deleted the hook script, as it was not
available yet or would have been reinstated. Installing the package
through the class then installed the hook and lead to failures of the
kind this was trying to avoid. using dpkg-divert instead will move the
file away everytime the package is installed by dpkg.

# Conflicts:
#	spec/spec_helper_acceptance.rb
bmjen added a commit that referenced this pull request Jul 16, 2015
@bmjen bmjen merged commit ee1105b into puppetlabs:master Jul 16, 2015
@DavidS DavidS deleted the fix-ci-for-pe-next branch July 19, 2016 10:48
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

2 participants