Sometimes it is almost like the Ubuntu developers go out of their way to annoy
the rest of the world, this
time (for ancient values of “this time”) the Python package-maintainer
decided to add a sitecustomize
module to the Python standard library. This
is not what sitecustomize
is for, sitecustomize
is for “performing
arbitrary site-specific customizations”.
This is pretty annoying, when you want to use sitecustomize
for its intended
purpose, so puppet to the rescue:
file { ['/usr/lib/python2.7/sitecustomize.py', '/usr/lib/python2.7/sitecustomize.pyc', '/usr/lib/python2.7/sitecustomize.pyo']: ensure => removed, }