On Friday, January 31, 2014 3:08:53 PM UTC+1, liu.cy wrote: > 1. augeas, but it depends on what application are you using. augeas only > works when template available. the most common config files are built-in > supported like sysctl.conf, iptables, httpd.conf. you have to write your > own augeas template if you are using own apps. >
Actually, I have to work with custom config files, too. But they use standard .ini and .conf file structure, with [sections] and parameter=value pairs. Does augeas need custom templates to be developed in this case, too? I hoped it could work for any standard configuration file. > 4. like sysctl, httpd most apps in linux already have include functions, > my suggestion is try to find if your app config can include another config > file or not. if not, can you add it? But this would not solve my need for string replacements in existing files. And I have many of them. Thanks. Marco -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/60e4323f-b32b-4166-897b-ed35e7cc60d1%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.