Fix dependencies of yaml files

Not all yaml files are part of the configuration step.

This fixes that.

Change-Id: I5cc0a4eb36d94c63bd58c8d50930dcfa189e3a47
This commit is contained in:
Mehdi Abaakouk 2017-05-09 12:57:20 +02:00
parent 36b2ecdd7c
commit 3d45585f8f
3 changed files with 4 additions and 3 deletions

View File

@ -127,7 +127,7 @@ class ceilometer::agent::notification (
path => $::ceilometer::params::event_pipeline,
content => template('ceilometer/event_pipeline.yaml.erb'),
selinux_ignore_defaults => true,
tag => 'event-pipeline',
tag => 'ceilometer-yamls',
}
}
@ -139,7 +139,7 @@ class ceilometer::agent::notification (
path => $::ceilometer::params::pipeline,
content => template('ceilometer/pipeline.yaml.erb'),
selinux_ignore_defaults => true,
tag => 'pipeline',
tag => 'ceilometer-yamls',
}
}

View File

@ -144,6 +144,7 @@ class ceilometer::agent::polling (
path => $::ceilometer::params::polling,
content => template('ceilometer/polling.yaml.erb'),
selinux_ignore_defaults => true,
tag => 'ceilometer-yamls',
}
}
}

View File

@ -35,7 +35,7 @@ class ceilometer::deps {
# Ensure files are modified in the config block
Anchor['ceilometer::config::begin']
-> File<| tag == 'event-pipeline' |>
-> File<| tag == 'ceilometer-yamls' |>
~> Anchor['ceilometer::config::end']
# Installation or config changes will always restart services.