[Puppet Users] Re: Splitting classes into separate files

2010-07-05 Thread TomTom
Hey Fellows, What an interesting discussion. Have you guys ever seen Example42's Apache Module? http://www.example42.com/puppet/browsemodules.php It is an an excellent model of what everyone is talking about. I always import my defines/ and classes subdirectories with the following in my modul

[Puppet Users] Re: Puppet deployment design questions

2010-07-05 Thread TomTom
Hi Tass, If I understood your question correctly, you were wondering if you should deploy puppet as a "standalone" client server model, vs. a hybrid client+server on each of your hosts. You should shoot for the standalone option. Puppet is essentially a webserver. You can scale it with multiple

[Puppet Users] Re: Variable Scoping: What do you want?

2010-07-05 Thread TomTom
Hello All, Thanks for opening up this discussion to the community. I quickly scanned through this thread, but didn't see anything from Markus, does he post under a different name. Not to side track the conversation, but could anyone explain why variable scoping is the way it is in puppet? I "unde

[Puppet Users] Source Arrays and Template Arrays

2009-07-23 Thread TomTom
Hello All, I recently found an excellent feature that I never knew about. I never knew that you could source an array of files and then have puppet figure out which one to use (like a case statement, within the source directive. An example of this would be: file { "/etc/sysctl.conf": source =

[Puppet Users] Install configs initially then stop managing those files

2008-10-21 Thread TomTom
Hello All, I am trying to build up some dev boxes. These boxes are obviously very different from our other production/QA environments. I have a need to allow developers to configure certain config files such as httpd.conf. What I need to do is have puppet push out the config file at installatio

[Puppet Users] Re: Install configs initially then stop managing those files

2008-10-21 Thread TomTom
file { "/my/file": source => "/path/in/nfs/or/something", replace => false, } I would need to replace it initially at installation time, but then stop "replacement" afterward. Does anyone have a suggestion on implementing this? Thanks a lot! -Tom On O

[Puppet Users] Re: Unable to get initial example

2009-02-19 Thread TomTom
Hello All, The fix for me was to create a new puppet user on the system with the System Preferences User Create tool. I fooled around with the command line dscl user creation tool, but could never get it working, so I punted and used the GUI. Thanks everyone for all your hard work. -Tom On Fe

[Puppet Users] Puppet Framework

2009-02-19 Thread TomTom
Hello All, Does anyone know of a puppet "framework"? I am interested in structuring our very large puppet installation into an easy to understand file system layout. Does anyone have an hints on how to organize the inheritance structure. For example: web software class inherits apache class i

[Puppet Users] Expert Idempotency Question: Multi-Mysql Installation File System Creation Question

2009-03-16 Thread TomTom
Hello All, I am trying to puppetize a multi-mysql installation. Our mysql consultant suggested that we use the pre-compiled binary installations from mysql.com. So a multi-instance mysql installation would look like /data01/multi_mysql/mysql_A/ /data01/multi_mysql/mysql_B/ /data01/multi_mysql/my

[Puppet Users] Re: Expert Idempotency Question: Multi-Mysql Installation File System Creation Question

2009-03-16 Thread TomTom
lass would be greatly appreciated. Thank you very much for your help. Ill buy you a beer at the first puppet conference. :) -Tom On Mar 16, 11:33 am, Bruce Richardson wrote: > On Mon, Mar 16, 2009 at 08:16:31AM -0700, TomTom wrote: > > Second of all, when I try to run the second m

[Puppet Users] Re: Expert Idempotency Question: Multi-Mysql Installation File System Creation Question

2009-03-16 Thread TomTom
t; multi_mysql": ... }) with a virtual resource, and you're done > > Greets, > > Felix > > Am 16.03.2009 um 16:48 schrieb TomTom: > > > > > Hi Bruce, > > Thanks for the snappy reply. > > I need to create X number of mysql_X directories under

[Puppet Users] Re: Expert Idempotency Question: Multi-Mysql Installation File System Creation Question

2009-03-17 Thread TomTom
Hi Simon, That is very helpful, I am going to go through your puppet definition. Ill post any questions I have to this thread. Thanks a lot everyone! -Tom On Mar 17, 3:00 am, sjm...@pobox.com wrote: > mcgona...@gmail.com (TomTom) writes: > >  I am trying to puppetize a multi-mysql ins