User story (meta) #2410

Name resolution : options settings

Added by Francois BAYART over 2 years ago. Updated over 2 years ago.

Status:Released Start date:2012-04-03
Priority:3 Due date:
Assignee:Francois BAYART % 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

related to Techniques - User story (meta) #2462: Detailed configuration of options in resolv.conf via the ... New 2012-04-23

Associated revisions

Revision b6215879
Added by Matthieu CERDA over 2 years ago

Refs #2410: Enabled the user to set a list of options in the dnsConfiguration Technique

Revision 39e8abf8
Added by Matthieu CERDA over 2 years ago

Fixes #2410: Enabled the user to set a list of options in the dnsConfiguration Technique (2.3 branch)

Revision 072e7cb0
Added by Jonathan CLARKE over 2 years ago

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

Revision 1a29bd3d
Added by Jonathan CLARKE over 2 years ago

Move merged Policy Templates from policies dir to techniques and rename to Techniques. Refs #2410 #2415

History

#1 Updated by Jonathan CLARKE over 2 years 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 over 2 years 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 over 2 years 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 over 2 years 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 over 2 years 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 over 2 years 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 over 2 years ago

  • Category changed from Techniques - Sys & init promis to Techniques - Others

Also available in: Atom PDF