Report abuse

1
2
3
4
5
6
7
8
9
augeas { "host-entry":
    context => "/files/etc/hosts",
    changes => [
        "set /files/etc/hosts/01/ipaddr 192.168.0.1",
        "set /files/etc/hosts/01/canonical pigiron.example.com",
        "set /files/etc/hosts/01/alias[1] pigiron",
        "set /files/etc/hosts/01/alias[2] piggy",
    ],
}