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-2.3.3 db/seeds.d/62_ansible_proxy_feature.rb
foreman_ansible-2.3.2 db/seeds.d/62_ansible_proxy_feature.rb
foreman_ansible-2.3.1 db/seeds.d/62_ansible_proxy_feature.rb
foreman_ansible-2.3.0 db/seeds.d/62_ansible_proxy_feature.rb