1.4. Update Mapping Script

The custom mapping script is maintained by the ood_auth_map project. Assuming you previously installed it with Install User Mapping Script you can update it with the following directions.

1.4.1. Do I need to update?

Latest version: v0.0.3

You can compare this to the locally installed ood_auth_map with the following command:

$ scl enable rh-ruby22 -- /opt/ood/ood_auth_map/bin/ood_auth_map.regex -v
ood_auth_map, version 0.0.3

where the version number should be given at the end of the line. If the version numbers match then you can skip this update.

1.4.2. Instructions to update

  1. Fetch the latest changes and check out the latest tag:

    cd ~/ood/src/ood_auth_map
    scl enable git19 -- git fetch
    scl enable git19 -- git checkout v0.0.3
    
  2. Install it to its global location:

    $ sudo scl enable rh-ruby22 -- rake install
    mkdir -p /opt/ood/ood_auth_map/bin
    ...
    

Note

You will not need to restart the Apache process after an update of the mapping script. All changes happen in real time.