]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commit
Ensure pipeline yamls are created with correct permissions
authorLuis Pigueiras <luis.pigueiras@cern.ch>
Thu, 29 Jun 2017 09:48:31 +0000 (11:48 +0200)
committerLuis Pigueiras <luis.pigueiras@cern.ch>
Mon, 3 Jul 2017 09:57:59 +0000 (11:57 +0200)
commitabf547dca0e6c431a46bbfd8280fbc85e5e9c871
treea3cd0dba5807b49f08499d9f581fe1e601ece7a5
parent7da50571cf98d215c8551b52cacb4f891d5f4207
Ensure pipeline yamls are created with correct permissions

Right now when you try to manage the `pipeline.yaml` or
`event_pipeline.yaml` via Puppet, notification-agent can't start
because it can't read the file because it has by default root:root
permissions. This enforces to have root:ceilometer and mode rw-r-----
to allow the daemon read the pipeline files

Change-Id: Ia97821135a2d51377514f2bcf389126254209e76
manifests/agent/notification.pp
spec/classes/ceilometer_agent_notification_spec.rb