Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-1413

Support touch command for augeas type

    XMLWordPrintable

Details

    • 0

    Description

      I need to add the augeas node /files/etc/resolv.conf/options/rotate.

      The current augeas type does not support the touch command.

      I cannot use the set command because puppet requires a value for the node.

      Instead of being able to do:

      augeas { "resolvconf" :
        context => "/files/etc/resolv.conf",
        changes => [
          "ins options before search",
          "touch options/rotate",
        ],
      }
      

      I have to do (not very intuitive):

      augeas { "resolvconf" :
        context => "/files/etc/resolv.conf",
        changes => [
          "ins options before search",
          "ins rotate before search",
          "mv rotate options/rotate",
        ],
      }
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              benjarrell Benjamin C
              Eric Thompson Eric Thompson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support