Closed desc closed 10 years ago
Better then to either use ensure_packages
or to require => Package['curl']
in this module. If you define things optionally, you lose the ability to have deterministic catalogue compilations afaik.
Thanks.
So that said, a PR I would merge would be a removal of the declaration and a change in the README and a version bump.
In case that Package['curl'] is already defined somewhere else, this would generate an error.
Error 400 on SERVER: Duplicate declaration: Package[curl] is already declared in file $foo.
To avoid this error, Package['$name'] should only match, if needed.