Krist van Besien
2014-Jan-28 12:16 UTC
[Puppet Users] Constructing rvalues from exported resources.
Hello,
I am using the Radez/Paxemaker modules, and this allows me to define a
cluster like this:
class {'pacemaker::corosync':
cluster_name => $control_clu_name,
cluster_members => $control_clu_members,
require => [ Package['ccs'],
}
I currently define the cluster name and members in two parameters. If I add
a host to the cluster I just add it's name to the $control_clu_members
parameter.
Is there a way however to do this automatically? Have every host that has
this class declared on export something, and use this. Is there a way one
can use exported resources to construct strings to be used as rvalues?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/bca40aaf-3b34-4e96-9526-70b9215f1516%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.