Sha256: 0f6ab6cd6d5f8ad541359a445d5c70c51299c0664e712eecba85b2d107975a86

Contents?: true

Size: 1.24 KB

Versions: 5

Compression:

Stored size: 1.24 KB

Contents

FactoryBot.define do
  factory :host_kubevirt, class: 'Host::Managed' do
    name { "susie-baynham.example.com" }
    last_compile { nil }
    last_report { nil }
    updated_at { nil }
    root_pass { "$5$pzp5IoYXH9WQT6Ks$fk1OzfJAK1" }
    architecture_id { 1 }
    operatingsystem_id { 3 }
    environment_id { 3 }
    ptable_id { 91 }
    medium_id { 13 }
    build { true }
    comment { "" }
    disk { "" }
    installed_at { nil }
    model_id { nil }
    hostgroup_id { 31 }
    owner_id { 4 }
    owner_type { "User" }
    enabled { true }
    puppet_ca_proxy_id { nil }
    managed { true }
    use_image { nil }
    image_file { nil }
    uuid { nil }
    compute_resource_id { 7 }
    puppet_proxy_id { 1 }
    certname { nil }
    image_id { nil }
    organization_id { 2 }
    location_id { 1 }
    type { "Host::Managed" }
    otp { nil }
    realm_id { nil }
    compute_profile_id { nil }
    provision_method { "build" }
    grub_pass { "$6$aRZAzZm1TOa5WAGX$.Cwxy5zCrjVQqHUE/0Ic9oQ" }
    global_status { 0 }
    lookup_value_matcher { "fqdn=susie-baynham.example.com" }
    pxe_loader { "PXELinux BIOS" }
    initiated_at { nil }
    build_errors { nil }

    trait :with_interfaces do
      interfaces { build_list :nic_kubevirt, 1 }
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_kubevirt-0.1.9 test/factories/host_factories.rb
foreman_kubevirt-0.1.8 test/factories/host_factories.rb
foreman_kubevirt-0.1.7 test/factories/host_factories.rb
foreman_kubevirt-0.1.5 test/factories/host_factories.rb
foreman_kubevirt-0.1.4 test/factories/host_factories.rb