[Puppet Users] Re: Looking up information from the config...

2008-12-10 Thread Jared Brothers
On Thu, Dec 4, 2008 at 5:41 PM, Jeffrey Hulten <[EMAIL PROTECTED]> wrote: > > Is there a way, in a puppet config, to query the current nodes config > elements and use them in a template? My specific case is a JBOSS > configuration with multiple instances on one server installation. I > have the s

[Puppet Users] Re: Puppet Users] Re: Looking up information from the config...

2008-12-08 Thread RodneyQ
Hi Luke, >And ralsh has a --host option that allows you to connect to >remote hosts, if those remote hosts have enabled their 'resource' API. Can you please elaborate on this? How to enable the resource API? Is this just adding the listen option, port and include the namespaceauth.conf to puppe

[Puppet Users] Re: Puppet Users] Re: Looking up information from the config...

2008-12-08 Thread RodneyQ
Hi Jeff, Here is my example: I tried to check the types(service,packages,users,..etc) then check it again with another exec. node nx.example.org { ... ... exec { "getservices": command => "ralsh service mysq l |grep enable > /tmp/retval", path=> "/bin:/usr/bin",

[Puppet Users] Re: Puppet Users] Re: Looking up information from the config...

2008-12-08 Thread Luke Kanies
On Dec 8, 2008, at 12:52 AM, Jeffrey Hulten wrote: > Rodney, > > Do you have any examples of how you are using RALSH that you can > share? I can give a few examples of how I use it, but I can't promise this mode will fit all that way for others. I mostly use ralsh for investigation or ad-h

[Puppet Users] Re: Looking up information from the config...

2008-12-08 Thread Evan Hisey
On Thu, Dec 4, 2008 at 4:41 PM, Jeffrey Hulten <[EMAIL PROTECTED]> wrote: > > Is there a way, in a puppet config, to query the current nodes config > elements and use them in a template? My specific case is a JBOSS > configuration with multiple instances on one server installation. I > have the s

[Puppet Users] Puppet Users] Re: Looking up information from the config...

2008-12-07 Thread Jeffrey Hulten
Rodney, Do you have any examples of how you are using RALSH that you can share? Thanks, Jeff On Sun, Dec 7, 2008 at 7:31 PM, RodneyQ <[EMAIL PROTECTED]> wrote: > > Hi Jeffrey, > > I'm also new to puppet and currently using the ralsh to query > packages, services. > Hope others can also share t

[Puppet Users] Re: Looking up information from the config...

2008-12-07 Thread RodneyQ
Hi Jeffrey, I'm also new to puppet and currently using the ralsh to query packages, services. Hope others can also share their own info. :) Cheers, Rodney On Dec 5, 6:41 am, Jeffrey Hulten <[EMAIL PROTECTED]> wrote: > Is there a way, in a puppet config, to query the current nodes config > ele