Sha256: ce1df11a6e889e019e0c2579a5b8af9d78384e52cdbde8093e569fd590cbb877

Contents?: true

Size: 1.06 KB

Versions: 19

Compression:

Stored size: 1.06 KB

Contents

test_name "Install Puppet Server" do
  skip_test "not testing with puppetserver" unless @options['is_puppetserver']

  server_version = ENV['SERVER_VERSION'] || 'latest'
  release_stream = ENV['RELEASE_STREAM'] || 'puppet'
  nightly_builds_url = ENV['NIGHTLY_BUILDS_URL'] || 'http://nightlies.puppet.com'
  dev_builds_url  = ENV['DEV_BUILDS_URL'] || 'http://builds.delivery.puppetlabs.net'

  if nightly_builds_url == 'http://nightlies.puppet.com'
    yum_nightlies_url = nightly_builds_url + '/yum'
    apt_nightlies_url = nightly_builds_url + '/apt'
  else
    yum_nightlies_url = nightly_builds_url
    apt_nightlies_url = nightly_builds_url
  end

  if server_version == 'latest'
    opts = {
      :release_yum_repo_url => yum_nightlies_url,
      :release_apt_repo_url => apt_nightlies_url
    }
    install_puppetlabs_release_repo_on(master, "#{release_stream}-nightly", opts)
    master.install_package('puppetserver')
  else
    install_from_build_data_url('puppetserver', "#{dev_builds_url}/puppetserver/#{server_version}/artifacts/#{server_version}.yaml", master)
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
beaker-puppet-1.17.0 setup/common/011_Install_Puppet_Server.rb
beaker-puppet-1.16.0 setup/common/011_Install_Puppet_Server.rb
beaker-puppet-1.15.1 setup/common/011_Install_Puppet_Server.rb
beaker-puppet-1.15.0 setup/common/011_Install_Puppet_Server.rb
beaker-puppet-1.14.0 setup/common/011_Install_Puppet_Server.rb
beaker-puppet-1.13.0 setup/common/011_Install_Puppet_Server.rb
beaker-puppet-1.12.0 setup/common/011_Install_Puppet_Server.rb
beaker-puppet-1.11.0 setup/common/011_Install_Puppet_Server.rb
beaker-puppet-1.10.0 setup/common/011_Install_Puppet_Server.rb
beaker-puppet-1.9.0 setup/common/011_Install_Puppet_Server.rb
beaker-puppet-1.8.0 setup/common/011_Install_Puppet_Server.rb
beaker-puppet-1.7.0 setup/aio/011_Install_Puppet_Server.rb
beaker-puppet-1.6.0 setup/aio/011_Install_Puppet_Server.rb
beaker-puppet-1.5.0 setup/aio/011_Install_Puppet_Server.rb
beaker-puppet-1.4.0 setup/aio/011_Install_Puppet_Server.rb
beaker-puppet-1.3.0 setup/aio/011_Install_Puppet_Server.rb
beaker-puppet-1.2.0 setup/aio/011_Install_Puppet_Server.rb
beaker-puppet-1.1.0 setup/aio/011_Install_Puppet_Server.rb
beaker-puppet-1.0.1 setup/aio/011_Install_Puppet_Server.rb