puppet-openstacklib/lib/puppet
Alex Schultz 74de9e1d34 Create is_service_default function
This change creates a parser function that can be used to check if a
value is set to the '<SERVICE DEFAULT>' string. The is_service_default
function will return true if the parameter passed in is '<SERVICE
DEFAULT>' otherwise it returns false.

Checks like:
  if ($our_param == '<SERVICE DEFAULT>') { ... }

Should be replaced with:
  if is_service_default($our_param) { ... }

This change will also be useful if we ever refactor the default value
string or have different values as this function could be updated to
support multiple values without having to adjust the calling code.

Change-Id: I07b8b9b54ed1e88891f74da9b930e4f39876a607
2015-09-15 12:23:08 -05:00
..
parser/functions Create is_service_default function 2015-09-15 12:23:08 -05:00
provider Allow the use of an ensure_absent_val param 2015-08-18 09:46:19 +02:00
type Add a proxy inifile provider 2015-07-16 15:59:16 +02:00