``profile::platform``
=====================

The purpose of this ``profile`` is to install specific components depending on the hardware components
and hardware/platform type.

Currently, for ``vmware`` machines no actions are performed. For ``physical`` machines some actions will
be performed depending on the parameter settings (see below).

Also, according to the facter ``manufacturer``, some specific actions can be triggered. Currently only
``HP``/``HPE`` hardware is considered.

Other options such like NVIDIA or Infiniband card detection are possible. Whenever detected, it will call
the corresponding class and will perform required actions.

Parameters
----------

=================  ==========  ===========
**Name**           **Type**    **Default**
-----------------  ----------  -----------
enable_rasdaemon   bool        
enable_smartd      bool        
=================  ==========  ===========

``enable_rasdaemon``
~~~~~~~~~~~~~~~~~~~~

When set to ``true``, will install and enable the ``rasdaemon`` service.

``enable_smartd``
~~~~~~~~~~~~~~~~~

When set to ``true``, will install and enable the ``smartmontools`` (``smartd``) service.

Facts
-----

When some specific facts are detected, it will trigger some actions.

=====================================  ===============  ==============================================
**Fact**                               **Value(s)**     **Action description**
-------------------------------------  ---------------  ----------------------------------------------
``manufacturer``                       ``HP``|``HPE``   ``include profile::platform::hewlett_packard``
``['pci_devices']['gpu']['nvidia']``   count > 0        ``include profile::nvidia``
``['pci_devices']['ib']['mellanox']``  count > 0        ``include profile::infiniband``
=====================================  ===============  ==============================================
