Skip to content

Commit

Permalink
Don't match commented [DEFAULT]
Browse files Browse the repository at this point in the history
Class ceilometer::agent::compute fails when there are [DEFAULT] sections
commented. This patch is fixing this issue. For more info check
https://bugzilla.redhat.com/show_bug.cgi?id=1060712

Change-Id: I6d13f780f63af8798d94b49246576d1e144a4540
(cherry picked from commit a46bbc4)
  • Loading branch information
paramite authored and afazekas committed Feb 3, 2014
1 parent 3933601 commit 91045b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/agent/compute.pp
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@
line =>
'notification_driver=nova.openstack.common.notifier.rpc_notifier',
path => '/etc/nova/nova.conf',
after => '\[DEFAULT\]',
after => '^\s*\[DEFAULT\]',
notify => Service['nova-compute'];
'nova-notification-driver-ceilometer':
line => 'notification_driver=ceilometer.compute.nova_notifier',
path => '/etc/nova/nova.conf',
after => '\[DEFAULT\]',
after => '^\s*\[DEFAULT\]',
notify => Service['nova-compute'];
}

Expand Down

0 comments on commit 91045b3

Please sign in to comment.