Page MenuHomeDevCentral

Deploy notifications CLI client
ClosedPublic

Authored by dereckson on Feb 20 2018, 21:37.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 21, 20:13
Unknown Object (File)
Thu, Apr 18, 23:38
Unknown Object (File)
Thu, Apr 18, 22:03
Unknown Object (File)
Thu, Apr 18, 00:14
Unknown Object (File)
Sun, Apr 14, 22:13
Unknown Object (File)
Sun, Apr 14, 22:10
Unknown Object (File)
Sun, Apr 14, 07:10
Unknown Object (File)
Sat, Apr 13, 15:33
Subscribers
None

Details

Summary

Fixes T1344.

Test Plan

./notifications on Ysul

Diff Detail

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

Event Timeline

dereckson created this revision.

Add file properties for notifications.conf

$ salt-call --local state.apply roles/devserver/userland-software/notifications
local:                                 
----------                             
          ID: /usr/local/bin/notifications                                     
    Function: file.managed             
      Result: True                     
     Comment: File /usr/local/bin/notifications is in the correct state        
     Started: 21:42:44.824818          
    Duration: 166.385 ms               
     Changes:                          
----------                             
          ID: notifications_dependencies                                       
    Function: pkg.installed            
      Result: True                     
     Comment: The following packages were installed/updated: py36-pika         
     Started: 21:42:52.614605          
    Duration: 5391.555 ms              
     Changes:                          
              ----------               
              py36-pika:               
                  ----------           
                  new:                 
                      0.10.0           
                  old:                 
----------                             
          ID: /usr/local/etc/notifications.conf                                
    Function: file.managed             
      Result: True                     
     Comment: File /usr/local/etc/notifications.conf updated                   
     Started: 21:42:58.021978          
    Duration: 58.755 ms                
     Changes:                          
              ----------               
              diff:                    
                  New file             
              mode:                    
                  0640                 

Summary for local                      
------------                           
Succeeded: 3 (changed=2)               
Failed:    0                           
------------                           
Total states run:     3                
Total run time:   5.617 s              

Client

Ysul
$ notifications
[CTRL +T]
load: 0.42  cmd: python3.6 74386 [kqread] 90.95r 0.46u 0.07s 0% 18132k
[Feb 20 21:49:01] <Nasqueron/docker> New image pushed to Docker Hub registry for dereckson/tommy by dereckson — https://hub.docker.com/r/dereckson/tommy

Broker

Connection 163.172.49.16:36259 -> 172.17.0.5:5672 in virtual host dev

productPika Python Client Library
platformPython 3.6.4
capabilities
authentication_failure_closetrue
basic.nacktrue
connection.blockedtrue
consumer_cancel_notifytrue
publisher_confirmstrue
informationSee http://pika.rtfd.org
version0.10.0
This revision is now accepted and ready to land.Feb 20 2018, 21:49
This revision was automatically updated to reflect the committed changes.