Skip to content

Commit 75331b1

Browse files
committed
(maint) Add SLES acceptance testing
1 parent 0ba073a commit 75331b1

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

spec/spec_helper_acceptance.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
on host, 'dpkg -i puppetlabs-release-pc1-$(lsb_release -c -s).deb'
2525
on host, 'apt-get -y -m update'
2626
on host, 'apt-get install -y puppetserver'
27+
elsif host['platform'] =~ %r{sles}
28+
on host, 'zypper repos'
29+
on host, 'sudo zypper addrepo http://yum.puppetlabs.com/puppet5/sles/12/x86_64/ puppet'
30+
on host, 'zypper install puppetserver'
2731
else
2832
raise "install_puppet() called for unsupported platform '#{host['platform']}' on '#{host.name}'"
2933
end

0 commit comments

Comments
 (0)