``profile::nomachine::terminal``
================================

This is a sub-class for ``profile::nomachine``.

Installs and configures NoMachine with profile type ``terminal``.

Dependencies
------------

This is part of the ``profile::nomachine``.

Parameters
----------

==================================== ========= ===========================================================================================================================================================================================
**Name**                             **Type**   **Default**
------------------------------------ --------- -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
$nomachine_version                   String    ``hiera('nomachine::terminal::version')``. This is mandatory. See ``common.yaml`` for default value.
$server_EnableUPnP                   String    ``hiera('nomachine::terminal::server::EnableUPnP', 'none')``
$server_ConnectionsLimit             Integer   ``hiera('nomachine::terminal::server::ConnectionsLimit', 200)``
$server_ConnectionsUserLimit         Integer   ``hiera('nomachine::terminal::server::ConnectionsUserLimit', 2)``
$server_DisconnectedSessionExpiry    Integer   ``hiera('nomachine::terminal::server::DisconnectedSessionExpiry', 0)``
$server_VirtualDesktopMode           Integer   ``hiera('nomachine::terminal::server::VirtualDesktopMode', 0)``
$server_VirtualDesktopsLimit         Integer   ``hiera('nomachine::terminal::server::VirtualDesktopsLimit', 300)``
$server_VirtualDesktopsUserLimit     Integer   ``hiera('nomachine::terminal::server::VirtualDesktopsUserLimit', 2)``
$server_SSHAuthorizedKeys            String    ``hiera('nomachine::terminal::server::SSHAuthorizedKeys', 'authorized_keys')``
$server_PhysicalDesktopAuthorization Integer   ``hiera('nomachine::terminal::server::PhysicalDesktopAuthorization', 1)``
$server_PhysicalDesktopMode          Integer   ``hiera('nomachine::terminal::server::PhysicalDesktopMode', 2)``
$server_PhysicalDesktopSharing       Integer   ``hiera('nomachine::terminal::server::PhysicalDesktopSharing', 0)``
$server_EnableNetworkBroadcast       Integer   ``hiera('nomachine::terminal::server::EnableNetworkBroadcast', 0)``
$server_AvailableSessionTypes        String    ``hiera('nomachine::terminal::server::AvailableSessionTypes', 'unix-remote,unix-console,unix-default,unix-application,physical-desktop,shadow,unix-xsession-default,unix-gnome,unix-xdm')``
$node_DefaultDesktopCommand          String    ``hiera('nomachine::terminal::node::DefaultDesktopCommand', '"/etc/X11/xinit/Xsession \'gnome-session --session=gnome\'"')``
$node_AvailableSessionTypes          String    ``hiera('nomachine::terminal::node::AvailableSessionTypes', 'unix-remote,unix-console,unix-default,unix-application,physical-desktop,shadow,unix-xsession-default,unix-gnome,unix-xdm')``
$node_EnableSmartcardSharing         Integer   ``hiera('nomachine::terminal::node::EnableSmartcardSharing', 1)``
$node_AudioInterface                 String    ``hiera('nomachine::terminal::node::AudioInterface', 'disabled')``
$node_EnableCUPSSupport              Integer   ``hiera('nomachine::terminal::node::EnableCUPSSupport', 1)``
$node_ClientConnectionMethods        String    ``hiera('nomachine::terminal::node::ClientConnectionMethods', 'NX,SSH')``
$node_DisplayServerThreads           String    ``hiera('nomachine::terminal::node::DisplayServerThreads', 'auto')``
$node_DisplayEncoderThreads          String    ``hiera('nomachine::terminal::node::DisplayEncoderThreads', 'auto')``
==================================== ========= ===========================================================================================================================================================================================

``nomachine_version``
~~~~~~~~~~~~~~~~~~~~~

This parameters must be defined. Please see ``common.yaml`` for checking the default value.

``server_*``
~~~~~~~~~~~~

``$server_*`` paremeters are customizable settings for the NoMachine ``server.cfg`` configuration file. Please refer to NoMachine official documentation for more information.

``node_*``
~~~~~~~~~~

``$node_*`` paremeters are customizable settings for the NoMachine ``node.cfg`` configuration file. Please refer to NoMachine official documentation for more information.
