Skip to content

Commit

Permalink
[EmbeddedAnsible::ConfigurationScriptSource] virtual_attribute :verif…
Browse files Browse the repository at this point in the history
…y_ssl

Adds `verify_ssl` as a `virtual_attribute` so it can be queried properly
by the API.
  • Loading branch information
NickLaMuro committed Jun 24, 2021
1 parent ffe06f3 commit e7a3095
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
class ManageIQ::Providers::EmbeddedAnsible::AutomationManager::ConfigurationScriptSource < ManageIQ::Providers::EmbeddedAutomationManager::ConfigurationScriptSource
FRIENDLY_NAME = "Embedded Ansible Project".freeze

virtual_attribute :verify_ssl, :integer

validates :name, :presence => true # TODO: unique within region?
validates :scm_type, :presence => true, :inclusion => { :in => %w[git] }
validates :scm_branch, :presence => true
Expand Down

0 comments on commit e7a3095

Please sign in to comment.