From 2bd9f9656889aea0d40eda9e4e2f4d444b998487 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 14 May 2013 16:15:33 +0200 Subject: [PATCH] Set perf_event_paranoid --- modules/debian-org/manifests/init.pp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/debian-org/manifests/init.pp b/modules/debian-org/manifests/init.pp index fcef2e89a..0c423ec10 100644 --- a/modules/debian-org/manifests/init.pp +++ b/modules/debian-org/manifests/init.pp @@ -219,6 +219,10 @@ class debian-org { key => 'vm.mmap_min_addr', value => '4096', } + site::sysctl { 'perf_event_paranoid': + key => 'kernel.perf_event_paranoid', + value => '2', + } site::alternative { 'editor': linkto => '/usr/bin/vim.basic', } -- 2.20.1