Closed pmiles closed 9 years ago
Having the common module in your $modulepath or even including it in the catalog does nothing. It is built to be totally safe and take no action. You have to specifically enable any bits of functionality within Hiera.
In our organisation, we don't need all of the functionality of the puppet common module.
This change wraps a condition around the mkdir_p call, and if common module doesn't exist, will fall back and use an exec mkdir -p instead.
I believe this change is backward compatible.