From 183dc2e05b24a2353452b2b30ba78f4bd110c76a Mon Sep 17 00:00:00 2001 From: Spencer Krum Date: Wed, 30 Dec 2015 15:11:15 -0800 Subject: [PATCH] Remove conflicting ownership resources /opt/kibana was being chowned to 'kibana' on every run, but /opt/kibana/ was a vcsrepo that was being checked out as www-data. This caused a changed file resource for every file in the git repo for every puppet run, causing a bunch of noise in the logs and eventually running the puppetmaster out of disk space. Also changed directory mode to 755 because 644 doesn't make a ton of sense. Change-Id: I3cc511c4a5ae561ec30478d96d9745611d4b5b65 --- manifests/init.pp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 23f1d7f..ef5f7da 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -42,8 +42,7 @@ class kibana ( ensure => directory, owner => 'kibana', group => 'kibana', - mode => '0644', - recurse => true, + mode => '0755', require => User['kibana'], }