First of all it's a bad style to surround a LWRP with ```if``` or ```unless```. There are ```only_if``` and ```not_if``` attributes that should be used. The other thing is I think you can create this directory on all distributions.