Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mariadb_replication provider, generate compilation error #18

Closed
sinfomicien opened this issue Oct 6, 2014 · 2 comments
Closed

mariadb_replication provider, generate compilation error #18

sinfomicien opened this issue Oct 6, 2014 · 2 comments
Assignees
Milestone

Comments

@sinfomicien
Copy link
Contributor

When we test it from another cookbook (test using chefspec):

================================================================================
Recipe Compile Error in /tmp/d20141006-20941-1gwi9sq/cookbooks/r_dbslave/recipes/default.rb
================================================================================

TypeError
---------
class or module required

Cookbook Trace:
---------------
  /tmp/d20141006-20941-1gwi9sq/cookbooks/r_dbslave/recipes/default.rb:157:in `block (2 levels) in from_file'
  /tmp/d20141006-20941-1gwi9sq/cookbooks/r_dbslave/recipes/default.rb:155:in `block in from_file'
  /tmp/d20141006-20941-1gwi9sq/cookbooks/r_dbslave/recipes/default.rb:154:in `each'
  /tmp/d20141006-20941-1gwi9sq/cookbooks/r_dbslave/recipes/default.rb:154:in `from_file'

Relevant File Content:
----------------------
/tmp/d20141006-20941-1gwi9sq/cookbooks/r_dbslave/recipes/default.rb:

150:          node['r_dbslave']['master']['galera_cluster_name']
151:      )
152:  
153:      # Setup all values to have a working slave setup
154:      galera_cluster_nodes.each do |node_master|
155:        mariadb_replication node_master.name do
156:          action [:add, :start]
157>>         master_user 'user'
158:          master_password 'password'
159:          master_host node_master.ipaddress
160:          master_use_gtid 'current_pos'
161:        end
162:      end
163:    end
164:  end
165:
@sinfomicien sinfomicien added the bug label Oct 6, 2014
@sinfomicien sinfomicien added this to the v0.2.6 milestone Oct 6, 2014
@sinfomicien sinfomicien self-assigned this Oct 6, 2014
sinfomicien added a commit that referenced this issue Oct 6, 2014
…-compilation

Fix compilation error for mariadb_replication provider (issue #18)
@sinfomicien
Copy link
Contributor Author

Ok, yes, it was just nil instead of NilClass. good correction.

jfwm2 pushed a commit to jfwm2/mariadb that referenced this issue Apr 4, 2017
@lock
Copy link

lock bot commented Jul 24, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant