diff --git a/pages.de/common/puppet-agent.md b/pages.de/common/puppet-agent.md new file mode 100644 index 000000000..ea3e5e61b --- /dev/null +++ b/pages.de/common/puppet-agent.md @@ -0,0 +1,24 @@ +# puppet agent + +> Ruft die Client-Konfiguration eines Puppetservers ab und setzt diese auf dem System um. +> Weitere Informationen: . + +- Registriere die Node bei einem Puppetserver und wende den empfangenen Katalog an: + +`puppet agent --test --server {{puppetserver_fqdn}} --serverport {{port}} --waitforcert {{poll_zeit}}` + +- Führe den Agenten im Hintergrund aus (nutzt die Einstellungen von `/opt/puppetlabs/puppet/puppet.conf`): + +`puppet agent` + +- Führe den Agenten einmal im Vordergrund aus und beende: + +`puppet agent --test` + +- Führe den Agenten im Dry-Modus aus: + +`puppet agent --test --noop` + +- Protokolliere jede ausgewertete Ressource (selbst wenn sich nichts geändert hat): + +`puppet agent --test --evaltrace` diff --git a/pages.de/common/puppet-apply.md b/pages.de/common/puppet-apply.md new file mode 100644 index 000000000..eb8894360 --- /dev/null +++ b/pages.de/common/puppet-apply.md @@ -0,0 +1,16 @@ +# puppet apply + +> Wende ein Puppet-Manifest lokal an. +> Weitere Informationen: . + +- Wende ein Manifest an: + +`puppet apply {{pfad/zu/manifest}}` + +- Führe Puppetcode aus: + +`puppet apply --execute {{code}}` + +- Benutze ein bestimmtes Modulverzeichnis und Hiera-Konfigurationsdatei: + +`puppet apply --modulepath {{pfad/zu/ordner}} --hiera_config {{pfad/zu/datei}} {{pfad/zu/manifest}}` diff --git a/pages.de/common/puppet.md b/pages.de/common/puppet.md new file mode 100644 index 000000000..28522a423 --- /dev/null +++ b/pages.de/common/puppet.md @@ -0,0 +1,21 @@ +# puppet + +> Puppet bietet Tools an um die Konfiguration von Servern zu automatisieren. +> Einige Unterbefehle wie `puppet agent` sind separat dokumentiert. +> Weitere Informationen: . + +- Führe einen Puppet-Unterbefehl aus: + +`puppet {{unterbefehl}}` + +- Gib die installierte Version von Puppet aus: + +`puppet --version` + +- Zeige die generelle Hilfeseite an: + +`puppet --help` + +- Zeige die Hilfeseite eines Unterbefehls an (z.B. `agent`, `apply`, etc.): + +`puppet help {{unterbefehl}}` diff --git a/pages/common/puppet-agent.md b/pages/common/puppet-agent.md new file mode 100644 index 000000000..8c90854b1 --- /dev/null +++ b/pages/common/puppet-agent.md @@ -0,0 +1,24 @@ +# puppet agent + +> Retrieves the client configuration from a Puppet server and applies it to the local host. +> More information: . + +- Register a node at a Puppet server and apply the received catalog: + +`puppet agent --test --server {{puppetserver_fqdn}} --serverport {{port}} --waitforcert {{poll_time}}` + +- Run the agent in the background (uses settings from `puppet.conf`): + +`puppet agent` + +- Run the agent once in the foreground, then exit: + +`puppet agent --test` + +- Run the agent in dry-mode: + +`puppet agent --test --noop` + +- Log every resource being evaluated (even if nothing is being changed): + +`puppet agent --test --evaltrace` diff --git a/pages/common/puppet-apply.md b/pages/common/puppet-apply.md new file mode 100644 index 000000000..41463637d --- /dev/null +++ b/pages/common/puppet-apply.md @@ -0,0 +1,16 @@ +# puppet apply + +> Apply Puppet manifests locally. +> More information: . + +- Apply a manifest: + +`puppet apply {{path/to/manifest}}` + +- Execute puppet code: + +`puppet apply --execute {{code}}` + +- Use a specific module and hiera config file: + +`puppet apply --modulepath {{path/to/directory}} --hiera_config {{path/to/file}} {{path/to/manifest}}` diff --git a/pages/common/puppet.md b/pages/common/puppet.md new file mode 100644 index 000000000..5f30bb318 --- /dev/null +++ b/pages/common/puppet.md @@ -0,0 +1,21 @@ +# puppet + +> Help to manage and automate the configuration of servers. +> Some subcommands such as `puppet agent` have their own usage documentation. +> More information: . + +- Execute a Puppet subcommand: + +`puppet {{subcommand}}` + +- Check the Puppet version: + +`puppet --version` + +- Display help: + +`puppet --help` + +- Display help for a subcommand: + +`puppet help {{subcommand}}`