Skip to content

Commit

Permalink
PNDA-4774 Additional MySQL instance deployed for no reason
Browse files Browse the repository at this point in the history
  • Loading branch information
SivaMaplelabs committed Jul 12, 2018
1 parent 8adf3c4 commit adce572
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 2 deletions.
3 changes: 3 additions & 0 deletions pillar/packages/CentOS.sls
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ mysql-server:
version: "5.5.58-2.el7"
configuration_file: /etc/my.cnf
service_name: mysqld
mysql-client:
package-name: mysql-community-client
version: "5.5.60-2.el7"
nginx:
package-name: nginx
version: ""
Expand Down
3 changes: 3 additions & 0 deletions pillar/packages/RedHat.sls
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ mysql-server:
version: "5.5.54-2.el7"
configuration_file: /etc/my.cnf
service_name: mysqld
mysql-client:
package-name: mysql-community-client
version: "5.5.60-2.el7"
nginx:
package-name: nginx
version: ""
Expand Down
2 changes: 1 addition & 1 deletion salt/ambari/server.sls
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
include:
- java
- mysql.connector
- mysql
- mysql.client

ambari-server-user:
user.present:
Expand Down
2 changes: 1 addition & 1 deletion salt/cdh/cloudera-manager.sls
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
include:
- java
- mysql.connector
- mysql
- mysql.client

cloudera-manager-install_daemons:
pkg.installed:
Expand Down
10 changes: 10 additions & 0 deletions salt/mysql/client.sls
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
mysql-install-python-library:
pkg.installed:
- name: {{ pillar['python-mysqldb']['package-name'] }}
- version: {{ pillar['python-mysqldb']['version'] }}
- reload_modules: True

mysql-install-mysql-client:
pkg.installed:
- name: {{ pillar['mysql-client']['package-name'] }}
- version: {{ pillar['mysql-client']['version'] }}

0 comments on commit adce572

Please sign in to comment.