summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp10
1 files changed, 6 insertions, 4 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 8eca62e..eaeea8a 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -16,11 +16,13 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-class nginx inherits nginx::base {
- case $ssl {
- true: {
- include ssl
+class nginx inherits nginx::base(
+ $deploy_certs = true
+) {
+ include ssl
+ case $deploy_certs {
+ true: {
ssl::cert { "$::domain":
main => true,
notify => Service['nginx'],