Class: Runcible::Models::PuppetImporter

Inherits:
Importer
  • Object
show all
Defined in:
lib/runcible/models/puppet_importer.rb

Constant Summary collapse

ID =
'puppet_importer'.freeze
REPO_TYPE =
'puppet-repo'.freeze

Instance Attribute Summary collapse

Attributes inherited from Importer

#basic_auth_password, #basic_auth_username, #feed, #max_downloads, #max_speed, #proxy_host, #proxy_password, #proxy_port, #proxy_username, #remove_missing, #retain_old_count, #ssl_ca_cert, #ssl_client_cert, #ssl_client_key, #ssl_validation, #validate

Instance Method Summary collapse

Methods inherited from Importer

#initialize

Constructor Details

This class inherits a constructor from Runcible::Models::Importer

Instance Attribute Details

#queriesObject

Returns the value of attribute queries.



7
8
9
# File 'lib/runcible/models/puppet_importer.rb', line 7

def queries
  @queries
end

Instance Method Details

#configObject



17
18
19
# File 'lib/runcible/models/puppet_importer.rb', line 17

def config
  self.as_json
end

#idObject



9
10
11
# File 'lib/runcible/models/puppet_importer.rb', line 9

def id
  PuppetImporter::ID
end

#repo_typeObject



13
14
15
# File 'lib/runcible/models/puppet_importer.rb', line 13

def repo_type
  PuppetImporter::REPO_TYPE
end