diff --git a/manifests/application.pp b/manifests/application.pp index 8af4331..dc60596 100644 --- a/manifests/application.pp +++ b/manifests/application.pp @@ -72,7 +72,6 @@ class storyboard::application ( dev => true, } include python::install - include mysql::python if !defined(Package['git']) { package { 'git': @@ -174,7 +173,6 @@ class storyboard::application ( File['/etc/storyboard/storyboard.conf'], ], require => [ - Class['mysql::python'], File['/etc/storyboard/storyboard.conf'], ], notify => Service['httpd'], diff --git a/templates/storyboard.conf.erb b/templates/storyboard.conf.erb index 6837f1d..1a8a6e2 100644 --- a/templates/storyboard.conf.erb +++ b/templates/storyboard.conf.erb @@ -81,7 +81,7 @@ max_age=<%= @cors_max_age %> # connection = mysql://root:pass@127.0.0.1:3306/storyboard # Replace 127.0.0.1 above with the IP address of the database used by the # main storyboard server. (Leave it as is if the database runs on this host.) -connection=mysql://<%= @mysql_user %>:<%= @mysql_user_password %>@<%= @mysql_host %>:<%= @mysql_port %>/<%= @mysql_database %> +connection=mysql+pymysql://<%= @mysql_user %>:<%= @mysql_user_password %>@<%=@mysql_host %>:<%= @mysql_port %>/<%= @mysql_database %> # The SQLAlchemy connection string used to connect to the slave database # slave_connection =