Class: Runcible::Models::PuppetImporter

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

Constant Summary collapse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Importer

#initialize

Constructor Details

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

Instance Attribute Details

#feedObject

Returns the value of attribute feed.



30
31
32
# File 'lib/runcible/models/puppet_importer.rb', line 30

def feed
  @feed
end

#queriesObject

Returns the value of attribute queries.



30
31
32
# File 'lib/runcible/models/puppet_importer.rb', line 30

def queries
  @queries
end

#remove_missingObject

Returns the value of attribute remove_missing.



30
31
32
# File 'lib/runcible/models/puppet_importer.rb', line 30

def remove_missing
  @remove_missing
end

Instance Method Details

#configObject



40
41
42
# File 'lib/runcible/models/puppet_importer.rb', line 40

def config
  self.as_json
end

#idObject



32
33
34
# File 'lib/runcible/models/puppet_importer.rb', line 32

def id
  PuppetImporter::ID
end

#repo_typeObject



36
37
38
# File 'lib/runcible/models/puppet_importer.rb', line 36

def repo_type
  PuppetImporter::REPO_TYPE
end