Module: Pupmin

Defined in:
lib/pupmin.rb,
lib/pupmin/util.rb,
lib/pupmin/nodes.rb,
lib/pupmin/reports.rb,
lib/pupmin/version.rb,
lib/pupmin/puppetdb.rb

Overview

main module file and configuration initialization

Defined Under Namespace

Classes: Error, Nodes, PuppetDB, Reports, Util

Constant Summary collapse

VERSION =
'2.0.1'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.puppet_certsObject

Returns the value of attribute puppet_certs.



10
11
12
# File 'lib/pupmin.rb', line 10

def puppet_certs
  @puppet_certs
end

.puppetca_hostObject

Returns the value of attribute puppetca_host.



10
11
12
# File 'lib/pupmin.rb', line 10

def puppetca_host
  @puppetca_host
end

.puppetdb_urlObject

Returns the value of attribute puppetdb_url.



10
11
12
# File 'lib/pupmin.rb', line 10

def puppetdb_url
  @puppetdb_url
end

Class Method Details

.configure(puppetdb_url: nil, puppetca_host: nil, puppet_certs: {}) ⇒ Object



12
13
14
15
16
# File 'lib/pupmin.rb', line 12

def configure(puppetdb_url: nil, puppetca_host: nil, puppet_certs: {})
  @puppetdb_url = puppetdb_url
  @puppetca_host = puppetca_host
  @puppet_certs = puppet_certs
end