Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Puppet indentation fix #6355

Merged
merged 2 commits into from
Aug 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,38 +10,36 @@ Setting up Puppet certificates

To generate and sign a certificate, follow the next steps:

1. On the Puppet agent, run this command to generate an empty certificate:
#. On the Puppet agent, run this command to generate an empty certificate:

.. code-block:: console
.. code-block:: console

# puppet agent -t
# puppet agent -t

2. On the Puppet server side, list the current certificates that need approval:
#. On the Puppet server side, list the current certificates that need approval:

.. code-block:: console
.. code-block:: console

# puppetserver ca list
# puppetserver ca list

It should output a list with your node hostname.
It should output a list with your node hostname.

3. Approve the certificate, replacing ``pending-agent-node`` with your agent’s node name:
#. Approve the certificate, replacing ``pending-agent-node`` with your agent’s node name:

.. code-block:: console
.. code-block:: console

# puppetserver ca sign --certname pending-agent-node
# puppetserver ca sign --certname pending-agent-node

All certificates can be approved with this:

All certificates can be approved with this:
.. code-block:: console

.. code-block:: console
# puppetserver ca sign --all

# puppetserver ca sign --all
#. Back on the Puppet agent node, run in the puppet agent again:

.. code-block:: console

4. Back on the Puppet agent node, run in the puppet agent again:

.. code-block:: console

# puppet agent -t
# puppet agent -t

.. note:: Remember that private network DNS is a prerequisite for a successful certificate signing.