Skip to content

Commit 8c9777a

Browse files
(SIMP-10203) Fix SSL recovery documentation (#435)
- Correct SSL recovery documentation - Convert all instances of 'puppet master' to 'puppet server' - Convert all instances of 'SIMP master' to 'SIMP server' - Correct a few links SIMP-10203 #close
1 parent 74e35eb commit 8c9777a

File tree

47 files changed

+190
-166
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+190
-166
lines changed

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
* Wed Jul 14 2021 Trevor Vaughan <[email protected]>
2+
- Correct SSL recovery documentation
3+
- Convert all instances of 'puppet master' to 'puppet server'
4+
- Correct a few links
5+
16
* Wed Jun 30 2021 Trevor Vaughan <[email protected]>
27
- Add 389-DS documentation
38

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ You may need some additional OS packages for building PDFs with sphinx
4848
Install python dependencies:
4949

5050
```sh
51+
virtualenv venv
52+
source venv/bin/activate
53+
54+
pip install --upgrade pip setuptools
5155
pip install -r requirements.txt
5256
```
5357

docs/FAQ/Puppet.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ troubleshoot the issue.
2727
.. code-block:: bash
2828
2929
openssl s_client -host $(puppet config print server) \
30-
-port $(puppet config print masterport) \
30+
-port $(puppet config print serverport) \
3131
-cert $(puppet config print hostcert) \
3232
-key $(puppet config print hostprivkey) \
3333
-CAfile $(puppet config print localcacert)

docs/HOWTO/20_Puppet/Changing_Puppet_Masters.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
HOWTO Move a Client to a new Puppet Server
44
==========================================
55

6-
The following provides details on how to move an client to a new Puppet server.
6+
The following provides details on how to move an client to a new :term:`Puppet Server`.
77

88
.. NOTE::
99

@@ -13,7 +13,7 @@ On the Old Puppet Server
1313
------------------------
1414

1515
The following procedures will archive the agent's artifacts from all environments, copy them to the new
16-
Puppet server, and clean out the agent's Hiera data.
16+
Puppet Server, and clean out the agent's :term:`Hiera` data.
1717

1818
Archive the agent's artifacts from all environments
1919
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -28,7 +28,7 @@ Archive the agent's artifacts from all environments
2828

2929
.. code-block:: shell
3030
31-
find `puppet config --section master print vardir`/simp -name "*<agent-fqdn>*" -exec tar --selinux --xattrs -rpvf <agent-fqdn>_transfer.tar {} \;
31+
find `puppet config --section server print vardir`/simp -name "*<agent-fqdn>*" -exec tar --selinux --xattrs -rpvf <agent-fqdn>_transfer.tar {} \;
3232
3333
3434
3. Archive the agent's Hiera data from all :term:`Puppet Environments`:
@@ -73,7 +73,7 @@ Remove agent-specific Hiera data from all environments
7373
7474
puppetserver reload
7575
76-
On the New Puppet Master
76+
On the New Puppet Server
7777
------------------------
7878

7979
.. WARNING::

docs/HOWTO/20_Puppet/Disconnect_PuppetDB_from_Puppet_Server.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ restart the :program:`puppetserver` process without the connection.
1818
# /etc/puppetlabs/puppet (the default).
1919
mv /etc/puppetlabs/puppet/routes.yaml /etc/puppetlabs/puppet/routes.yaml.backup
2020
21-
puppet config set --section master storeconfigs false
21+
puppet config set --section server storeconfigs false
2222
puppet config set --section main storeconfigs false
2323
2424
puppet resource service puppetserver ensure=stopped

docs/HOWTO/20_Puppet/ENC_setup.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ To use this script for your ENC, do the following as ``root``:
2121
2222
#. Configure Puppet to use this script as an ENC
2323

24-
Set the following in the :code:`[master]` section of :file:`/etc/puppetlabs/puppet/puppet.conf`:
24+
Set the following in the :code:`[server]` section of :file:`/etc/puppetlabs/puppet/puppet.conf`:
2525

2626
a. Add or change the line :code:`node_terminus` to :code:`exec`.
2727
b. Set the :code:`external_nodes` entry to :file:`/usr/local/bin/set_environment`.
@@ -31,7 +31,7 @@ To use this script for your ENC, do the following as ``root``:
3131
.. code-block:: ini
3232
3333
...
34-
[master]
34+
[server]
3535
...
3636
node_terminus = exec
3737
external_nodes = /usr/local/bin/set_environment
@@ -51,7 +51,7 @@ To use this script for your ENC, do the following as ``root``:
5151

5252
.. code-block:: yaml
5353
54-
# The puppetmaster will use the production environment
54+
# The puppet server will use the production environment
5555
'puppet.my.domain': 'production'
5656
5757
# Any node in my.domain whose FQDN begins with test will use the test environment

docs/HOWTO/20_Puppet/Puppetmaster_Backup.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,26 @@
33
HOWTO Back up the Puppet Server
44
===============================
55

6-
This section details the steps required to back up the Puppet master.
6+
This section details the steps required to back up the :term:`Puppet Server`.
77

88
.. NOTE::
99

10-
A default SIMP installation can use Git as a rudimentary method to back up
11-
the Puppet server. If a different method is preferred, the user must install
12-
and configure it first.
10+
A default SIMP installation can use :term:`Git` as a rudimentary method to
11+
back up the Puppet Server. If a different method is preferred, the user must
12+
install and configure it first.
1313

1414
#. Backup :file:`/etc/puppetlabs/puppet/ssl`
1515
#. Backup :file:`/etc/puppetlabs/puppet`
1616
#. Backup :file:`/var/simp`
17-
#. Backup :file:`\`puppet config --section master print vardir\`/simp`
17+
#. Backup :file:`\`puppet config --section server print vardir\`/simp`
1818
#. *Optional:* Backup :file:`/var/www`
1919

2020

2121
**Simple Full Backup Command**
2222

2323
.. code-block:: bash
2424
25-
# tar --selinux --xattrs -czpvf simp_backup-$(date +%Y-%m-%d).tar.gz /etc/puppetlabs /var/simp `puppet config --section master print vardir`/simp /var/www /var/simp
25+
# tar --selinux --xattrs -czpvf simp_backup-$(date +%Y-%m-%d).tar.gz /etc/puppetlabs /var/simp `puppet config --section server print vardir`/simp /var/www /var/simp
2626
2727
**Simple Full Restore Command**
2828

@@ -34,4 +34,4 @@ This section details the steps required to back up the Puppet master.
3434
.. NOTE::
3535

3636
This only backs up data that is managed/owned by Puppet. It will not backup any
37-
application-centric data (such as the contents of LDAP).
37+
application-centric data (such as the contents of :term:`LDAP`).

docs/HOWTO/90_Misc/Kerberos.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Propagate the Keytabs
107107

108108
Move all of the resulting keytab files SECURELY to
109109
``/var/simp/environments/<client_environment>/site_files/krb5_files/keytabs/<fqdn>``
110-
on the Puppet master as appropriate for each file.
110+
on the :term:`Puppet Server` as appropriate for each file.
111111

112112
.. NOTE::
113113

docs/HOWTO/90_Misc/SNMPD.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ HOWTO Configure SNMPD
22
=====================
33

44
This document details how to use the ``simp-simp_snmpd`` Puppet profile module
5-
to configure the SNMP daemon.
5+
to configure the :term:`SNMP` daemon.
66

77
Simple instructions to configure the snmpd daemon using the
88
``simp-simp_snmpd`` profile module are described in its README file.
@@ -87,16 +87,16 @@ The profile module, by default, installs two users:
8787
* ``snmp_rw`` is configured for read/write access to everything
8888

8989
User passwords are auto-generated using ``simplib::passgen()`` and stored on
90-
the Puppet master in a sub-directory in the :term:`SIMP Writable Environment`:
90+
the :term:`SIMP Server` in a sub-directory in the :term:`SIMP Writable Environment`:
9191

9292
``/opt/puppetlabs/server/data/puppetserver/simp/environments/production/simp_autofile/gen_passwd``.
9393

9494
Access is configured by ``/etc/snmp/simp_snmpd.d/access.conf``
9595

9696
* To create the ``access.conf`` file, the profile modules uses a set of hashes.
9797
* The default hashes are in the ``data/common.yaml`` file.
98-
* These hashes are merged with any hash you defined in the Hiera files on the
99-
Puppet master. Merging is described in
98+
* These hashes are merged with any hash you defined in the :term:`Hiera` files on the
99+
:term:`Puppet Server`. Merging is described in
100100
`Puppet docs <https://puppet.com/docs/puppet/5.5/hiera_merging.html>`_
101101
* To remove something from the default hash add the name of object with no keys
102102

docs/changelogs/6.5.0_Changelog.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2308,6 +2308,5 @@ the following:
23082308
23092309
23102310
.. _submit an issue: https://simp-project.atlassian.net
2311-
.. _simp-project.com: https://simp-project.com
2311+
.. _simp-project.com: https://www.simp-project.com
23122312
.. _packagecloud: https://packagecloud.io/simp-project
2313-

0 commit comments

Comments
 (0)