[Puppet Users] Re: exported resources and templating

2011-09-22 Thread jcbollinger
On Sep 21, 7:35 pm, Robin Lee Powell rlpow...@digitalkingdom.org wrote: On Tue, Aug 23, 2011 at 06:21:48AM -0700, jcbollinger wrote: On Aug 22, 8:11 am, puppetlurker under.my.cont...@gmail.com wrote: Greetings, I'm having an issue with my implementation of exported resources. I

Re: [Puppet Users] Re: exported resources and templating

2011-09-22 Thread Robin Lee Powell
Thanks for the detailed reply! On Thu, Sep 22, 2011 at 07:18:13AM -0700, jcbollinger wrote: It sounds like your problem is that you don't in fact want to collect *resources* at all -- rather, you want to collect *data*. That is not what exported resources are for. That's entirely correct.

[Puppet Users] Re: exported resources and templating

2011-09-22 Thread jcbollinger
On Sep 22, 12:39 pm, Robin Lee Powell rlpow...@digitalkingdom.org wrote: Thanks for the detailed reply! On Thu, Sep 22, 2011 at 07:18:13AM -0700, jcbollinger wrote: It sounds like your problem is that you don't in fact want to collect *resources* at all -- rather, you want to collect

Re: [Puppet Users] Re: exported resources and templating

2011-09-22 Thread Robin Lee Powell
On Thu, Sep 22, 2011 at 02:24:45PM -0700, jcbollinger wrote: You are missing the obvious: I had a feeling I might be. anything in your manifests themselves is at least potentially available to all nodes. Taking your e-mail address example, you can do this: class email { $addresses

Re: [Puppet Users] Re: exported resources and templating

2011-09-21 Thread Robin Lee Powell
On Tue, Aug 23, 2011 at 06:21:48AM -0700, jcbollinger wrote: On Aug 22, 8:11 am, puppetlurker under.my.cont...@gmail.com wrote: Greetings, I'm having an issue with my implementation of exported resources.  I have a memcache server pool, and want to update the /etc/php.d/

[Puppet Users] Re: exported resources and templating

2011-08-23 Thread puppetlurker
Hmmm. I upgraded, but when running a test I get: /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- puppet/rails/resources (MissingSourceFile) # puppet help hostname err: no such file to load -- puppet/rails/resources There are:

[Puppet Users] Re: exported resources and templating

2011-08-23 Thread puppetlurker
Nevermind, I found it: http://projects.puppetlabs.com/projects/puppet/wiki/Generating_a_config_file_from_fragments On Aug 23, 9:21 am, jcbollinger john.bollin...@stjude.org wrote: On Aug 22, 8:11 am, puppetlurker under.my.cont...@gmail.com wrote: Greetings, I'm having an issue

[Puppet Users] Re: exported resources and templating

2011-08-22 Thread puppetlurker
This looks promising! I should be able to create a fact on some servers, then collect those servers in a template. I'm going to upgrade to test this out. Thanks, puppetlurker On Aug 22, 10:45 am, Nan Liu n...@puppetlabs.com wrote: On Mon, Aug 22, 2011 at 6:11 AM, puppetlurker