diff --git a/manifests/install.pp b/manifests/install.pp index a3f0228..8b7cfe0 100644 --- a/manifests/install.pp +++ b/manifests/install.pp @@ -12,10 +12,11 @@ if $facts['os']['family'] == 'Debian' { file_line {'enable_sa2': - ensure => 'present', - path => '/etc/default/sysstat', - line => 'ENABLED="true"', - match => '^ENABLED\=\"false\"' + ensure => 'present', + path => '/etc/default/sysstat', + line => 'ENABLED="true"', + match => '^ENABLED\=\"false\"', + require => Package['sysstat'], } } }