Page MenuHomeDevCentral

Deploy Redis
ClosedPublic

Authored by dereckson on Mon, Jul 8, 22:00.
Tags
None
Referenced Files
F3344555: D3359.diff
Fri, Jul 12, 10:28
Unknown Object (File)
Wed, Jul 10, 11:57
Unknown Object (File)
Wed, Jul 10, 11:16
Unknown Object (File)
Tue, Jul 9, 06:46
Unknown Object (File)
Mon, Jul 8, 23:54
Unknown Object (File)
Mon, Jul 8, 23:21
Unknown Object (File)
Mon, Jul 8, 22:54
Subscribers
None

Details

Summary

NetBox requires Redis to be able to work and serve content.

It was manually installed on WindRiver, but not automated.

Fixes T1936.
Ref T1762.

Test Plan

Deployed on WindRiver

Diff Detail

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

Event Timeline

dereckson created this revision.
WindRiver
$ salt-call --local state.apply roles/redis


local:                                                                                                                                                                                        
----------                                                                                                                                                                                    
          ID: redis_software                                                                                                                                                                  
    Function: pkg.installed                                                                                                                                                                   
      Result: True                                                                                                                                                                            
     Comment: All specified packages are already installed                                                                                                                                    
     Started: 21:58:52.353441                                                                                                                                                                 
    Duration: 42.078 ms                                                                                                                                                                       
     Changes:                                                                                                                                                                                 
----------                                                                                                                                                                                    
          ID: /etc/rc.conf.d/redis                                                                                                                                                            
    Function: file.managed                                                                                                                                                                    
      Result: True                                                                                                                                                                            
     Comment: File /etc/rc.conf.d/redis updated                                                                                                                                               
     Started: 21:58:52.401893                                                                                                                                                                 
    Duration: 3.491 ms                                                                                                                                                                        
     Changes:                                                                                                                                                                                 
              ----------                                                                                                                                                                      
              diff:                                                                                                                                                                           
                  New file                                                                                                                                                                    
              mode:                                                                            
                  0644                                                                         
----------                                                                                     
          ID: redis_running                                                                    
    Function: service.running                                                                  
        Name: redis     
      Result: True 
     Comment: The service redis is already running
     Started: 21:58:52.406163
    Duration: 50.906 ms
     Changes:          
                                               
Summary for local                              
------------                                                                                   
Succeeded: 3 (changed=1) 
Failed:    0        
------------
Total states run:     3
Total run time:  96.475 ms

$ /usr/local/etc/rc.d/redis status
redis is running as pid 75161.
This revision is now accepted and ready to land.Tue, Jul 9, 17:00
This revision was automatically updated to reflect the committed changes.