Hi,
So, I am writing a module to install and configure ucarp. There is only
one module in puppet forge and that is not that good.
In ucarp, same configuration files have to be served on two servers and
to configure the host I am defining a custom resource
ucarp::host::config. So, for using, I'll have to create this resource
two times on two different servers. So, this resource generates few
files out of which few will be common and hence starts generating
multiple definitions error.
So, to use the module on Host A, a guy will have to first include ucarp
(to do basic stuff like package installation and making sure service is
running) and then something like
ucarp::host::config { "ucarp-test":
node_id => '1',
password => "testpass",
interface_primary => 'eth0',
interface_vip => 'eth1',
vip_addr => '1.1.1.1',
vip_addr_netmask => '2.2.2.2',
}
On Host B, everything would be same except the vip_addr value which
results in multiple definition errors for the files that I'm serving.
What is it that can be done?
--
Cheers,
Abhijeet R
http://blog.abhijeetr.com
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.