From e06560841e13526393a09506836122bdfdf5041a Mon Sep 17 00:00:00 2001 From: Dan Bode Date: Wed, 31 Jul 2013 17:32:35 -0700 Subject: [PATCH] Ensure /var/lib/zuul is owned by zuul Previously, the file resource did not have an owner specfied, meaning that it defaulted to root:root. This resulted in the following failure when starting the zuul service: IOError: [Errno 13] Permission denied: '/var/lib/zuul/test' This commit ensures propoer ownership so that zuul can start. Change-Id: I3ee9ae49097695632114ed6692c78ebf22a08823 --- modules/zuul/manifests/init.pp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/zuul/manifests/init.pp b/modules/zuul/manifests/init.pp index 4efc5e0264..44a678ea9c 100644 --- a/modules/zuul/manifests/init.pp +++ b/modules/zuul/manifests/init.pp @@ -127,11 +127,14 @@ class zuul ( file { '/var/run/zuul': ensure => directory, owner => 'zuul', + group => 'zuul', require => User['zuul'], } file { '/var/lib/zuul': ensure => directory, + owner => 'zuul', + group => 'zuul', } file { '/var/lib/zuul/git':