Currently, the list of $system_packages in Gitlab module, might interfer
with the setup one has already in place (ie. Duplicate declaration error).
In order to still provide a functionally working installation by default,
but yet avoid Duplicate declaration error on specific this commits allows
one to specify which $system_packages should be controlled by the Gitlab module.
So if one has the puppetlabs/gcc module enabled on the system, one could specify
the following $system_packages parameter :
PS. I know that this module is using ensure_packages(), to check if a package is present, but another module might not, hence resulting in the error mentioned
...ule
Currently, the list of
$system_packages
in Gitlab module, might interfer with the setup one has already in place (ie. Duplicate declaration error).In order to still provide a functionally working installation by default, but yet avoid Duplicate declaration error on specific this commits allows one to specify which
$system_packages
should be controlled by the Gitlab module.So if one has the puppetlabs/gcc module enabled on the system, one could specify the following
$system_packages
parameter :Note how gcc-c++ is not specified.
PS. I know that this module is using ensure_packages(), to check if a package is present, but another module might not, hence resulting in the error mentioned