Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added SUPREMM Modules files to build.json #51

Merged
merged 4 commits into from
Aug 15, 2017
Merged

Commits on Jul 12, 2017

  1. Added SUPREMM Modules files to build.json

    - Added modules.d/supremm.json to the file_maps section of build.json
    ryanrath committed Jul 12, 2017
    Configuration menu
    Copy the full SHA
    f16c9c9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2aedb30 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1f75885 View commit details
    Browse the repository at this point in the history
  4. Updating the supremm spec file

    - 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
    ryanrath committed Jul 12, 2017
    Configuration menu
    Copy the full SHA
    f3083ac View commit details
    Browse the repository at this point in the history