commit
						9940513b6c
					
				| @ -1,4 +1,13 @@ | ||||
| {% set openssh = salt['grains.filter_by']({ | ||||
|     'Arch': { | ||||
|         'server': 'openssh', | ||||
|         'client': 'openssh', | ||||
|         'service': 'sshd.socket', | ||||
|         'sshd_config': '/etc/ssh/sshd_config', | ||||
|         'sshd_config_src': 'salt://openssh/files/sshd_config', | ||||
|         'banner': '/etc/ssh/banner', | ||||
|         'banner_src': 'salt://openssh/files/banner', | ||||
|     }, | ||||
|     'Debian': { | ||||
|         'server': 'openssh-server', | ||||
|         'client': 'openssh-client', | ||||
| @ -8,6 +17,22 @@ | ||||
|         'banner': '/etc/ssh/banner', | ||||
|         'banner_src': 'salt://openssh/files/banner', | ||||
|     }, | ||||
|     'FreeBSD': { | ||||
|         'service': 'sshd', | ||||
|         'sshd_config': '/etc/ssh/sshd_config', | ||||
|         'sshd_config_src': 'salt://openssh/files/sshd_config', | ||||
|         'banner': '/etc/ssh/banner', | ||||
|         'banner_src': 'salt://openssh/files/banner', | ||||
|     }, | ||||
|     'Gentoo': { | ||||
|         'server': 'net-misc/openssh', | ||||
|         'client': 'net-misc/openssh', | ||||
|         'service': 'sshd', | ||||
|         'sshd_config': '/etc/ssh/sshd_config', | ||||
|         'sshd_config_src': 'salt://openssh/files/sshd_config', | ||||
|         'banner': '/etc/ssh/banner', | ||||
|         'banner_src': 'salt://openssh/files/banner', | ||||
|     }, | ||||
|     'RedHat': { | ||||
|         'server': 'openssh-server', | ||||
|         'client': 'openssh', | ||||
| @ -26,20 +51,4 @@ | ||||
|         'banner': '/etc/ssh/banner', | ||||
|         'banner_src': 'salt://openssh/files/banner', | ||||
|     },  | ||||
|     'FreeBSD': { | ||||
|         'service': 'sshd', | ||||
|         'sshd_config': '/etc/ssh/sshd_config', | ||||
|         'sshd_config_src': 'salt://openssh/files/sshd_config', | ||||
|         'banner': '/etc/ssh/banner', | ||||
|         'banner_src': 'salt://openssh/files/banner', | ||||
|     }, | ||||
|     'Arch': { | ||||
|         'server': 'openssh', | ||||
|         'client': 'openssh', | ||||
|         'service': 'sshd.socket', | ||||
|         'sshd_config': '/etc/ssh/sshd_config', | ||||
|         'sshd_config_src': 'salt://openssh/files/sshd_config', | ||||
|         'banner': '/etc/ssh/banner', | ||||
|         'banner_src': 'salt://openssh/files/banner', | ||||
|     },  | ||||
| }, merge=salt['pillar.get']('openssh:lookup')) %} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Nitin Madhok
						Nitin Madhok