Skip to content

Commit

Permalink
Merge pull request #17 from betadots/private
Browse files Browse the repository at this point in the history
Add assert_private() to private classes
  • Loading branch information
bastelfreak committed Nov 17, 2022
2 parents 4f8ff0d + 2e496cd commit fc75b77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions manifests/docker.pp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# @api private
#
class hdm::docker {
assert_private()
if $hdm::manage_docker {
include docker
}
Expand Down
1 change: 1 addition & 0 deletions manifests/rvm.pp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#
# @api private
class hdm::rvm {
assert_private()
group { $hdm::group:
ensure => present,
}
Expand Down

0 comments on commit fc75b77

Please sign in to comment.