Sha256: f4fbf83c3ce8895ca2d8c5428da3416c9d315b149f54934c6ce4eebfbf9d4a17

Contents?: true

Size: 225 Bytes

Versions: 104

Compression:

Stored size: 225 Bytes

Contents

# frozen_string_literal: true

proxy_feature = Feature.where(:name => 'Ansible').first_or_create
if proxy_feature.nil? || proxy_feature.errors.any?
  raise "Unable to create proxy feature: #{format_errors proxy_feature}"
end

Version data entries

104 entries across 104 versions & 1 rubygems

Version Path
foreman_ansible-12.0.5 db/seeds.d/62_ansible_proxy_feature.rb
foreman_ansible-10.4.3 db/seeds.d/62_ansible_proxy_feature.rb
foreman_ansible-12.0.4 db/seeds.d/62_ansible_proxy_feature.rb
foreman_ansible-10.4.2 db/seeds.d/62_ansible_proxy_feature.rb
foreman_ansible-12.0.3 db/seeds.d/62_ansible_proxy_feature.rb
foreman_ansible-12.0.2 db/seeds.d/62_ansible_proxy_feature.rb
foreman_ansible-12.0.1 db/seeds.d/62_ansible_proxy_feature.rb
foreman_ansible-12.0.0 db/seeds.d/62_ansible_proxy_feature.rb
foreman_ansible-11.2.1 db/seeds.d/62_ansible_proxy_feature.rb
foreman_ansible-7.1.7 db/seeds.d/62_ansible_proxy_feature.rb
foreman_ansible-11.2.0 db/seeds.d/62_ansible_proxy_feature.rb
foreman_ansible-11.1.2 db/seeds.d/62_ansible_proxy_feature.rb
foreman_ansible-7.1.6 db/seeds.d/62_ansible_proxy_feature.rb
foreman_ansible-11.1.1 db/seeds.d/62_ansible_proxy_feature.rb
foreman_ansible-10.4.1 db/seeds.d/62_ansible_proxy_feature.rb
foreman_ansible-7.1.5 db/seeds.d/62_ansible_proxy_feature.rb
foreman_ansible-11.1.0 db/seeds.d/62_ansible_proxy_feature.rb
foreman_ansible-10.4.0 db/seeds.d/62_ansible_proxy_feature.rb
foreman_ansible-10.3.0 db/seeds.d/62_ansible_proxy_feature.rb
foreman_ansible-11.0.0 db/seeds.d/62_ansible_proxy_feature.rb