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

-- 
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