en-US/PuppetPowerShell-help.xml
<?xml version="1.0" encoding="utf-8"?> <helpItems schema="maml" xmlns="http://msh"> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Disable-PuppetService</command:name> <command:verb>Disable</command:verb> <command:noun>PuppetService</command:noun> <maml:description> <maml:para>Disables the Puppet service on a machine</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Very basic function for quickly stopping and disabling the Puppet agent service on a machine. Useful when you need to temporarily disable the Puppet agent service to make local changes.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Disable-PuppetService</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"> <maml:name>ServiceName</maml:name> <maml:description> <maml:para>The name of the Puppet service</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Puppet</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"> <maml:name>ServiceName</maml:name> <maml:description> <maml:para>The name of the Puppet service</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Puppet</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <maml:alertSet> <maml:alert> <maml:para>This is a very simple cmdlet made purely for convenience and is rather rough around the edges. The primary use case is for quickly stopping Puppet on a system to make sure it doesn't overwrite local changes.</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title> <dev:code>Disable-PuppetService</dev:code> <dev:remarks> <maml:para>This would disable the Puppet service on the local machine and make sure it is stopped</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks /> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Enable-PuppetService</command:name> <command:verb>Enable</command:verb> <command:noun>PuppetService</command:noun> <maml:description> <maml:para>Enables the Puppet service on a machine</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Very basic function for quickly starting and enabling the Puppet agent service at boot on a machine.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Enable-PuppetService</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"> <maml:name>ServiceName</maml:name> <maml:description> <maml:para>The name of the Puppet service</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Puppet</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"> <maml:name>ServiceName</maml:name> <maml:description> <maml:para>The name of the Puppet service</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Puppet</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <maml:alertSet> <maml:alert> <maml:para>This is a very simple cmdlet made purely for convenience and is rather rough around the edges. The intended use case is for reenabling the Puppet service after making changes to a local node.</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title> <dev:code>Enable-PuppetService</dev:code> <dev:remarks> <maml:para>This would enable the Puppet service on the local machine and make sure it is running</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks /> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Install-Puppet</command:name> <command:verb>Install</command:verb> <command:noun>Puppet</command:noun> <maml:description> <maml:para>Installs Puppet tooling on a machine</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Installs the requested version of Puppet agent/server/bolt for your operating system. You can either specify the major version that you want installed whereby the latest version for that release will be installed, or you can specify a specific version. (e.g. 6.10.2)</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Install-Puppet</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"> <maml:name>MajorVersion</maml:name> <maml:description> <maml:para>The major version of Puppet agent to install</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="2" aliases="none"> <maml:name>ExactVersion</maml:name> <maml:description> <maml:para>The specific version of Puppet agent to install</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Version</command:parameterValue> <dev:type> <maml:name>Version</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="3" aliases="none"> <maml:name>Application</maml:name> <maml:description> <maml:para>Whether to install Puppet server or Puppet agent</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Puppet-agent</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="3" aliases="none"> <maml:name>Application</maml:name> <maml:description> <maml:para>Whether to install Puppet server or Puppet agent</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Puppet-agent</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="2" aliases="none"> <maml:name>ExactVersion</maml:name> <maml:description> <maml:para>The specific version of Puppet agent to install</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Version</command:parameterValue> <dev:type> <maml:name>Version</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"> <maml:name>MajorVersion</maml:name> <maml:description> <maml:para>The major version of Puppet agent to install</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title> <dev:code>Install-Puppet -MajorVersion 6</dev:code> <dev:remarks> <maml:para>This would install the latest version of Puppet 6 agent for your operating system.</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- EXAMPLE 2 --------------------------</maml:title> <dev:code>Install-Puppet -ExactVersion 6.10.2 -Application 'puppetserver'</dev:code> <dev:remarks> <maml:para>This would install Puppet server 6.10.2 for your operating system.</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- EXAMPLE 3 --------------------------</maml:title> <dev:code>Install-Puppet -Application 'puppet-bolt'</dev:code> <dev:remarks> <maml:para>This would install the latest version of Puppet bolt for your operating system.</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks /> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Set-CertificateExtensions</command:name> <command:verb>Set</command:verb> <command:noun>CertificateExtensions</command:noun> <maml:description> <maml:para>Sets CSR extension attributes for Puppet agent requests</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Sets CSR extension attributes for Puppet agent requests, this can be useful when trying to more specifically scope node configurations</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Set-CertificateExtensions</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"> <maml:name>ExtensionAttributes</maml:name> <maml:description> <maml:para>The extension attributes to be set</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Hashtable</command:parameterValue> <dev:type> <maml:name>Hashtable</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"> <maml:name>ExtensionAttributes</maml:name> <maml:description> <maml:para>The extension attributes to be set</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Hashtable</command:parameterValue> <dev:type> <maml:name>Hashtable</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title> <dev:code>Set-CertificateRequestExtension @{pp_service = 'sqlserver'; pp_role = 'mysql'}</dev:code> <dev:remarks> <maml:para>This would set the pp_service and pp_role certificate extension attributes</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks /> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Set-PuppetConfigOption</command:name> <command:verb>Set</command:verb> <command:noun>PuppetConfigOption</command:noun> <maml:description> <maml:para>Sets Puppet configuration options.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>This cmdlet allows you to set Puppet configuration options en masse by supplying a hash of configuration options. You can also choose the location of the puppet.conf file to use and a specific section to set the options under.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Set-PuppetConfigOption</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"> <maml:name>ConfigOptions</maml:name> <maml:description> <maml:para>The option(s) to set</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Hashtable</command:parameterValue> <dev:type> <maml:name>Hashtable</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="2" aliases="none"> <maml:name>ConfigFilePath</maml:name> <maml:description> <maml:para>The path to the configuration file (if not using the default)</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="3" aliases="none"> <maml:name>Section</maml:name> <maml:description> <maml:para>The section that you wish to set the options in (defaults to 'agent')</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Agent</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Elevated</maml:name> <maml:description> <maml:para>On *nix systems the 'puppet' command requires elevation, set this parameter to prefix the command with 'sudo'</maml:para> </maml:description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="2" aliases="none"> <maml:name>ConfigFilePath</maml:name> <maml:description> <maml:para>The path to the configuration file (if not using the default)</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"> <maml:name>ConfigOptions</maml:name> <maml:description> <maml:para>The option(s) to set</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Hashtable</command:parameterValue> <dev:type> <maml:name>Hashtable</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Elevated</maml:name> <maml:description> <maml:para>On *nix systems the 'puppet' command requires elevation, set this parameter to prefix the command with 'sudo'</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="3" aliases="none"> <maml:name>Section</maml:name> <maml:description> <maml:para>The section that you wish to set the options in (defaults to 'agent')</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Agent</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <maml:alertSet> <maml:alert> <maml:para>Puppet does not validate the options your are setting are valid, and neither does this cmdlet.</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title> <dev:code>Set-PuppetConfigOption @{environment = 'production'}</dev:code> <dev:remarks> <maml:para>This would set the environment to 'production' in the puppet.conf file.</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks /> </command:command> </helpItems> |