puppetlabs/puppetlabs-mysql — pull request #28 by ccaum (2011-12-20 02:30:43+00:00)
Title: (#11508) Only load sql_scripts on DB creation

Previous to this commit, if the sql parameter was provided to a
declaration of the mysql::db defined type, the defined type would always
load the sql script on every catalog run. This changes the exec that
loads that sql script to be refreshonly unless the enforce_sql parameter
is set to true.