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

Fixes #5589: Generate an Apache 2.4 compatible rudder-networks-24.conf f... #515

Conversation

Kegeruneku
Copy link

...ile

Ticket: http://www.rudder-project.org/redmine/issues/5589

To be merged in 2.11

classes => kept_if_else("rudder_networks_ok", "rudder_networks_repaired","rudder_networks_failed"),
comment => "Copying rudder apache configuration";

edit_line => insert_lines("${network_acl[${index}]}"),
Copy link
Member

Choose a reason for hiding this comment

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

We seem to have lost the "allow from 127.0.0.0/8" here...

Copy link
Author

Choose a reason for hiding this comment

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

It is expected: this 127.0... generate duplicates in the final file, like this:

Allow from 127.0.0.0/8 <= This shouldn't be here !
Allow from ::1
Allow from 127.0.0.1
Allow from 192.168.42.0/24

Copy link
Member

Choose a reason for hiding this comment

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

Ah, indeed.

@Kegeruneku Kegeruneku force-pushed the ust_5183/dev/5589_generate_rudder_networks_24_conf_file branch from 6fc39a7 to 8d97a9c Compare September 30, 2014 09:06
@Kegeruneku
Copy link
Author

PR has been updated according to feedback

@Kegeruneku
Copy link
Author

selfie-0

@jooooooon
Copy link
Member

This looks good to me! Merging.

jooooooon added a commit that referenced this pull request Sep 30, 2014
…dder_networks_24_conf_file

Fixes #5589: Generate an Apache 2.4 compatible rudder-networks-24.conf f...
@jooooooon jooooooon merged commit 6ddbf68 into Normation:branches/rudder/2.11 Sep 30, 2014
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants