Atom Powers <atom.pow...@gmail.com> writes:

> I haven't tried puppet in over a year, but when I was evaluating it I
> could never get puppet to build a template from more than one piece.
> For example, if I wanted to add a line to crontab for each of several
> different classes.

Building a file from multiple pieces is, IME, very ugly in
puppet. People usually do it via creating a temp directory, populating
it, then concatenating fragments. Somethings this is abstracted, but
it's always pretty fragile. My approach has been to shift anything I can
towards including directories of conf snippets (like sudo) or to use
augeas where I can't.

cron isn't a great example since puppet has a native type that handles
it pretty sanely.

seph
_______________________________________________
Discuss mailing list
Discuss@lopsa.org
http://lopsa.org/cgi-bin/mailman/listinfo/discuss
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to