Create log-bin directory if it doesn't exist

It seems the MySQL doesn't like it when you use a log-bin directory that doesn't exist. If you add this before the mysql package is installed then it will fail (if the mysql user doesn't exist). If you add the directory after you run the mysql::server class then mysql will fail to start the first time, it will only be resolved on a subsequent puppet run.
I'm struggling to come up with a selector block that replaces this. I'm trying to make sure it handles both log-bin and log_bin (afaik both are acceptable to MySQL).