set also the network attribute in the examples

This commit is contained in:
2022-02-09 15:53:03 +01:00
parent 2e1bdfa90f
commit 1de4b42dad
2 changed files with 7 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ The informations we need are:
- the server role: ``role::logging_server``
- the server environment in puppet: ``production``
- the sysdb environment: ``daas``
- static or dynamic IP: ``static``
On our laptop, where we have a local copy of `bob`, we first setup
some environment variables to have shorter commands: ::
@@ -37,6 +38,10 @@ We setup its MAC address: ::
bob node add-mac logging-ra.psi.ch 23:3d:ef:33:11:22
Next decide how the IP address is configured (``dhcp`` or ``static``): ::
bob node set-attr syslog-ra.psi.ch network=static
And we finally setup the puppet role and puppet environment: ::
bob node set-attr syslog-ra.psi.ch puppet_role=role::log_server

View File

@@ -36,10 +36,10 @@ node::
Finally we need to configure the installer to use, and the Puppet-related
parameters::
bob node set-attr $FQDN ipxe_installer=rhel72server
bob node set-attr $FQDN ipxe_installer=rhel79server
bob node set-attr $FQDN puppet_env=prod
bob node set-attr $FQDN puppet_role=role::server
bob node set-attr $FQDN network=static
Redeployment
~~~~~~~~~~~~