: 819 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28


require 'spec_helper'

describe 'freeipa::install::autofs' do
  on_supported_os.each do |os, os_facts|
    context "on #{os}" do
      let(:facts) { os_facts }
      let(:pre_condition) do
        manifest = <<-EOS
          class{ 'freeipa' :
            ipa_role                    => 'master',
            ipa_master_fqdn             => 'master.example.lan',
            ipa_server_fqdn             => 'foo.example.lan',
            domain                      => 'example.lan',
            password_usedto_joindomain  => 'foobartest',
            puppet_admin_password       => 'foobartest',
            directory_services_password => 'foobartest',
            ip_address                  => '10.10.10.35',
          }
        EOS
        manifest
      end

      it { is_expected.to compile }
    end
  end
end