Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
salt
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
17
Merge Requests
1
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4c2e2593
authored
Feb 06, 2017
by
Czémán Arnold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename python-pip packages to python2-pip for Red Hat like distros
parent
a0a63826
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
17 additions
and
9 deletions
+17
-9
README.md
+1
-1
salt/agentdriver/init.sls
+2
-1
salt/fwdriver/init.sls
+2
-1
salt/graphite/init.sls
+2
-1
salt/manager/init.sls
+2
-1
salt/monitor-client/init.sls
+2
-1
salt/storagedriver/init.sls
+2
-1
salt/vmdriver/init.sls
+2
-1
salt/vncproxy/init.sls
+2
-1
No files found.
README.md
View file @
4c2e2593
...
@@ -21,7 +21,7 @@ sudo rpm -ivh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.n
...
@@ -21,7 +21,7 @@ sudo rpm -ivh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.n
Install some important packages:
Install some important packages:
```
bash
```
bash
sudo
yum install python-pip gcc vim git
sudo
yum install python
2
-pip gcc vim git
```
```
### Debian family
### Debian family
...
...
salt/agentdriver/init.sls
View file @
4c2e2593
...
@@ -7,10 +7,10 @@ agentdriver:
...
@@ -7,10 +7,10 @@ agentdriver:
pkg.installed:
pkg.installed:
- pkgs:
- pkgs:
- git
- git
- python-pip
- ntp
- ntp
- incron
- incron
{% if grains['os_family'] == 'RedHat' %}
{% if grains['os_family'] == 'RedHat' %}
- python2-pip
- libmemcached-devel
- libmemcached-devel
- python-devel
- python-devel
- python-virtualenvwrapper
- python-virtualenvwrapper
...
@@ -19,6 +19,7 @@ agentdriver:
...
@@ -19,6 +19,7 @@ agentdriver:
- libmemcached-dev
- libmemcached-dev
- python-dev
- python-dev
- virtualenvwrapper
- virtualenvwrapper
- python-pip
- zlib1g-dev
- zlib1g-dev
{% endif %}
{% endif %}
- require_in:
- require_in:
...
...
salt/fwdriver/init.sls
View file @
4c2e2593
...
@@ -11,6 +11,7 @@ firewall:
...
@@ -11,6 +11,7 @@ firewall:
- python-virtualenvwrapper
- python-virtualenvwrapper
- python-devel
- python-devel
- libmemcached-devel
- libmemcached-devel
- python2-pip
- dhcp
- dhcp
{% else %}
{% else %}
- zlib1g-dev
- zlib1g-dev
...
@@ -18,6 +19,7 @@ firewall:
...
@@ -18,6 +19,7 @@ firewall:
- python-dev
- python-dev
- libmemcached-dev
- libmemcached-dev
- openvswitch-switch
- openvswitch-switch
- python-pip
{% if grains['os'] != 'Debian' %}
{% if grains['os'] != 'Debian' %}
{# No such package in Debian Jessie! #}
{# No such package in Debian Jessie! #}
- openvswitch-controller
- openvswitch-controller
...
@@ -25,7 +27,6 @@ firewall:
...
@@ -25,7 +27,6 @@ firewall:
- isc-dhcp-server
- isc-dhcp-server
{% endif %}
{% endif %}
- git
- git
- python-pip
- ntp
- ntp
- iptables
- iptables
- ipset
- ipset
...
...
salt/graphite/init.sls
View file @
4c2e2593
...
@@ -7,13 +7,14 @@ graphite:
...
@@ -7,13 +7,14 @@ graphite:
pkg.installed:
pkg.installed:
- pkgs:
- pkgs:
- git
- git
- python-pip
- ntp
- ntp
{% if grains['os_family'] == 'RedHat' %}
{% if grains['os_family'] == 'RedHat' %}
- python2-pip
- pycairo
- pycairo
- python-devel
- python-devel
- python-virtualenvwrapper
- python-virtualenvwrapper
{% else %}
{% else %}
- python-pip
- python-cairo
- python-cairo
- python-dev
- python-dev
- virtualenvwrapper
- virtualenvwrapper
...
...
salt/manager/init.sls
View file @
4c2e2593
...
@@ -13,7 +13,6 @@ manager:
...
@@ -13,7 +13,6 @@ manager:
- pkgs:
- pkgs:
- postgresql
- postgresql
- git
- git
- python-pip
- ntp
- ntp
- rabbitmq-server
- rabbitmq-server
- memcached
- memcached
...
@@ -21,6 +20,7 @@ manager:
...
@@ -21,6 +20,7 @@ manager:
- wget
- wget
- swig
- swig
{% if grains['os_family'] == 'RedHat' %}
{% if grains['os_family'] == 'RedHat' %}
- python2-pip
- libffi-devel
- libffi-devel
- openssl-devel
- openssl-devel
- libmemcached-devel
- libmemcached-devel
...
@@ -32,6 +32,7 @@ manager:
...
@@ -32,6 +32,7 @@ manager:
- python-devel
- python-devel
- python-virtualenvwrapper
- python-virtualenvwrapper
{% else %}
{% else %}
- python-pip
- libffi-dev
- libffi-dev
- libssl-dev
- libssl-dev
- libmemcached-dev
- libmemcached-dev
...
...
salt/monitor-client/init.sls
View file @
4c2e2593
...
@@ -7,13 +7,14 @@ monitor-client:
...
@@ -7,13 +7,14 @@ monitor-client:
pkg.installed:
pkg.installed:
- pkgs:
- pkgs:
- git
- git
- python-pip
- ntp
- ntp
- wget
- wget
{% if grains['os_family'] == 'RedHat' %}
{% if grains['os_family'] == 'RedHat' %}
- python2-pip
- python-devel
- python-devel
- python-virtualenvwrapper
- python-virtualenvwrapper
{% else %}
{% else %}
- python-pip
- python-dev
- python-dev
- virtualenvwrapper
- virtualenvwrapper
{% endif %}
{% endif %}
...
...
salt/storagedriver/init.sls
View file @
4c2e2593
...
@@ -8,15 +8,16 @@ storagedriver:
...
@@ -8,15 +8,16 @@ storagedriver:
pkg.installed:
pkg.installed:
- pkgs:
- pkgs:
- git
- git
- python-pip
- ntp
- ntp
{% if grains['os_family'] == 'RedHat' %}
{% if grains['os_family'] == 'RedHat' %}
- python2-pip
- libmemcached-devel
- libmemcached-devel
- python-devel
- python-devel
- python-virtualenvwrapper
- python-virtualenvwrapper
- qemu-img
- qemu-img
- zlib-devel
- zlib-devel
{% else %}
{% else %}
- python-pip
- libmemcached-dev
- libmemcached-dev
- python-dev
- python-dev
- qemu-utils
- qemu-utils
...
...
salt/vmdriver/init.sls
View file @
4c2e2593
...
@@ -8,12 +8,12 @@ vmdriver:
...
@@ -8,12 +8,12 @@ vmdriver:
pkg.installed:
pkg.installed:
- pkgs:
- pkgs:
- git
- git
- python-pip
- python-augeas
- python-augeas
- ntp
- ntp
- wget
- wget
- qemu-kvm
- qemu-kvm
{% if grains['os_family'] == 'RedHat' %}
{% if grains['os_family'] == 'RedHat' %}
- python2-pip
- libmemcached-devel
- libmemcached-devel
- libvirt
- libvirt
- libvirt-daemon
- libvirt-daemon
...
@@ -26,6 +26,7 @@ vmdriver:
...
@@ -26,6 +26,7 @@ vmdriver:
- qemu-img
- qemu-img
- zlib-devel
- zlib-devel
{% else %}
{% else %}
- python-pip
- libmemcached-dev
- libmemcached-dev
- libvirt-bin
- libvirt-bin
- libxml2-dev
- libxml2-dev
...
...
salt/vncproxy/init.sls
View file @
4c2e2593
...
@@ -7,15 +7,16 @@ vncproxy:
...
@@ -7,15 +7,16 @@ vncproxy:
pkg.installed:
pkg.installed:
- pkgs:
- pkgs:
- git
- git
- python-pip
- ntp
- ntp
- wget
- wget
{% if grains['os_family'] == 'RedHat' %}
{% if grains['os_family'] == 'RedHat' %}
- python2-pip
- libffi-devel
- libffi-devel
- openssl-devel
- openssl-devel
- python-devel
- python-devel
- python-virtualenvwrapper
- python-virtualenvwrapper
{% else %}
{% else %}
- python-pip
- libffi-dev
- libffi-dev
- libssl-dev
- libssl-dev
- python-dev
- python-dev
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment