puppetlabs/puppetlabs-mysql — pull request #103 by jkff (2012-08-22 01:42:16+00:00)
Title: Customizable setup class for package/service.

E.g. to transparently use galera packages, which require
not only a different package name, but a special setup
procedure, but afterwards can be used as regular mysql.

I'm not sure how to test this with rspec (though existing tests pass). Specifically, I need to make a test that will include the mysql class and another class as its custom_setup_class, and check that the custom_setup_class was called at the proper time; can you perhaps give me a pointer to similar "prior art"?