Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

Commit

Permalink
to avoid "redeclare" conflict
Browse files Browse the repository at this point in the history
if another module need same packages we have this message :
Error while evaluating a Resource Statement, Duplicate declaration: Package[...] is already declared; cannot redeclare ...
  • Loading branch information
PascalBourdier committed Oct 20, 2016
1 parent 2e00eef commit da45223
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions manifests/packages/essential.pp
Expand Up @@ -31,9 +31,7 @@
$builder_pkgs = $common_builder_pkgs
}

package { $builder_pkgs:
ensure => installed,
}
ensure_packages($builder_pkgs)

package { 'mock':
ensure => $mock_version,
Expand Down

0 comments on commit da45223

Please sign in to comment.