diff --git a/manifests/init.pp b/manifests/init.pp index 6921257..538a7a0 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -40,7 +40,7 @@ group => $atop::params::conf_file_group, mode => $atop::params::conf_file_mode, content => template($atop::params::conf_file_template), - } -> + } ~> service { $service_name: ensure => $service_state, enable => $service, diff --git a/templates/atop-RedHat.erb b/templates/atop-RedHat.erb index ef63822..36e88f1 100644 --- a/templates/atop-RedHat.erb +++ b/templates/atop-RedHat.erb @@ -12,4 +12,4 @@ BINPATH=/usr/bin # PID File PIDFILE=/var/run/atop.pid # interval (default 10 minutes) -INTERVAL=<%= @interval %> +LOGINTERVAL=<%= @interval %>