check per packages
This commit is contained in:
parent
0e49faf593
commit
7076150cb3
1 changed files with 5 additions and 3 deletions
|
@ -71,9 +71,11 @@ class mastodon (
|
|||
'wget',
|
||||
'zlib1g-dev',
|
||||
]
|
||||
if (!defined(Package[$packages])) {
|
||||
package { $packages:
|
||||
ensure => $package_ensure,
|
||||
$packages.each | $package | {
|
||||
if (!defined(Package[$package])) {
|
||||
package { $package:
|
||||
ensure => $package_ensure,
|
||||
}
|
||||
}
|
||||
}
|
||||
class { 'nodejs':
|
||||
|
|
Loading…
Reference in a new issue