chef-boneyard / httpd

DEPRECATED: Library cookbook with Apache httpd primitives
https://supermarket.chef.io/cookbooks/httpd
Apache License 2.0
39 stars 59 forks source link

Suggestion: provide a mechanism to delete/manage configuration files #14

Open kkeane opened 9 years ago

kkeane commented 9 years ago

I like the principle behind the httpd_config resource. I would like for it to be able to delete files, as well. Also, allow setting owner/group/permission. A few configuration files might be root-only; Apache should only be able to read those before dropping privileges.

Also allow linking or copying configuration files in /etc/httpd/conf.d . Many RPMs drop their configuration file only there, and you may not necessarily want to manage all of them with chef.

kkeane commented 9 years ago

Looking at the source code, I saw that the :delete action already exists. Could it be added to the README? The other requests still hold, of course.

someara commented 9 years ago

Sure. I can tack owner/group parameters on there very easily.

kkeane commented 9 years ago

Also providing a way to link configuration files from the standard /etc/httpd/conf.d directory would be very helpful.

someara commented 9 years ago

The standard paths are purposefully disconnected so that nobody gets hurt during package upgrades. -s

On Mon, Jan 12, 2015 at 3:16 PM, Kevin Keane notifications@github.com wrote:

Also providing a way to link configuration files from the standard /etc/httpd/conf.d directory would be very helpful.

— Reply to this email directly or view it on GitHub https://github.com/chef-cookbooks/httpd/issues/14#issuecomment-69637719.