cfengine/design-center — pull request #20 by nickanderson (2012-03-01 17:15:26+00:00)
Title: Add sketch to manage /etc/hosts 

Used for enforcing the complete contents of /etc/hosts

Warning: This is somewhat draconian, but it might be more desirable
than distributing a hand edited file since the definition of each element
can have a comment for knowledge management attached to it.

Known Limitation: it doesn't remove duplicate lines, but I think that only causes my head to hurt if it happens no technical issue. That being said if someone has an edit_lines that removes duplicates leaving a single entry I would be happy to have it added :)