'Standardize the excl arguments for the Httpd lens in Augeas.
Note: Hack!
Standardize the excl arguments for the Httpd lens in Augeas
Servers sometimes give incorrect defaults
Note: This problem should be fixed in Augeas 1.0.  Unfortunately,
Augeas 0.10 appears to be the most popular version currently.'

def standardize_excl(self):

    excl = ['*.augnew', '*.augsave', '*.dpkg-dist', '*.dpkg-bak', '*.dpkg-new', '*.dpkg-old', '*.rpmsave', '*.rpmnew', '*~', (self.root + '/*.augsave'), (self.root + '/*~'), (self.root + '/*/*augsave'), (self.root + '/*/*~'), (self.root + '/*/*/*.augsave'), (self.root + '/*/*/*~')]
    for (i, excluded) in enumerate(excl, 1):
        self.aug.set(('/augeas/load/Httpd/excl[%d]' % i), excluded)
    self.aug.load()
