I use cobbler and I push certain information to the kickstarting
system via ksmeta, e.g.:
cobbler system add --name=rhel-32bit --mac=XX:XX:XX:XX:XX:XX [...] --
ksmeta="swap=256 puppet=true"
This example allows us to define the swap size and if puppet should be
installed and configured. We use the
I use a custom fact in modules/mysql/lib/facter/server_id.rb:
# Converts ip address to long for mysql id
def get_mysql_id
mysql_id = nil;
mysql_id = Facter.ipaddress.split('.').inject(0) {|total,value| (total
<< 8 ) + value.to_i}
end
Facter.add("mysql_server_id") do
setcode do
I put server_id.rb in
/etc/puppetlabs/puppet/environments/qa/ecm-puppet/ecm/lib/facter/server_id.rb
on puppet server how do you build upon this to create a master-slave
relationship through puppet. I have a mysql db on db01.xxx.xxx and a slave
on db02.xxx.xxx
Thanks
Mac
On Wednesday, July 28,
I put server_id.rb at
/etc/puppetlabs/puppet/environments/qa/ecm-puppet/ecm/lib/facter/server_id.rb
how do i build on this to create a master-slave replication
db01.xxx.xxx(master) db02.xxx.xxx(slave).
Thanks
Mac
On Wednesday, July 28, 2010 8:42:49 AM UTC-7, Disconnect wrote:
>
> I use a cust