On 04/18/2011 10:55 PM, Denmat wrote: > Hi, > > Don't think so. You can use Augeas for editing config files in place, > templates for adding in values on the fly or source files for direct > copies. > > I don't know of others but someone else on the list might know cooler > tricks. > > Cheers, > Den > On 18/04/2011, at 23:08, David Kavanagh <[email protected] > <mailto:[email protected]>> wrote: > >> I assumed this would be simple. I thought about using augeas, but >> don't want to pull that in if I don't really need it. Is there a >> built-in resource that I could use to edit property files that I'm >> missing? >> Thanks, >> David
Hi, no, you're stuck with augeas vs. "rolling complete files" (which you may or may not want to template). If the file syntax is simple and your ruby is good, you may want to whip up a simple provider. You can roll this using pluginsync and don't need to install and learn augeas. The Forge doesn't offer too many providers yet, sadly, but you may want to trawl the githubs of the Puppetlab folks, some of them have been known to keep cool providers stashed away ;-) 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.
