Sha256: 6b6e1b77977550a35c1b4095c64075e4f4bae425fa886743ad41254a9b5b5475

Contents?: true

Size: 834 Bytes

Versions: 14

Compression:

Stored size: 834 Bytes

Contents

# @see http://docs.vagrantup.com/v2/provisioning/puppet_agent.html
class ConfigBuilder::Model::Provisioner::PuppetServer < ConfigBuilder::Model::Base

  # @!attribute [rw] puppet_server
  #   @return [String]
  attr_accessor :puppet_server

  # @!attribute [rw] node_name
  #   @return [String]
  attr_accessor :node_name

  # @!attribute [rw] options
  #   @return [String]
  attr_accessor :options

  def to_proc
    Proc.new do |vm_config|
      vm_config.provision :puppet_server do |puppet_config|
        with_attr(:puppet_server) { |val| puppet_config.puppet_server = val }
        with_attr(:node_name)     { |val| puppet_config.node_name     = val }
        with_attr(:options)       { |val| puppet_config.options       = val }
      end
    end
  end

  ConfigBuilder::Model::Provisioner.register('puppet_server', self)
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
vagrant-config_builder-0.15.1 lib/config_builder/model/provisioner/puppet_server.rb
vagrant-config_builder-0.15.0 lib/config_builder/model/provisioner/puppet_server.rb
vagrant-config_builder-0.14.0 lib/config_builder/model/provisioner/puppet_server.rb
vagrant-config_builder-0.13.0 lib/config_builder/model/provisioner/puppet_server.rb
vagrant-masonry-0.13.0 lib/config_builder/model/provisioner/puppet_server.rb
vagrant-config_builder-0.12.0 lib/config_builder/model/provisioner/puppet_server.rb
vagrant-config_builder-0.11.0 lib/config_builder/model/provisioner/puppet_server.rb
vagrant-config_builder-0.10.1 lib/config_builder/model/provisioner/puppet_server.rb
vagrant-config_builder-0.10.0 lib/config_builder/model/provisioner/puppet_server.rb
vagrant-config_builder-0.9.0 lib/config_builder/model/provisioner/puppet_server.rb
vagrant-config_builder-0.8.0 lib/config_builder/model/provisioner/puppet_server.rb
vagrant-config_builder-0.7.1 lib/config_builder/model/provisioner/puppet_server.rb
vagrant-config_builder-0.7.0 lib/config_builder/model/provisioner/puppet_server.rb
vagrant-config_builder-0.6.0 lib/config_builder/model/provisioner/puppet_server.rb