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

apache::balancer: Add a target parameter to write to a custom path #1386

Merged
merged 1 commit into from
Mar 3, 2016

Conversation

roidelapluie
Copy link
Contributor

Thit commits implements a target parameter to the apache::balancer
definition to specify a different configuration path if needed (e.g with
a different suffix or in a different location).

@roidelapluie roidelapluie changed the title apache::balancer: Add a target parameter to specify an custom path apache::balancer: Add a target parameter to specify a custom path Mar 3, 2016
@roidelapluie roidelapluie changed the title apache::balancer: Add a target parameter to specify a custom path apache::balancer: Add a target parameter to write to a custom path Mar 3, 2016
) {
include ::apache::mod::proxy_balancer

$target = "${::apache::params::confd_dir}/balancer_${name}.conf"
if $target {
$real_target = $target
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 use $_target = $target instead of $real_target = $target ? Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done :-)

Thit commits implements a target parameter to the apache::balancer
definition to specify a different configuration path if needed (e.g with
a different suffix or in a different location).
hunner added a commit that referenced this pull request Mar 3, 2016
apache::balancer: Add a target parameter to write to a custom path
@hunner hunner merged commit 60f83d4 into puppetlabs:master Mar 3, 2016
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.

3 participants