Sha256: 585a708fe7b4fa889b7221eb513a2633a2f6f9ba00f37586dd19a92215b30b45

Contents?: true

Size: 907 Bytes

Versions: 19

Compression:

Stored size: 907 Bytes

Contents

require 'spec_helper'
require 'json'

describe BeakerAnswers::Version20171 do
  let(:ver)         { '2017.1.0' }
  let(:options)     { StringifyHash.new }
  let(:mono_hosts) do
    basic_hosts = make_hosts({'pe_ver' => ver }, 1)
    basic_hosts[0]['roles'] = ['master', 'agent', 'dashboard', 'database']
    basic_hosts[0]['platform'] = 'el-7-x86_64'
    basic_hosts
  end
  let(:answers)     { BeakerAnswers::Answers.create(ver, hosts, options) }
  let(:answer_hash) { answers.answers }

  context 'when generating a default 1.0 config' do
    context 'for a monolithic install' do
      let(:hosts) { mono_hosts }
      let(:gold_role_answers) do
        {
          "console_admin_password" => default_password,
          "puppet_enterprise::puppet_master_host" => hosts[0].hostname,
        }
      end

      include_examples 'pe.conf'
      include_examples 'valid MEEP 1.0 pe.conf'
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
beaker-answers-0.29.0 spec/beaker-answers/versions/version20171_spec.rb
beaker-answers-0.28.0 spec/beaker-answers/versions/version20171_spec.rb
beaker-answers-0.27.0 spec/beaker-answers/versions/version20171_spec.rb
beaker-answers-0.26.3 spec/beaker-answers/versions/version20171_spec.rb
beaker-answers-0.26.2 spec/beaker-answers/versions/version20171_spec.rb
beaker-answers-0.26.1 spec/beaker-answers/versions/version20171_spec.rb
beaker-answers-0.26.0 spec/beaker-answers/versions/version20171_spec.rb
beaker-answers-0.25.0 spec/beaker-answers/versions/version20171_spec.rb
beaker-answers-0.24.0 spec/beaker-answers/versions/version20171_spec.rb
beaker-answers-0.23.0 spec/beaker-answers/versions/version20171_spec.rb
beaker-answers-0.22.0 spec/beaker-answers/versions/version20171_spec.rb
beaker-answers-0.21.0 spec/beaker-answers/versions/version20171_spec.rb
beaker-answers-0.20.0 spec/beaker-answers/versions/version20171_spec.rb
beaker-answers-0.19.0 spec/beaker-answers/versions/version20171_spec.rb
beaker-answers-0.18.0 spec/beaker-answers/versions/version20171_spec.rb
beaker-answers-0.17.0 spec/beaker-answers/versions/version20171_spec.rb
beaker-answers-0.16.0 spec/beaker-answers/versions/version20171_spec.rb
beaker-answers-0.15.0 spec/beaker-answers/versions/version20171_spec.rb
beaker-answers-0.14.0 spec/beaker-answers/versions/version20171_spec.rb