Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Updated the definition of modules.d/supremm.json so that the file is pulled from the correct location. - Explicitly defined the other *supremm*.json locations for config(noreplace) flagging as opposed to the more general /xdmod/*.d/supremm*.json ( which included modules.d/supremm.json, not what we wanted ). - Testing consisted of building the rpm with the latest docker image and then executing the following commands: - cd ~/rpmbuild/RPMS/noarch - rpm -qp --queryformat '[%{FILENAMES} %{FILEFLAGS} \n]' xdmod-supremm-7.0.0-1.0.el7.centos.noarch.rpm | grep -E "supremm.*\.json" | grep /etc/xdmod - ex. output: /etc/xdmod/datawarehouse.d/supremm.json 17 - if the number is 17 then it's a config / noreplace - if the number is 0 then it's just a regular file. - you can find all the file flags and their values ( it's a bitflag ) @ http://refspecs.linuxbase.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/pkgformat.html
- Loading branch information