Page MenuHomeDevCentral

Populate viperserv bin directory
ClosedPublic

Authored by dereckson on Nov 15 2017, 04:48.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 23, 16:57
Unknown Object (File)
Sat, Nov 23, 03:48
Unknown Object (File)
Tue, Nov 19, 20:49
Unknown Object (File)
Tue, Nov 19, 08:51
Unknown Object (File)
Sun, Nov 17, 01:49
Unknown Object (File)
Sat, Nov 16, 21:05
Unknown Object (File)
Thu, Nov 14, 16:19
Unknown Object (File)
Thu, Nov 14, 12:45
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 Passed
Unit
No Test Coverage
Branch
dwd-bin (branched from master)
Build Status
Buildable 1931
Build 2179: arc lint + arc unit

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.