Page MenuHomeDevCentral

Deploy Redis
ClosedPublic

Authored by dereckson on Jul 8 2024, 22:00.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 15, 23:17
Unknown Object (File)
Fri, Nov 15, 22:57
Unknown Object (File)
Wed, Nov 13, 01:25
Unknown Object (File)
Mon, Nov 11, 19:14
Unknown Object (File)
Fri, Nov 8, 16:43
Unknown Object (File)
Fri, Nov 8, 16:42
Unknown Object (File)
Fri, Nov 8, 16:42
Unknown Object (File)
Fri, Nov 1, 07:08
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 Passed
Unit
No Test Coverage
Branch
redis
Build Status
Buildable 5338
Build 5619: arc lint + arc unit

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.