jfryman/puppet-nginx — pull request #26 by guzmanbraso (2012-10-02 02:44:19+00:00)
Title: Allow purge of confd dir as optional argument.

Resources created by puppet-nginx (upstreams,vhosts,etc) after removed kept the files for ever in /etc/nginx/conf.d . This allowed situations where someone removed a resource but it kept working anyway.

Added a new variable in params.pp "nx_confd_purge" default value false and a new optional argument confd_purge that allow to choose to get conf.d directory emptied of any file not managed by puppet.