Merge pull request #12785 from nik9000/remove_conf

Fix rpm -e removing /etc/elasticsearch
This commit is contained in:
Nik Everett 2015-08-11 05:08:07 -07:00
commit 3c76e15aab
1 changed files with 9 additions and 0 deletions

View File

@ -141,6 +141,15 @@
</sources>
</mapping>
<!-- Add configuration files -->
<mapping>
<!-- Explicitly add conf.dir to the file list so
that it is removed when the package is removed.
This is required because the scripts
subdirectory is created outside of the mapping
that creates the conf.dir.-->
<directory>${packaging.elasticsearch.conf.dir}</directory>
<configuration>noreplace</configuration>
</mapping>
<mapping>
<directory>${packaging.elasticsearch.conf.dir}/</directory>
<configuration>noreplace</configuration>