Skip to content

Instantly share code, notes, and snippets.

@martin2110
Created May 20, 2014 02:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martin2110/f21a35dc33868aaff8e7 to your computer and use it in GitHub Desktop.
Save martin2110/f21a35dc33868aaff8e7 to your computer and use it in GitHub Desktop.
==> nagios01: ================================================================================
==> nagios01: Recipe Compile Error in /var/chef/cache/cookbooks/mysql/libraries/provider_mysql_service_rhel.rb
==> nagios01: ================================================================================
==> nagios01:
==> nagios01:
==> nagios01: NoMethodError
==> nagios01: -------------
==> nagios01: undefined method `require_relative' for main:Object
==> nagios01:
==> nagios01:
==> nagios01: Cookbook Trace:
==> nagios01: ---------------
==> nagios01: /var/chef/cache/cookbooks/mysql/libraries/provider_mysql_service_rhel.rb:3
==> nagios01:
==> nagios01:
==> nagios01: Relevant File Content:
==> nagios01: ----------------------
==> nagios01: /var/chef/cache/cookbooks/mysql/libraries/provider_mysql_service_rhel.rb:
==> nagios01:
==> nagios01: 1: require 'chef/provider/lwrp_base'
==> nagios01: 2: require 'shellwords'
==> nagios01: 3>> require_relative 'helpers'
==> nagios01: 4:
==> nagios01: 5: extend Opscode::Mysql::Helpers
==> nagios01: 6:
==> nagios01: 7: class Chef
==> nagios01: 8: class Provider
==> nagios01: 9: class MysqlService
==> nagios01: 10: class Rhel < Chef::Provider::MysqlService
==> nagios01: 11: use_inline_resources if defined?(use_inline_resources)
==> nagios01: 12:
==> nagios01:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment