This didn't seem to work quite right for me... I think this should be tweaked a bit like so:

    /usr/bin/find . -name '*.pyc' -print0 | /usr/bin/xargs -0 /bin/rm -f

* Puppet generally requires full paths to all commands

* Probably unlikely here, but `find` & `xargs` will stumble over file names with spaces unless you use null-delimited strings.

* Depending on the shell used by puppet, double quotes for the `-file "*.pyc"` will trigger globbing logic. So, you'll end up with something like `-name build.pyc  __init__.pyc  log_settings.pyc  manage.pyc  settings_local.pyc  settings.pyc  settings_test.pyc  urls.pyc`