Hi

I've just started trying to use augeas to manage /etc/network/
interfaces on Ubuntu....

I found some stuff in the archive that seems to match what I need but
I can't make anything work.

I have
   augeas { "network_interface":
      context => "/etc/network/interfaces",
      changes => [
          "set auto[.= eth1] eth1",
          "set iface[.= eth1] eth1",
          "set iface[.= eth1]/family inet ",
          "set iface[.= eth1]/method manual ",
}

This does not produce any errors but does not do anything either.

I installed augtool on the box and tried:

cp /etc/network/interfaces .
rful011@mon225044:~$ augtool
augtool> set file/interfaces/iface[eth1] eth1
augtool> set file/interfaces/iface[eth1]/family inet
augtool> set file/interfaces/iface[eth1]/method manual
augtool> save
augtool> ls  file/interfaces/iface[eth1]
augtool> quit

again no errors (no feedback at all ?) and no changes to the file.

Clearly I am missing something!

Russell

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to