Re: [Puppet Users] [augeas] edit YAML file

2019-02-09 Thread Helmut Schneider
Ben Ford wrote: > The https://forge.puppet.com/fiddyspence/hash_file module makes it > very easy to manage yaml files. Will check. Thank you. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving

Re: [Puppet Users] [augeas] edit YAML file

2019-02-07 Thread Ben Ford
The https://forge.puppet.com/fiddyspence/hash_file module makes it very easy to manage yaml files. Sent from my iPhone > On Feb 7, 2019, at 4:47 PM, Helmut Schneider wrote: > > Hi, > > I want to edit a YAML file: > > network: > version: 2 > renderer: networkd > ethernets: >eth0: >

[Puppet Users] [augeas] edit YAML file

2019-02-07 Thread Helmut Schneider
Hi, I want to edit a YAML file: network: version: 2 renderer: networkd ethernets: eth0: dhcp4: yes dhcp6: yes Id like to add a line: network: version: 2 renderer: networkd ethernets: eth0: dhcp4: yes dhcp6: yes dhcp-identifier: mac How can I