Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to enable/disable "EnableSendFile" from base class call. #105

Merged
merged 2 commits into from
Nov 9, 2012

Conversation

obokaman-com
Copy link
Contributor

In some common environments ( working with Vagrant + Puppet and serving files from shared folder ), there's some problems when EnableSendfile is "on" (by default). It will be really helpful to allow disable this param from base class call.

Could you consider to include in main project?

Best regards!

@alombarte
Copy link

+1

It is a real problem with NFS and development environments. It would be nice to have this integrated instead of hardcode replacement of the line.

@@ -14,7 +14,8 @@
#
class apache (
$default_mods = true,
$serveradmin = 'root@localhost'
$serveradmin = 'root@localhost',
$sendfile = false,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you remove the trailing , for Puppet 2.6 compatibility please? And also align the = signs for style.

…t for style-

- Calling serveradmin and sendfile variables on httpd.conf.erb templates using referencing variables to avoid them collide with Ruby function names.
@obokaman-com
Copy link
Contributor Author

Sure, @hunner . Thanks for the corrections! I've just commited both changes, and replaced the serveradmin variable by @serveradmin too on httpd.conf.erb template.

hunner added a commit that referenced this pull request Nov 9, 2012
Ability to enable/disable "EnableSendFile" from base class call.
@hunner hunner merged commit 293b731 into puppetlabs:master Nov 9, 2012
traylenator pushed a commit to traylenator/puppetlabs-apache that referenced this pull request Jun 7, 2022
* adding in pass_hash param for test environment

* fixing rakefile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants