puppetlabs/puppetlabs-mysql — pull request #29 by ccaum (2011-12-20 05:52:29+00:00)
Title: Only notify Exec to import sql if sql is given

Commit e3b9fd broke the mysql::db defined type by always notifying the
Exec[${name}-import-import] resource even though the resource may not be
declared if the $sql parameter was not given. This commit adds an
in-selector to only notify the Exec resource if the $sql parameter has a
value. More extensive rspec-puppet tests have been provided to protect
against this in the future.