diff --git a/README.markdown b/README.markdown index 009b569..a3c2f2c 100644 --- a/README.markdown +++ b/README.markdown @@ -164,6 +164,11 @@ Pattern to look for in the process table to determine if the daemon is running. Only set this if your platform is not supported or you know what you are doing. Default: vmtoolsd +##### `supported` + +Boolean that force the resulte of supported OS check +Default: undef + ##### `uninstall_vmware_tools` Boolean that determines whether the conflicting VMWare Tools package should diff --git a/REFERENCE.md b/REFERENCE.md index dbb7fb3..6a1a257 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -26,6 +26,14 @@ Install the Open Virtual Machine Tools. include openvmtools ``` +##### Force pass supported os check on OS non in supported list + +```puppet +class { 'openvmtools': + supported => true, +} +``` + #### Parameters The following parameters are available in the `openvmtools` class: @@ -41,9 +49,9 @@ The following parameters are available in the `openvmtools` class: * [`service_hasstatus`](#-openvmtools--service_hasstatus) * [`service_name`](#-openvmtools--service_name) * [`service_pattern`](#-openvmtools--service_pattern) +* [`supported`](#-openvmtools--supported) * [`uninstall_vmware_tools`](#-openvmtools--uninstall_vmware_tools) * [`with_desktop`](#-openvmtools--with_desktop) -* [`supported`](#-openvmtools--supported) ##### `ensure` @@ -147,6 +155,14 @@ doing. Default value: `undef` +##### `supported` + +Data type: `Optional[Boolean]` + +Boolean that force the result of supported OS check + +Default value: `undef` + ##### `uninstall_vmware_tools` Data type: `Boolean` @@ -164,14 +180,6 @@ Whether or not to install the desktop/GUI support. Default value: `false` -##### `supported` - -Data type: `Optional[Boolean]` - - - -Default value: `undef` - ## Functions ### `openvmtools::supported` diff --git a/manifests/init.pp b/manifests/init.pp index fc13b2b..b9889cb 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -47,6 +47,9 @@ # Only set this if your platform is not supported or you know what you are # doing. # +# @param supported +# Boolean that force the result of supported OS check +# # @param uninstall_vmware_tools # Boolean that determines whether the conflicting VMWare Tools package should # be uninstalled, if present. @@ -57,6 +60,11 @@ # @example Default usage # include openvmtools # +# @example Force pass supported os check on OS non in supported list +# class { 'openvmtools': +# supported => true, +# } +# # @author Mike Arnold # @author Vox Pupuli #