[Puppet Users] Unable to generate the puppet documentation

2012-02-28 Thread sateesh
where I am making the mistake. Thanks in advance, Sateesh B. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to p

[Puppet Users] Capture the output of exec command

2012-02-21 Thread sateesh
Hi, I need to capture the output of an exec command in puppet manifest variable. How can I do this. Thanks in advance, Sateesh B. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to pu

[Puppet Users] Re: Looping in Ruby DSL

2012-02-10 Thread sateesh
t'] " statement to tell the dependency to the Ruby DSL. Thanks everybody who helped me. Thanks, Sateesh B. On Feb 9, 1:39 pm, Felix Frank wrote: > On 02/09/2012 05:50 AM, Eric Shamow wrote: > > > Sateesh, > > > It is better if you don't look at it as a &quo

[Puppet Users] require equivalent in Ruby DSL

2012-02-08 Thread sateesh
:in `require': no such file to load -- swift::common (LoadError) Thanks in advance, Sateesh B. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe

[Puppet Users] Re: Looping in Ruby DSL

2012-02-08 Thread sateesh
ot;/sbin", "/usr/bin", "/usr/sbin"] create_resource :exec, "ring_object_entry", :command => "swift-ring-builder object.builder add z#{$zone}- #{sip}:6000/sdb1 100", :cwd => "/etc/swift", :require => Class['swift::proxy-insta

[Puppet Users] Re: define hostclass with special characters

2012-02-08 Thread sateesh
quire => Class['swift::proxy-install']. Here I got error because I place Class['swift::proxy-install'] in require attribute. As Class is pre-defined in Ruby, we need to write it another way in Puppet DSL. I want that statement in Ruby DSL. Thanks in advance, Sateesh B. On Feb

[Puppet Users] Re: define hostclass with special characters

2012-02-08 Thread sateesh
Hi, I found what is the issue. The issue is in exec I am using require attribute in which I specified :require => Class['swift::proxy-install'] How should I need to specify this in Ruby DSL. Thanks, Sateesh B. On Feb 8, 5:35 pm, Felix Frank wrote: > On 02/08/2012 12:57 P

[Puppet Users] Re: define hostclass with special characters

2012-02-08 Thread sateesh
Please give me any example for implementing this. Also when I am writing Puppet DSL, it is allowing me the dashes. On Feb 8, 5:35 pm, Felix Frank wrote: > On 02/08/2012 12:57 PM, sateesh wrote: > > > I need to define the hostclass with special character for ex: > > "swi

[Puppet Users] Re: define hostclass with special characters

2012-02-08 Thread sateesh
sorry the dir structure is /modules/swift/manifests/proxyring.rb On Feb 8, 6:17 pm, sateesh wrote: > Hi Felix, > > Even I tried to remove that Hiphen and tried. Stil I am getting the > same error. > > dir structure is > > /modules/swift/manifests/proxyinstall.rb > &g

[Puppet Users] Re: define hostclass with special characters

2012-02-08 Thread sateesh
xample for that. Thanks, Sateesh B. On Feb 8, 5:35 pm, Felix Frank wrote: > On 02/08/2012 12:57 PM, sateesh wrote: > > > I need to define the hostclass with special character for ex: > > "swift::proxy-ring" > > Uhm...why? Dashes are not allowed in any puppet clas

[Puppet Users] define hostclass with special characters

2012-02-08 Thread sateesh
e 2 and 3 options it is giving following erroe: undefined method `[]' for Class:Class at line 1 on node puppet- swproxy.persistent.co.in Thanks in advance, Sateesh B. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To p

[Puppet Users] Looping in Ruby DSL

2012-02-08 Thread sateesh
in the synchronized way. I observed that the statements are executed asynchronously. Also, I need to define the Exec path at the top as I specified in the pp file. Exec { path => ["/bin", "/sbin", "/usr/bin", "/usr/sbin"], } How to write this

[Puppet Users] Re: Puppet Agent / master configuration

2012-02-06 Thread sateesh
-test. The catalog executed correctly. Please let me know what I have mistaken in the setup. I have signed the certificate from the server. I tried with setinterval options and also without that option. But both didn't worked. Thanks in advance, Sateesh B. On Feb 6, 11:27 pm, psychobyte wr

[Puppet Users] Re: Puppet installed using Gem

2012-02-06 Thread sateesh
r the test file will be created after starting the agent. But it didn't created. Also, is there any way to run a command on server to execute the catalog for the client. Thanks in advance. Sateesh B. On Feb 6, 10:30 am, sateesh wrote: > Thanks Felix. Solved the problem by adding waitforce

[Puppet Users] Puppet Agent / master configuration

2012-02-06 Thread sateesh
parameter. Is there any config file where the time interval is set. and is there any way to run that catalog for all clients from the master machine. Also is there any way to specify the catalog for a client. I guess the site.pp is default. Thanks in advance, Sateesh B. -- You received this

[Puppet Users] Re: Puppet installed using Gem

2012-02-05 Thread sateesh
Thanks Felix. Solved the problem by adding waitforcert flag in command line. On Feb 3, 6:46 pm, Felix Frank wrote: > Hi, > > On 02/03/2012 01:48 PM, sateesh wrote: > > > "err: Could not request certificate: Connection refused - connect(2) > > are you absolutely cer

[Puppet Users] Re: Chef knife equivalent in puppet

2012-02-05 Thread sateesh
Hi Cody. Can you please help me in this. Thanks in advance, Sateesh B. On Feb 3, 10:38 am, sateesh wrote: > Hi Cody, > > Thanks for your response. > > As Specified by you I understood this way. Please correct me if I am > wrong. > > 1) I will be having a ready new VM wit

