also link in /etc/elastic-recheck/queries
in I86317fcf6f1886ab5b6c0ee154b29e71865c52b7 we want to move to a directory of queries instead of a single file. In order to support this we need to support linking in that directory as well. This needs to land prior to that change. Change-Id: I3af42cff1050754c6844db994004fd203063bb3d
This commit is contained in:
@@ -115,6 +115,16 @@ class elastic_recheck (
|
|||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Link in the queries directory for refactoring
|
||||||
|
file { '/etc/elastic-recheck/queries':
|
||||||
|
ensure => link,
|
||||||
|
target => '/opt/elastic-recheck/queries',
|
||||||
|
require => [
|
||||||
|
Vcsrepo['/opt/elastic-recheck'],
|
||||||
|
File['/etc/elastic-recheck'],
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|
||||||
file { '/home/recheck':
|
file { '/home/recheck':
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
mode => '0700',
|
mode => '0700',
|
||||||
|
Reference in New Issue
Block a user