Re: [Puppet Users] DEPRECATION WARNING

2010-11-21 Thread Markus Falb
On 18.11.10 21:17, CraftyTech wrote: Hello All, Is there a way of suppressing DEPRECATION WARNINGS? Ever since I upgraded rails, I keep on getting deprecation warnings that I run puppetd. Is there any way of turning these off? i.e, ruby --version ruby 1.8.6 (2007-09-24 patchlevel

Re: [Puppet Users] bug with using exported resources?

2010-11-21 Thread Stefan Schulte
On Tue, Nov 16, 2010 at 01:49:41AM +0100, Stefan Schulte wrote: You should file a bug about the sshkey type not raising an Error if you define a resourcename with , in it. -Stefan Just for the record: The issue has already been reported: http://projects.puppetlabs.com/issues/2495

[Puppet Users] Re: facter fact catalog?

2010-11-21 Thread donavan
On Nov 21, 7:55 am, Nick oinksoc...@letterboxes.org wrote: A problem I've run into during my first attempts at writing manifests, is knowing what possible facts are available, and for a given fact, what values my manifest might encounter. I use 'default' matches liberally. For required

Re: [Puppet Users] Re: facter (ruby) question

2010-11-21 Thread Jos Backus
On Sat, Nov 20, 2010 at 11:01 PM, Jay Adkisson j4yf...@gmail.com wrote: FWIW, it's probably better performance-wise to do the string manipulations in Ruby rather than shelling out to bash. Facter.add lokatie do setcode do case Facter.value(:ipaddress).split('.')[1] when '84':

[Puppet Users] a dummy question - Could I use regular expression in Package ?

2010-11-21 Thread 張旭
I'm a newbie in Puppet. I had googled for a while, I just wonder if those work ? (syntax below) packe { provider = yum allowcdrom = true python*: ensure = installed; mysql*: ensure = installed; } please help! thanks! -- You received this message

[Puppet Users] Re: more than one instance of a service

2010-11-21 Thread russell.fulton
I have worked my way around this one: empirical evidence suggest that one can use variable in include but not import. This makes some sort of sense. So I now import master/*.pp include $master This leads to another problem but I'll post it to a thread of its own... Russell -- You received

[Puppet Users] how to use fully qualified names in erb...

2010-11-21 Thread russell.fulton
I have a class in a file monitor/manifest/masters/dmzo: class dmzo { $rule_categories = [ scan,finger,ftp,telnet,rpc,rservices,ddos,dns,tftp,web- coldfusion,misc,web-php, ] } and probably other variables eventually... In my monitor/manifest/init.pp: module monitor {

Re: [Puppet Users] how to use fully qualified names in erb...

2010-11-21 Thread Daniel Pittman
russell.fulton russell.ful...@gmail.com writes: I have a class in a file monitor/manifest/masters/dmzo: [...] and I get the error: Could not find value for 'rule_categories' at /etc/puppet/modules/ monitor/manifests/init.pp:62 I have tried qualifying the name by prefixing it with dmzo::