ghoneycutt / puppet-module-pam

Puppet module to manage PAM
Other
18 stars 78 forks source link

Update limits.pp #83

Closed pmiles closed 9 years ago

pmiles commented 9 years ago

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.

ghoneycutt commented 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.