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 <[email protected]> wrote: > > 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 do so? > > 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 emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/xn0lpwsm9ld5lb8000%40news.gmane.org. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/55259A86-56F3-446C-81B0-BBCD7B4A90ED%40puppet.com. For more options, visit https://groups.google.com/d/optout.
