class Packer::Provisioner::Puppet::Masterless

Public Class Methods

new() click to toggle source
Calls superclass method Packer::Provisioner::new
# File lib/packer/provisioners/puppet/masterless.rb, line 8
def initialize
  super
  self.data['type'] = PUPPET_MASTERLESS
  self.add_required(['manifest_file'])
end

Public Instance Methods

execute_command(command) click to toggle source
# File lib/packer/provisioners/puppet/masterless.rb, line 18
def execute_command(command)
  self.__add_string('execute_command', command)
end
facter(facts) click to toggle source
# File lib/packer/provisioners/puppet/masterless.rb, line 22
def facter(facts)
  self.__add_hash('facter', facts)
end
hiera_config_path(path) click to toggle source
# File lib/packer/provisioners/puppet/masterless.rb, line 26
def hiera_config_path(path)
  self.__add_string('hiera_config_path', path)
end
manifest_dir(path) click to toggle source
# File lib/packer/provisioners/puppet/masterless.rb, line 30
def manifest_dir(path)
  self.__add_string('manifest_dir', path)
end
manifest_file(filename) click to toggle source
# File lib/packer/provisioners/puppet/masterless.rb, line 14
def manifest_file(filename)
  self.__add_string('manifest_file', filename)
end
module_paths(paths) click to toggle source
# File lib/packer/provisioners/puppet/masterless.rb, line 34
def module_paths(paths)
  self.__add_array_of_strings('module_paths',paths)
end
prevent_sudo(flag) click to toggle source
# File lib/packer/provisioners/puppet/masterless.rb, line 38
def prevent_sudo(flag)
  self.__add_boolean('prevent_sudo', flag)
end
staging_directory(dirname) click to toggle source
# File lib/packer/provisioners/puppet/masterless.rb, line 42
def staging_directory(dirname)
  self.__add_string('staging_directory', dirname)
end