Hi Vikas,
to set multiple nodes, you need to use the 'setm' command; 'set' will only change a single node. Also, the path expressions in Augeas are more like XPath, and therefore don't have globbing built in. In augtool, you'd do what you want with this command:
setm /files/etc/sysconfig/network-scripts/*[label() =~ glob('ifcfg-*')] NM_CONTROLLED noThe corresponding Augeas resource would be something like
augeas { "network-tweaks-RedHat":
context => "/files/etc/sysconfig/network-scripts",
changes => ["setm *[label() =~ glob('ifcfg-*')] NM_CONTROLLED no"],
}
David