Sha256: 31926baf0e5bb8163a19e35ddb1b8a42baa479bd471487000fa666b95aa5d62b

Contents?: true

Size: 469 Bytes

Versions: 14

Compression:

Stored size: 469 Bytes

Contents

# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# !!! PLEASE KEEP THIS SCRIPT IDEMPOTENT !!!
#

::User.current = ::User.anonymous_api_admin
os_attributes = {:major => "7", :minor => "2", :name => ::Operatingsystem::REDHAT_ATOMIC_HOST_OS}
Operatingsystem.where(os_attributes).first_or_create!

::User.current = nil

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
katello-3.2.0.rc1.1 db/seeds.d/109-atomic_os.rb
katello-3.2.0.rc1 db/seeds.d/109-atomic_os.rb
katello-3.1.0.1 db/seeds.d/109-atomic_os.rb
katello-3.1.0 db/seeds.d/109-atomic_os.rb
katello-3.1.0.rc2.1 db/seeds.d/109-atomic_os.rb
katello-3.0.2 db/seeds.d/109-atomic_os.rb
katello-3.1.0.rc1 db/seeds.d/109-atomic_os.rb
katello-3.0.1 db/seeds.d/109-atomic_os.rb
katello-3.0.0 db/seeds.d/109-atomic_os.rb
katello-3.0.0.rc7 db/seeds.d/109-atomic_os.rb
katello-3.0.0.rc5 db/seeds.d/109-atomic_os.rb
katello-3.0.0.rc4 db/seeds.d/109-atomic_os.rb
katello-3.0.0.rc3 db/seeds.d/109-atomic_os.rb
katello-3.0.0.rc2 db/seeds.d/109-atomic_os.rb