Ask Your Question
0

Best way to edit httpd.conf

asked 2015-07-23 12:16:08 -0500

plueders gravatar image

I am in the process of writing a simple module that will install and configure apache 2.4.12. I am at the point where I need to edit the .conf files. What is the best method for performing this edit?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-07-24 02:56:05 -0500

I'd be tempted to use the module from puppetforge (apache module

If you still want to write your own modukle for the experience - have a look at templates as this will robably give you the most flexibility (templates

alternative to templates would be to use augeas or file_line

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-07-23 12:16:08 -0500

Seen: 184 times

Last updated: Jul 24 '15