[Puppet Users] Re: define hostclass with special characters

2012-02-08 Thread sateesh
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 in this I have declared the class hostclass swift::proxyring do #code here end Still I am getting same error. Can you give an example for

[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 bbalasate...@gmail.com 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 in this I have

[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 felix.fr...@alumni.tu-berlin.de wrote: On 02/08/2012 12:57 PM, sateesh wrote: I need to define the hostclass with special character for ex:

Re: [Puppet Users] Re: define hostclass with special characters

2012-02-08 Thread Felix Frank
On 02/08/2012 02:19 PM, sateesh wrote: Please give me any example for implementing this. Also when I am writing Puppet DSL, it is allowing me the dashes. Sorry, I have no idea what you're trying to do. I never heard of hostclass. I just reacted to your statement that special characters were

Re: [Puppet Users] Re: define hostclass with special characters

2012-02-08 Thread Walter Heck
Also no idea what you are trying to do, but your manifest should have .pp as it's extension. On Wed, Feb 8, 2012 at 15:27, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: On 02/08/2012 02:19 PM, sateesh wrote: Please give me any example for implementing this. Also when I am writing Puppet

[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 felix.fr...@alumni.tu-berlin.de wrote: On 02/08/2012

[Puppet Users] Re: define hostclass with special characters

2012-02-08 Thread jcbollinger
On Feb 8, 7:31 am, Walter Heck walterh...@gmail.com wrote: Also no idea what you are trying to do, but your manifest should have .pp as it's extension. On Wed, Feb 8, 2012 at 15:27, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: On 02/08/2012 02:19 PM, sateesh wrote: Please give

[Puppet Users] Re: define hostclass with special characters

2012-02-08 Thread sateesh
Hi John, I have solve that class issue. I have specified that as hostclass :'swift::proxy-ring' and it worked. My problem is I have to run the exec command in the script for which the Class swift::proxy- install is required. So, in general puppet DSL we will write that as follows: exec

Re: [Puppet Users] Re: define hostclass with special characters

2012-02-08 Thread Eric Shamow
Sateesh, Still not following why you need to use the Ruby DSL. There are many great reasons to ultimately use the Ruby DSL, but right now you are seemingly struggling to learn/understand Puppet fundamentals. I would strongly suggest that the Puppet DSL is there for a reason - it will help you