[Puppet Users] Puppet installed using Gem

2012-02-03 Thread sateesh
ting; failed to retrieve certificate and waitforcert is disabled" I have changed the owner of /var/lib/puppet to puppet:puppet. also changed the mode to 0755. Still I am getting this error. Please let me know where I am going wrong. Thanks in advance, Sateesh B. -- You received this mes

[Puppet Users] Re: Include the class of modules in master manifest

2012-02-03 Thread sateesh
Got it. Solved the problem. On Feb 3, 1:19 pm, sateesh wrote: > Hi, > > How to include the class of module in the manifests. Please find below > the details of file location. The puppet location is /etc/puppet/ > > In that location I have manifests and modules folder. > In m

[Puppet Users] Include the class of modules in master manifest

2012-02-03 Thread sateesh
e abc::xyz", I am getting "Could not find class abc::xyz" error when I run the command "puppet apply --verbose site.pp" Please let me know how to include that class in site.pp. Thanks in advance, Sateesh B. -- You received this message because you are subscribed to the Go

[Puppet Users] Re: Chef knife equivalent in puppet

2012-02-02 Thread sateesh
n get the list of IP's where a particular module has been installed (by writing a query in the recipe). Thanks in advance, Sateesh B. On Feb 2, 10:24 pm, Cody Herriges wrote: > On Feb 2, 2012, at 5:18 AM, sateesh wrote: > > > Hi Cody, > > > Probably that may also solve my

[Puppet Users] Re: Chef knife equivalent in puppet

2012-02-02 Thread sateesh
. Thanks, Sateesh B. On Feb 2, 7:07 am, Cody Herriges wrote: > Sateesh, > > I think Nan's response isn't fully answering your question since it isn't > clear how you are executing Chef.  Reading your question I foresee that you > are actually in fact running Chef Solo, k

[Puppet Users] Re: Chef knife equivalent in puppet

2012-02-02 Thread sateesh
. Thanks, Sateesh B. On Feb 2, 7:07 am, Cody Herriges wrote: > Sateesh, > > I think Nan's response isn't fully answering your question since it isn't > clear how you are executing Chef.  Reading your question I foresee that you > are actually in fact running Chef Solo, k

[Puppet Users] Re: Chef knife equivalent in puppet

2012-02-02 Thread sateesh
. Thanks, Sateesh B. On Feb 2, 7:07 am, Cody Herriges wrote: > Sateesh, > > I think Nan's response isn't fully answering your question since it isn't > clear how you are executing Chef.  Reading your question I foresee that you > are actually in fact running Chef Solo, k

Re: [Puppet Users] Re: Is puppet right for us?

2012-02-02 Thread sateesh
Thank you Jeff. This is what I am looking for. But is there any other tool where we can install on a private cloud rather than Amazon EC2. Thanks in advance, Sateesh B. Jeff McCune wrote: > On Tue, Jan 31, 2012 at 9:08 PM, sateesh wrote: > > Thanks Jeff for your response. > > >

[Puppet Users] Re: Is puppet right for us?

2012-02-01 Thread sateesh
newly created VM, credentials and the module that need to be installed on that plain Ubuntu VM. The chef server will install the specified module on that VM. Is there any way to do this using puppet? Thanks in advance, Sateesh B. On Feb 1, 3:02 am, Jeff McCune wrote: > On Tue, Jan 31, 2012 at

[Puppet Users] Search which the agent on which a specified module is been installed

2012-02-01 Thread sateesh
Hi, Can we get the list of IPs from server where the specified module is installed. There is a search functionality in the Chef to do this. Is there any way in puppet? Thanks in advance, Sateesh B. -- You received this message because you are subscribed to the Google Groups "Puppet

[Puppet Users] Search which the agent on which a specified module is been installed

2012-02-01 Thread sateesh
Hi, Can we get the list of IPs from server where the specified module is installed. There is a search functionality in the Chef to do this. Is there any way in puppet? Thanks in advance, Sateesh B. -- You received this message because you are subscribed to the Google Groups "Puppet

[Puppet Users] Re: Chef knife equivalent in puppet

2012-02-01 Thread sateesh
e any other technique for that? Thanks in advance, Sateesh B. On Feb 1, 9:03 am, Nan Liu wrote: > On Tue, Jan 31, 2012 at 7:49 AM, sateesh wrote: > > Is there any tool like chef knife in puppet. > > > My requirement is, I need to install a specified module on a plane > > ubun

[Puppet Users] How to specify the modules dependencies

2012-02-01 Thread sateesh
modules are executed irrespective to the order specified. Do we have any feature like "require" in Exec to include the modules. Thanks in advance, Sateesh B. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this

[Puppet Users] Chef knife equivalent in puppet

2012-01-31 Thread sateesh
. Which installs the chef and the specified module on the plane ubuntu machine. Thanks in advance, Sateesh B. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubs

[Puppet Users] Command to run the pp file on server to execute on client

2012-01-31 Thread sateesh
the modules specified on the client. Thanks in advance, Sateesh B. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to pu

[Puppet Users] Re: Is puppet right for us?

2012-01-31 Thread sateesh
Is there anything like chef knife in puppet. I want to install the specific module on the plain ubuntu machine using puppet scripts. Thanks in advance, Sateesh B. On Dec 9 2011, 10:22 am, Brian Gupta wrote: > I would consider the following a small list of pros and cons for the three >