Puppet 3 Functions

Defined in:
decrypt: lib/puppet/parser/functions/decrypt.rb (58)
hpc_atoh: lib/puppet/parser/functions/hpc_atoh.rb (20)
hpc_hmap: lib/puppet/parser/functions/hpc_hmap.rb (20)
hpc_ha_vips: lib/puppet/parser/functions/hpc_ha_vips.rb (20)
hpc_ha_vservs: lib/puppet/parser/functions/hpc_ha_vservs.rb (20)
hpc_dns_zones: lib/puppet/parser/functions/hpc_dns_zones.rb (20)
hpc_source_file: lib/puppet/parser/functions/hpc_source_file.rb (4)
hpc_nodeset_fold: lib/puppet/parser/functions/hpc_nodeset_fold.rb (4)
hpc_roles_nodeset: lib/puppet/parser/functions/hpc_roles_nodeset.rb (26)
hpc_nodeset_expand: lib/puppet/parser/functions/hpc_nodeset_expand.rb (4)
hpc_get_hosts_by_profile: lib/puppet/parser/functions/hpc_get_hosts_by_profile.rb (19)
hpc_shorewall_interfaces: lib/puppet/parser/functions/hpc_shorewall_interfaces.rb (25)
hpc_roles_single_nodeset: lib/puppet/parser/functions/hpc_roles_single_nodeset.rb (26)
hpc_ha_vip_notify_scripts: lib/puppet/parser/functions/hpc_ha_vip_notify_scripts.rb (20)

Available Functions

Function Details

(rvalue) decrypt

Loads a crypted file from a module, evaluates it, and returns the resulting value as a string.

Returns:

(rvalue) hpc_atoh

Transform an array into a hash with empty values

Returns:

(rvalue) hpc_hmap

Transform a hash of values into a hash of hash

Returns:

(rvalue) hpc_ha_vips

Return a hash of VIP hash for the current host

Returns:

(rvalue) hpc_ha_vservs

Return a list of vserv hash for the current host

Returns:

(rvalue) hpc_dns_zones

Return a hash of DNS zones hashes of the cluster

Returns:

(rvalue) hpc_source_file

Loads a file from a source (module, file://, http://...) and returns the data

Returns:

(rvalue) hpc_nodeset_fold

Returns a nodeset expression corresponding to nodes in the array.

Returns:

(rvalue) hpc_roles_nodeset

Return a hash of roles and nodeset for roles passed as argument

Returns:

(rvalue) hpc_nodeset_expand

Returns an array of node name corresponding to the expanded nodeset expression.

Returns:

(rvalue) hpc_get_hosts_by_profile

Returns the array of node names that have the given profile.

Returns:

(rvalue) hpc_shorewall_interfaces

Returns an array of shorewall interfaces for this host, based on the current network config. Interfaces are defined with the attribute firewall_zone in the cluster net_topology hiera.

Returns:

(rvalue) hpc_roles_single_nodeset

Return a single nodeset of all the hosts in the roles passed as argument

Returns:

(rvalue) hpc_ha_vip_notify_scripts

Return a hash of VIP notify scripts hash for the current host

Returns: