Page MenuHomeDevCentral

Deploy Redis
ClosedPublic

Authored by dereckson on Jul 8 2024, 22:00.
Tags
None
Referenced Files
F3632098: D3359.diff
Sun, Oct 6, 19:21
Unknown Object (File)
Thu, Oct 3, 20:43
Unknown Object (File)
Thu, Oct 3, 16:17
Unknown Object (File)
Tue, Oct 1, 03:12
Unknown Object (File)
Tue, Oct 1, 02:18
Unknown Object (File)
Mon, Sep 30, 22:52
Unknown Object (File)
Mon, Sep 30, 22:52
Unknown Object (File)
Mon, Sep 30, 22:52
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.Jul 9 2024, 17:00
This revision was automatically updated to reflect the committed changes.