Skip to content

Commit

Permalink
Default to ensure => 'installed' for the package
Browse files Browse the repository at this point in the history
Prior to this, the default value for the `ensure` parameter of the
logrotate package was set to 'latest'. This meant that by simply
declaring a logrotate::rule, the package could also be updated. It is
generally not a good idea to update system packages unless being done in
a controlled envrionment.

To fix that issue, the default value is being changed to 'intalled'.
This way, the end-user can choose to update the logrotate package when
they want to.

This fixes issue voxpupuli#11
  • Loading branch information
natemccurdy committed Nov 4, 2015
1 parent f48b259 commit c2cd26e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
class logrotate (
$ensure = 'latest',
$ensure = 'installed',
$hieramerge = false,
$manage_cron_daily = true,
$package = 'logrotate',
Expand Down

0 comments on commit c2cd26e

Please sign in to comment.