Friday, January 18, 2008

facter -- where to find puppet variables

I'm really loving puppet. I was able to build an application server from scratch in about 20 minutes. 19 of them were watching progress bars and syslog output. I can magically reconfigure the systems as I go and any work on do for one system can be applied to all of them.

I was hunting around for what variables are available when writing puppet configuration. I found a page that points out puppet uses something called 'facter'. I think facter is packaged with puppet. It's on my systems anyway.

If you call 'facter' you get some nice output about your system. All of those variables are available in your puppet configs.

No comments: