Class: Vagrant::Provisioners::PuppetServer::Config

Inherits:
Config::Base
  • Object
show all
Defined in:
lib/vagrant/provisioners/puppet_server.rb

Instance Attribute Summary collapse

Attributes inherited from Config::Base

#top

Instance Method Summary collapse

Methods inherited from Config::Base

configures, #env, #instance_variables_hash, json_create, #set_options, #to_hash, #to_json, #validate

Constructor Details

#initializeConfig

Returns a new instance of Config.



15
16
17
18
19
# File 'lib/vagrant/provisioners/puppet_server.rb', line 15

def initialize
  @puppet_server = "puppet"
  @puppet_node = "puppet_node"
  @options = []
end

Instance Attribute Details

#optionsObject

Returns the value of attribute options.



13
14
15
# File 'lib/vagrant/provisioners/puppet_server.rb', line 13

def options
  @options
end

#puppet_nodeObject

Returns the value of attribute puppet_node.



12
13
14
# File 'lib/vagrant/provisioners/puppet_server.rb', line 12

def puppet_node
  @puppet_node
end

#puppet_serverObject

Returns the value of attribute puppet_server.



11
12
13
# File 'lib/vagrant/provisioners/puppet_server.rb', line 11

def puppet_server
  @puppet_server
end