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
This commit is contained in:
Dan Bode 2013-07-31 17:32:35 -07:00
parent b190708432
commit e06560841e

View File

@ -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':