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:
Sean Dague 2013-12-01 13:14:13 -05:00
parent 5b983a1d65
commit 34d5af700f
1 changed files with 10 additions and 0 deletions

View File

@ -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':
ensure => directory,
mode => '0700',