• Marin Jankovski's avatar
    Merge branch 'fix_mysql_include' into 'master' · 869dec14
    Marin Jankovski authored
    MySQL Dependency Fix
    
    I got a load error when I overwrote the below options.
    - "external_database": true
    - "database_adapter": "mysql"
    
    If external_database is true and using mysql, this processing does not include "database::mysql", so it can't load 'mysql'.
    
    ```
    LoadError
    cannot load such file -- mysql
    
    Cookbook Trace:
    /var/lib/aws/opsworks/cache/cookbooks/database/libraries/provider_database_mysql_user.rb:29:in `require'
    /var/lib/aws/opsworks/cache/cookbooks/database/libraries/provider_database_mysql_user.rb:29:in `load_current_resource'
    
    Resource Declaration:
     In /var/lib/aws/opsworks/cache/cookbooks/gitlab/recipes/database_mysql.rb
    23: mysql_database_user gitlab['database_user'] do
    24:   connection mysql_connection
    25:   password gitlab['database_password']
    26:   host mysql['client_host']
    27:   action :create
    28: end
    29:
    ```
    
    See merge request !77
    869dec14
Name
Last commit
Last update
attributes Loading commit data...
doc Loading commit data...
example Loading commit data...
recipes Loading commit data...
spec Loading commit data...
templates/default Loading commit data...
.gitignore Loading commit data...
.rspec Loading commit data...
Berksfile Loading commit data...
Berksfile.lock Loading commit data...
CONTRIBUTING.md Loading commit data...
Gemfile Loading commit data...
Gemfile.lock Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
Thorfile Loading commit data...
Vagrantfile Loading commit data...
metadata.rb Loading commit data...
solo.json.production_example Loading commit data...