diff --git a/admin-guide/deployment/sample.rst b/admin-guide/deployment/sample.rst index 18aabc6c..78f0e029 100644 --- a/admin-guide/deployment/sample.rst +++ b/admin-guide/deployment/sample.rst @@ -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