Sha256: ee405e6e6cce148ee466cd268a6122ce4101cb444f83dc0f7f4043816dd51ed5

Contents?: true

Size: 1.44 KB

Versions: 25

Compression:

Stored size: 1.44 KB

Contents

require 'config_builder/model'

# @since 0.13.0
class PEBuild::ConfigBuilder::PEAgent < ::ConfigBuilder::Model::Provisioner::Base
  # @!attribute [rw] autosign
  #   If true, and {#master_vm} is set, the agent's certificate will be signed
  #   on the master VM.
  #
  #   @return [true, false] Defaults to `true` if {#master_vm} is set,
  #     otherwise `false`.
  def_model_attribute :autosign
  # @!attribute [rw] autopurge
  #   If true, and {#master_vm} is set, the agent's certificate and data will
  #   be purged from the master VM if the agent is destroyed by Vagrant.
  #
  #   @return [true, false] Defaults to `true` if {#master_vm} is set,
  #     otherwise `false`.
  def_model_attribute :autopurge
  # @!attribute master
  #   @return [String] The DNS hostname of the Puppet master for this node.
  #     If {#master_vm} is set, the hostname of that machine will be used
  #     as a default. If the hostname is unset, the name of the VM will be
  #     used as a secondary default.
  def_model_attribute :master
  # @!attribute master_vm
  #   @return [String] The name of a Vagrant VM to use as the master.
  def_model_attribute :master_vm
  # @!attribute version
  #   @return [String] The version of PE to install. May be either a version
  #   string of the form `x.y.x[-optional-arbitrary-stuff]` or the string
  #   `current`. Defaults to `current`.
  def_model_attribute :version

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

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
vagrant-pe_build-0.17.14 lib/pe_build/config_builder/1_x/pe_agent.rb
vagrant-pe_build-0.17.13 lib/pe_build/config_builder/1_x/pe_agent.rb
vagrant-pe_build-0.17.12 lib/pe_build/config_builder/1_x/pe_agent.rb
vagrant-pe_build-0.17.11 lib/pe_build/config_builder/1_x/pe_agent.rb
vagrant-pe_build-0.17.10 lib/pe_build/config_builder/1_x/pe_agent.rb
vagrant-pe_build-0.17.9 lib/pe_build/config_builder/1_x/pe_agent.rb
vagrant-pe_build-0.17.8 lib/pe_build/config_builder/1_x/pe_agent.rb
vagrant-pe_build-0.17.7 lib/pe_build/config_builder/1_x/pe_agent.rb
vagrant-pe_build-0.17.6 lib/pe_build/config_builder/1_x/pe_agent.rb
vagrant-pe_build-0.17.5 lib/pe_build/config_builder/1_x/pe_agent.rb
vagrant-pe_build-0.17.4 lib/pe_build/config_builder/1_x/pe_agent.rb
vagrant-pe_build-0.17.3 lib/pe_build/config_builder/1_x/pe_agent.rb
vagrant-pe_build-0.17.2 lib/pe_build/config_builder/1_x/pe_agent.rb
vagrant-pe_build-0.17.1 lib/pe_build/config_builder/1_x/pe_agent.rb
vagrant-pe_build-0.17.0 lib/pe_build/config_builder/1_x/pe_agent.rb
vagrant-pe_build-0.16.0 lib/pe_build/config_builder/1_x/pe_agent.rb
vagrant-pe_build-0.15.6 lib/pe_build/config_builder/1_x/pe_agent.rb
vagrant-pe_build-0.15.5 lib/pe_build/config_builder/1_x/pe_agent.rb
vagrant-pe_build-0.15.4 lib/pe_build/config_builder/1_x/pe_agent.rb
vagrant-pe_build-0.15.3 lib/pe_build/config_builder/1_x/pe_agent.rb