mirror of
				https://github.com/saltstack-formulas/sysctl-formula.git
				synced 2025-11-04 06:53:33 +01:00 
			
		
		
		
	Remove redundant entries from map.jinja file
These values correspond to those defined in defaults.yml and do not have to be repeated again.
This commit is contained in:
		
							parent
							
								
									bf38775822
								
							
						
					
					
						commit
						77d390f556
					
				@ -16,11 +16,6 @@
 | 
			
		||||
 | 
			
		||||
{## setup variable using grains['os_family'] based logic ##}
 | 
			
		||||
{% set os_family_map = salt['grains.filter_by']({
 | 
			
		||||
        'Arch': {
 | 
			
		||||
            "config": {
 | 
			
		||||
                "location": '/etc/sysctl.d',
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        'RedHat': {
 | 
			
		||||
            "config": {
 | 
			
		||||
                "location": '/etc/sysctl.conf',
 | 
			
		||||
@ -28,15 +23,9 @@
 | 
			
		||||
        },
 | 
			
		||||
        'Suse': {
 | 
			
		||||
            "pkg": "procps",
 | 
			
		||||
            "config": {
 | 
			
		||||
                "location": '/etc/sysctl.d',
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        'Debian': {
 | 
			
		||||
            "pkg": "procps",
 | 
			
		||||
            "config": {
 | 
			
		||||
                "location": '/etc/sysctl.d',
 | 
			
		||||
             }
 | 
			
		||||
         },
 | 
			
		||||
  },
 | 
			
		||||
  grain="os_family",
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user