Subscribe to project_config for create-hound-config
In an effort to reduce how often this runs. A future patch would add better support into jeepyb to detect if the file actually changes, if so return a different return code and have puppet only notify the hound servce to reload. Change-Id: I29c7e41ee0e605d290dc360db10149e157d09a0d Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
78b728f75c
commit
58148d3f21
@ -29,7 +29,8 @@ class openstack_project::codesearch (
|
||||
$::project_config::config_dir,
|
||||
File['/home/hound'],
|
||||
],
|
||||
notify => Service['hound']
|
||||
notify => Service['hound'],
|
||||
refreshonly => true,
|
||||
subscribe => Class['project_config'],
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user