Skip to content

Commit ca5fcae

Browse files
committed
Update ntp to e02640f
e02640f Merge pull request redhat-openstack#273 from hunner/typo ad190a9 Typo of install method 2bdd22a Merge pull request redhat-openstack#271 from hunner/add_helper 5ac074e Add helper to install puppet/pe/puppet-agent Change-Id: I250467fcc30e067d6d79a0f3508013cc936bbf86
1 parent 0a1dcb4 commit ca5fcae

3 files changed

Lines changed: 5 additions & 17 deletions

File tree

Puppetfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ mod 'nssdb',
131131
:git => 'https://github.com/rcritten/puppet-nssdb.git'
132132

133133
mod 'ntp',
134-
:commit => '413a705d3b61eda9fb3651affb8cf79251c11d98',
134+
:commit => 'e02640f066279808e9bd6cfa49b90e7792c0fa00',
135135
:git => 'https://github.com/puppetlabs/puppetlabs-ntp'
136136

137137
mod 'openstack_extras',

ntp/Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ group :system_tests do
2828
gem 'beaker-rspec', :require => false
2929
end
3030
gem 'serverspec', :require => false
31+
gem 'beaker-puppet_install_helper', :require => false
3132
end
3233

3334

ntp/spec/spec_helper_acceptance.rb

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,13 @@
11
require 'beaker-rspec'
2+
require 'beaker/puppet_install_helper'
23

34
UNSUPPORTED_PLATFORMS = ['windows', 'Darwin']
45

56
unless ENV['RS_PROVISION'] == 'no' or ENV['BEAKER_provision'] == 'no'
6-
# This will install the latest available package on el and deb based
7-
# systems fail on windows and osx, and install via gem on other *nixes
8-
foss_opts = {
9-
:default_action => 'gem_install',
10-
:version => (ENV['PUPPET_VERSION'] || '3.8.1'),
11-
}
12-
13-
if default.is_pe?; then
14-
install_pe;
15-
else
16-
install_puppet(foss_opts);
17-
end
7+
8+
run_puppet_install_helper
189

1910
hosts.each do |host|
20-
unless host.is_pe?
21-
on host, "/bin/echo '' > #{host['hieraconf']}"
22-
end
23-
on host, "mkdir -p #{host['distmoduledir']}"
2411
if host['platform'] =~ /sles-12/i || host['platform'] =~ /solaris-11/i
2512
apply_manifest_on(host, 'package{"git":}')
2613
on host, 'git clone -b 4.6.x https://github.com/puppetlabs/puppetlabs-stdlib /etc/puppetlabs/puppet/modules/stdlib'

0 commit comments

Comments
 (0)