Page MenuHomeDevCentral

Populate viperserv bin directory
ClosedPublic

Authored by dereckson on Nov 15 2017, 04:48.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 3, 22:54
Unknown Object (File)
Mon, Oct 28, 17:32
Unknown Object (File)
Mon, Oct 28, 17:32
Unknown Object (File)
Sun, Oct 27, 20:24
Unknown Object (File)
Sun, Oct 27, 13:49
Unknown Object (File)
Sun, Oct 27, 13:26
Unknown Object (File)
Thu, Oct 24, 14:21
Unknown Object (File)
Thu, Oct 17, 08:14
Subscribers
None

Details

Summary

Wikidata access layer utilities (in rDWD) are called through
the get_external_script procedure, expecting the binary to be
in $HOME/bin directory. This change creates symlink for them.

Ref T1309.

Test Plan

Run create_surname

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson edited the summary of this revision. (Show Details)
dereckson edited the test plan for this revision. (Show Details)
Ysul
$ salt-call --local state.apply roles/viperserv/wikidata-access-layer/code
...
----------
          ID: /var/run/viperserv/bin
    Function: file.directory
      Result: True
     Comment: Directory /var/run/viperserv/bin updated
     Started: 04:50:29.234786
    Duration: 8.52 ms
     Changes:   
              ----------
              /var/run/viperserv/bin:
                  New Dir
----------
          ID: /var/run/viperserv/bin/create_given_name
    Function: file.symlink
      Result: True
     Comment: Created new symlink /var/run/viperserv/bin/create_given_name -> /srv/wikidata-access-layer/create_given_name
     Started: 04:50:29.243790
    Duration: 247.804 ms
     Changes:   
              ----------
              new:
                  /var/run/viperserv/bin/create_given_name
----------
          ID: /var/run/viperserv/bin/create_surname
    Function: file.symlink
      Result: True
     Comment: Created new symlink /var/run/viperserv/bin/create_surname -> /srv/wikidata-access-layer/create_surname
     Started: 04:50:29.499330
    Duration: 237.068 ms
     Changes:   
              ----------
              new:
                  /var/run/viperserv/bin/create_surname
This revision is now accepted and ready to land.Nov 15 2017, 04:50
This revision now requires review to proceed.Nov 15 2017, 05:18
This revision is now accepted and ready to land.Nov 15 2017, 05:18
This revision was automatically updated to reflect the committed changes.