puppet-tripleo/lib
Luca Miccini 57ef37990a Check for crm_node presence before collecting fact
This commit adds a check to make sure 'crm_node' is present on the
system (or inside a container, fwiw) before attempting to collect
the stonith level info, so preventing errors like:

~~~
Error: Facter: error while resolving custom fact
\"stonith_levels\": execution of command \"crm_node -n 2> /dev/null\"
failed: command not found."
~~~

Change-Id: I4b4304b54a8aec76fad50b503a007b2bfcc41bd1
2019-11-22 16:47:19 +01:00
..
facter Check for crm_node presence before collecting fact 2019-11-22 16:47:19 +01:00
puppet Fix upper case checks for SRIOV interface 2019-10-17 23:14:44 +05:30