Thank you for your answer Felix !

I took a look at the puppet-concat module.
I should be able to achieve my goal with it but it's not cool (IMO) to use an external bash script :/ .

A type is a better solution, don't you think ?

Florent.


Hi,

On 05/17/2011 11:19 AM, Florent Paillot wrote:
Hi all,

I need a Puppet type that act like this :

class1 {

   mytype { "name:
     command =>  "command = YY"
   }
}

class2 {

   mytype { "name":
     command =>  "command = XX",
   }
}


On the client, it generate a file :

myfile.cfg
-------------

command = YY
command = XX
This module could be of interest to you:
https://github.com/ripienaar/puppet-concat

Cheers,
Felix



--

Florent PAILLOT
Service des Moyens Informatiques

INRIA Bordeaux -Sud-Ouest
05.24.57.41.25


--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to