Search

Class PuppetMaster

Puppet Master

Attributes

Name Type Description
displayName String Display name of this master, an extended version of the name property
enterprise boolean Is this master a Puppet Enterprise
host String Host address of this master
id String Unique identifier of this master
name String User-friendly name of this master
password String Password for this master
port int Port number of this master
product String Product name of this master
username String User name for this master
useSudo boolean Use sudo for all shell command on the master
version String Version of this master

Methods

Name Returns
executeCommand(String command) PuppetExecutionResult
getCache() PuppetConnectionCache
getFile(String remoteFile, String localFile) PuppetExecutionResult
getFileContent(String remoteFile) PuppetExecutionResult
putFile(String localFile, String remoteFile) PuppetExecutionResult
putFileContent(String content, String remoteFile) PuppetExecutionResult
remove() void
update(String name, String host, int port, String username, String password, boolean useSudo) PuppetMaster
validate() void

Returned by

Method Returns
PuppetMaster.update(String name, String host, int port, String username, String password, boolean useSudo) PuppetMaster
PuppetMasterManager.addMaster(String name, String host, int port, String username, String password, boolean useSudo) PuppetMaster

Referenced in

None