[augeas-devel] [Augeas] #280: /etc/sysconfig/ntpdate missing from default lenses

Augeas trac at fedorahosted.org
Sun May 27 09:03:06 UTC 2012


#280: /etc/sysconfig/ntpdate missing from default lenses
--------------------------+--------------------
  Reporter:  rsawhill     |      Owner:  lutter
      Type:  enhancement  |     Status:  closed
  Priority:  trivial      |  Milestone:  next
 Component:  Augeas       |    Version:  0.10.0
Resolution:  fixed        |   Keywords:
Blocked By:               |   Blocking:
--------------------------+--------------------
Changes (by domcleal):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 Hi Ryan,

 You're right, it is that trivial.  It's probably just an oversight, since
 the config was split into "ntpd" and "ntpdate" in the RHEL 6 era, while in
 RHEL 5 there was only "ntpd".

 The next version of Augeas has changed to include /etc/sysconfig/* and
 makes exceptions where needed, so this will work.

 As a user it's possible to tell Augeas to parse a file with a given lens
 without it needing to be in the autoload lists, e.g.
 {{{
 augtool> set /augeas/load/Shellvars/incl[last()+1] /etc/sysconfig/ntpdate
 augtool> load
 }}}

 more info: http://augeas.net/page/Loading_specific_files

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/280#comment:2>
Augeas <http://augeas.net/>
a configuration API




More information about the augeas-devel mailing list