Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (18 sloc) 1.43 KB
{% set map = salt['grains.filter_by']({
'Debian': {
'ios': ['python-pip', 'libssl-dev', 'libssl-dev', 'libffi-dev', 'python-dev', 'python-cffi'],
'vyos': ['python-pip', 'libssl-dev', 'libssl-dev', 'libffi-dev', 'python-dev', 'python-cffi'],
'junos': ['python-pip', 'libxml2-dev', 'libxslt1-dev', 'libssl-dev', 'libffi-dev', 'python-dev', 'python-cffi'],
'iosxr': ['python-pip', 'libxml2-dev', 'libssl-dev', 'libssl-dev', 'libffi-dev', 'python-dev', 'python-cffi'],
'panos': ['python-pip', 'libssl-dev', 'libssl-dev', 'libffi-dev', 'python-dev', 'python-cffi'],
'pluribus': ['python-pip', 'libssl-dev', 'libssl-dev', 'libffi-dev', 'python-dev', 'python-cffi']
},
'RedHat': {
'ios': ['python2-pip', 'python-devel', 'gcc', 'openssl', 'openssl-devel', 'libffi-devel'],
'vyos': ['python2-pip', 'python-devel', 'gcc', 'openssl', 'openssl-devel', 'libffi-devel'],
'junos': ['python2-pip', 'python-devel', 'libxml2-devel', 'libxslt-devel', 'gcc', 'openssl', 'openssl-devel', 'libffi-devel'],
'iosxr': ['python2-pip', 'python-devel', 'libxml2-devel', 'gcc', 'openssl', 'openssl-devel', 'libffi-devel'],
'panos': ['python2-pip', 'python-devel', 'gcc', 'openssl', 'openssl-devel', 'libffi-devel'],
'pluribus': ['python2-pip', 'python-devel', 'gcc', 'openssl', 'openssl-devel', 'libffi-devel']
}
}, grain='os_family', merge=salt['pillar.get']('napalm:packages')) %}