forked from Controls/gitea-pages
also set puppet_group
This commit is contained in:
@@ -10,10 +10,11 @@ The informations we need are:
|
||||
|
||||
- the server name: ``logging-ra.psi.ch``
|
||||
- the server MAC address: ``23:3d:ef:33:11:22``
|
||||
- static or dynamic IP: ``static``
|
||||
- the server role: ``role::logging_server``
|
||||
- the server environment in puppet: ``production``
|
||||
- the sysdb environment: ``daas``
|
||||
- static or dynamic IP: ``static``
|
||||
- optional the group inside the sysdb environment (``default`` if not specified): ``logging`
|
||||
|
||||
On our laptop, where we have a local copy of `bob`, we first setup
|
||||
some environment variables to have shorter commands: ::
|
||||
@@ -45,7 +46,9 @@ Next decide how the IP address is configured (``dhcp`` or ``static``): ::
|
||||
And we finally setup the puppet role and puppet environment: ::
|
||||
|
||||
bob node set-attr syslog-ra.psi.ch puppet_role=role::log_server
|
||||
bob node set-attr syslog-ra.psi.ch puppet_env=production
|
||||
bob node set-attr syslog-ra.psi.ch puppet_env=production`
|
||||
bob node set-attr syslog-ra.psi.ch puppet_group=logging
|
||||
|
||||
|
||||
|
||||
PXE server-side configuration
|
||||
|
||||
@@ -37,9 +37,11 @@ Finally we need to configure the installer to use, and the Puppet-related
|
||||
parameters::
|
||||
|
||||
bob node set-attr $FQDN ipxe_installer=rhel79server
|
||||
bob node set-attr $FQDN network=static
|
||||
bob node set-attr $FQDN puppet_env=prod
|
||||
bob node set-attr $FQDN puppet_role=role::server
|
||||
bob node set-attr $FQDN network=static
|
||||
bob node set-attr $FQDN puppet_group=default
|
||||
|
||||
|
||||
Redeployment
|
||||
~~~~~~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user