From aa2f583d282bf356f82588fe96642cf02dfd19a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Tarti=C3=A8re?= Date: Fri, 22 Jan 2021 11:25:32 -1000 Subject: [PATCH] Explicitely mark internal classes as private --- manifests/files.pp | 3 ++- manifests/packages.pp | 3 +-- manifests/service.pp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/manifests/files.pp b/manifests/files.pp index 2e4c05b6..c29685ea 100644 --- a/manifests/files.pp +++ b/manifests/files.pp @@ -1,5 +1,6 @@ class postfix::files { - include postfix + assert_private() + include ::postfix::params $alias_maps = $postfix::all_alias_maps diff --git a/manifests/packages.pp b/manifests/packages.pp index b18ca333..f77b8fcb 100644 --- a/manifests/packages.pp +++ b/manifests/packages.pp @@ -1,6 +1,5 @@ class postfix::packages { - include postfix - include ::postfix::params + assert_private() package { 'postfix': ensure => $postfix::postfix_ensure, diff --git a/manifests/service.pp b/manifests/service.pp index 2703028d..025a5ffa 100644 --- a/manifests/service.pp +++ b/manifests/service.pp @@ -1,5 +1,5 @@ class postfix::service { - include postfix + assert_private() $manage_aliases = $postfix::manage_aliases