On 5/24/2011 2:19 AM, Robert Bridge wrote:
On Tue, May 24, 2011 at 9:21 AM, Pandu Poluan<pa...@poluan.info> wrote:
So, do you think it will be wise to create a management tool
explicitly for Gentoo (with its quirks such as ~masks, USE flags,
portage/env, and so-on), or just rely on Puppet?
Without commenting on the wisdom of creating a gentoo specific
management tool, one observation I would make is that Puppet and Chef
are both written in Ruby. For some, this won't be an issue, but for
others, the requirement for Ruby and Python on production servers will
be a concern.
Portage and RHEL need Python. Having your configuration management
system require a high level language doesn't seem like much of a
stretch. Access to a full language within my templates has increased the
things I no longer have to manage. For example in my Mysql template I
pump the IP through a function that spits out a 32bit integer to set
server_id.
server_id = <%= ipaddress.split('.').inject(0) {|total,value| (total <<
8 ) + value.to_i} %>
I'm not sure I could do it in Bash and I was able to write it myself
rather than waiting for someone to add it to the management system.
I can't imagine any management system without the equivalent of a full
language, but maybe I'm not imaginative enough.
kashani