set OS installer also
This commit is contained in:
@@ -11,10 +11,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 OS installer: ``rhel79server``
|
||||
- the server role: ``role::logging_server``
|
||||
- the server environment in puppet: ``production``
|
||||
- the sysdb environment: ``daas``
|
||||
- optional the group inside the sysdb environment (``default`` if not specified): ``logging`
|
||||
- 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: ::
|
||||
@@ -43,10 +44,14 @@ Next decide how the IP address is configured (``dhcp`` or ``static``): ::
|
||||
|
||||
bob node set-attr syslog-ra.psi.ch network=static
|
||||
|
||||
And which installer is used: ::
|
||||
|
||||
bob node set-attr syslog-ra.psi.ch ipxe_installer=rhel79server
|
||||
|
||||
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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user