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