example42/puppet-foo — pull request #5 by lxyu (2013-01-24 08:16:27+00:00)
Title: Only update config file if config dir unset

If I understand it correctly, when I try to overwrite the whole config dir, I must have also provide the config file in that `source dir`.

And this is the case when I try to apply the nginx module. When I try to replace the whole `/etc/nginx` with my own config, I found that `/etc/nginx/nginx.conf` been overwritten to the module default one.