User story (meta) #2410
Name resolution : options settings
| Status: | Released | Start date: | 2012-04-03 | |
|---|---|---|---|---|
| Priority: | 3 | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | Techniques - Others | |||
| Target version: | 2.3.7 | |||
| Needs translating: | No |
Description
It would be fine if it was possible to manage the "options" line in /etc/resolv.conf to put something like that :
-----snip here-----
options timeout:2 attempts:1 rotate
-----snip here-----
Related issues
Associated revisions
Refs #2410: Enabled the user to set a list of options in the dnsConfiguration Technique
Fixes #2410: Enabled the user to set a list of options in the dnsConfiguration Technique (2.3 branch)
Merge branch 'branches/rudder/2.3'
- branches/rudder/2.3:
Refs #2297 : add a posthook to the copy file from shared folder
Refs #2415 typo for new version of copyFileFromSharedFolder.st (v1.2) and enhance description
Fixes #2410: Enabled the user to set a list of options in the dnsConfiguration Technique (2.3 branch)
Refs #2415 Change use of scp method on e2s_activation.st and copyFileFromSharedFolder.st (v1.1)
Refs #2415 Change scp method in order to define compare method and add a new version of 'Download from shared folder' for choosing compare method
Fixes #2409: The DNS search list on the resolv.conf is now a single space separated list instead of a single search domain tuple repeated multiple times
Refs #2413 Update cfengine_stdlib.cf of all initial promises
Refs #2413 #2412 Update cfengine_stdlib.cf of initial promises from policies/techniques
Refs #2413 #2412 Change comments in rsyslogConf.cf when using generic package manager
History
#1
Updated by Jonathan CLARKE about 1 year ago
- Assignee changed from Jonathan CLARKE to Matthieu CERDA
- Priority changed from N/A to 3
- Target version set to 2.3.7
I agree, this would be a nice feature to have.
Matthieu, can you implement this soon?
#2
Updated by Matthieu CERDA about 1 year ago
- Status changed from New to Discussion
Jonathan CLARKE wrote:
I agree, this would be a nice feature to have.
Matthieu, can you implement this soon?
I see that you set the targeted version to 2.3.7.
This is a feature, not a bug, and the 2.3 branch is a bug fix only branch. Should I fix it anyway ?
#3
Updated by Nicolas CHARLES about 1 year ago
Matthieu CERDA wrote:
Jonathan CLARKE wrote:
I agree, this would be a nice feature to have.
Matthieu, can you implement this soon?
I see that you set the targeted version to 2.3.7.
This is a feature, not a bug, and the 2.3 branch is a bug fix only branch. Should I fix it anyway ?
The Policy-Template project doesn't have the same constraint, since each PT/Technique has its own version
You can create a new version of this Policy Template (by a small or large increment) to integrate the modification in 2.3
#4
Updated by Matthieu CERDA about 1 year ago
- Status changed from Discussion to Pending technical review
- % Done changed from 0 to 100
Applied in changeset commit:39e8abf8b9627f0af3cdfa7e196fc795136a2103.
#5
Updated by Jonathan CLARKE about 1 year ago
- Status changed from Pending technical review to Pending functional review
- Assignee changed from Matthieu CERDA to Francois BAYART
Looks good to me, François can you confirm this is what you wanted?
#6
Updated by Jonathan CLARKE about 1 year ago
- Status changed from Pending functional review to Released
I'm validating this user story, so that we can release 2.3.7, but I think we can do better.
Currently, we ask the user to input a "options" line compatible with resolv.conf format, but this line is actually a set of sub-options (ndots, timeout, rotate...), some of which take values (number of seconds , number of times) and others are booleans. These would be much better represented by the corresponding fields in Rudder, so I'm opening a new user story for that: #2462.
#7
Updated by Jonathan CLARKE 11 months ago
- Category changed from Techniques - Sys & init promis to Techniques - Others