-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
BUG, ENH, PERF: Debian/Ubuntu network configuration #12216
Comments
... @garethgreenaway et al: is this a unique issue? |
Sorry, not sure what the issue is. |
@westurner I'm unsure of what the purpose of this issue is. You linked some docs. What's the feature/bug you're looking to get fixed? |
It is not possible to:
https://github.com/westurner/salt/tree/debian_network_config Wes Turner
|
[EDIT] BUG Also, there are unclosed file handles Wes Turner
|
From [1], I understand that I can test this by copying my modified debian_ip.py module into
[1] http://docs.saltstack.com/en/latest/ref/modules/#modules-are-easy-to-write |
https://github.com/westurner/salt/compare/debian_network_config This:
About the validations:
|
@westurner Some good additions :) I find it easier to run the installer from where ever you're code is, then run a master and a minion on the same host for testing. As you're testing, etc. run the installer and restart the minion. |
Thx!
|
Yup. both master and minion running as root, installer has to run as root because of file permissions. |
Got it. I have a packer/vagrant/virtualbox setup that will help with this. Wes Turner
|
(With Ubuntu 12.04) |
... [why] does salt.modules.debian_ip.get_network_settings return a single template (when the file doesn't exist on disk)? [1] [1] salt/salt/modules/debian_ip.py Line 1387 in eade921
|
resolvconf may or may not be installed on Debian systems. If resolvconf is not installed, writes to If resolvconf is installed (as it is by default w/ Ubuntu 12.04 (and earlier, IIRC)):
Debian & Ubuntu DNS configuration docs references: |
what is the status of this work? |
Unfortunately I've been sidetracked and haven't yet learned/written tests If someone has the time and/or resources to get this merged, by all means, I've only recently learned about the _modules folder. Wes Turner
|
Going to take a look at getting these changes merged in. |
@garethgreenaway do you think the additions described in #12216 (comment) will be available in Helium release? |
@bbinet these changes are in 2014.7 (Helium) now. |
Cool! Thanks @garethgreenaway. |
@garethgreenaway (There's an RFC at westurner@f98ef01#commitcomment-6131081 ) [EDIT]: I see: garethgreenaway@d7884d5 and https://github.com/saltstack/salt/blob/2014.7/salt/modules/debian_ip.py Thanks again! TODO:
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue. |
Initially: "debian_ip ifupdown /etc/network/interfaces options for tunnels, ipv6, and dns-search"
[EDIT]
Documentation
Ubuntu ifupdown Docs
Here are the (ubuntu) docs for /etc/network/interfaces (
pkg: ifupdown
).Salt Docs
Sources
Tickets
I don't see any other tickets for e.g. tunnels, ipv6, or dns-search (as utilized by resolvconf) in debian_ip:
[EDIT]
BUG:
file.open
->with salt.utils.flopen
)PERF:
TST:
ENH:
RLS:
The text was updated successfully, but these errors were encountered: