Switch nodepool from MySQL-python to PyMySQL

PyMySQL, unlike MySQL-python, is a pure-python implementation with
support for Py3K.

Change-Id: I19e94e7d384d6d18410fe1fcded14a52ac62c840
Depends-On: I110c85fa7d57a6ab121437f93238cf931a8f2d74
This commit is contained in:
Jeremy Stanley 2015-04-02 23:08:13 +00:00
parent 3eebee7ae9
commit 86ebb018fc
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
script-dir: /etc/nodepool/scripts script-dir: /etc/nodepool/scripts
dburi: 'mysql://nodepool:<%= mysql_password %>@localhost/nodepool' dburi: 'mysql+pymysql://nodepool:<%= mysql_password %>@localhost/nodepool'
cron: cron:
cleanup: '*/5 * * * *' cleanup: '*/5 * * * *'

View File

@ -1,7 +1,7 @@
script-dir: /etc/nodepool/scripts script-dir: /etc/nodepool/scripts
elements-dir: /etc/nodepool/elements elements-dir: /etc/nodepool/elements
images-dir: /opt/nodepool_dib images-dir: /opt/nodepool_dib
dburi: 'mysql://nodepool:<%= mysql_password %>@localhost/nodepool' dburi: 'mysql+pymysql://nodepool:<%= mysql_password %>@localhost/nodepool'
cron: cron:
cleanup: '*/1 * * * *' cleanup: '*/1 * * * *'