We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd112c1 commit 1aa7ae8Copy full SHA for 1aa7ae8
1 file changed
spec/spec_helper_acceptance.rb
@@ -24,6 +24,10 @@
24
on host, 'dpkg -i puppetlabs-release-pc1-$(lsb_release -c -s).deb'
25
on host, 'apt-get -y -m update'
26
on host, 'apt-get install -y puppetserver'
27
+ elsif host['platform'] =~ %r{sles-(11|12)}
28
+ relver = Regexp.last_match(1)
29
+ on host, "sudo zypper ar http://yum.puppetlabs.com/puppet5/sles/#{relver}/x86_64/ puppet"
30
+ on host, 'sudo zypper -n in puppetserver'
31
else
32
raise "install_puppet() called for unsupported platform '#{host['platform']}' on '#{host.name}'"
33
end
0 commit comments