Unable to install Drupal on centos


#1

Recipe Compile Error in /var/chef/cache/cookbooks/mysql/libraries/provider_priority_linux.rb

NameError

uninitialized constant Chef::Provider::MysqlServiceSystemd

Cookbook Trace:

/var/chef/cache/cookbooks/mysql/libraries/provider_priority_linux.rb:17:in ` op (required)>’

Relevant File Content:

/var/chef/cache/cookbooks/mysql/libraries/provider_priority_linux.rb:

10: require_relative 'provider_mysql_service_upstart’
11: require_relative 'provider_mysql_config’
12: require_relative 'provider_mysql_client’
13:
14: if defined? Chef::Platform::ProviderPriorityMap
15: Chef::Platform::ProviderPriorityMap.instance.priority(
16: :mysql_service,
17>> [Chef::Provider::MysqlServiceSystemd, Chef::Provider::MysqlServiceUpst
art, Chef::Provider::MysqlServiceSysvinit],
18: os: 'linux’
19: )
20: else
21: # provider mappings for Chef 11
22:
23: # systemd service
24: Chef::Platform.set platform: :fedora, version: ‘>= 19’, resource: :mysql
_service, provider: Chef::Provider::MysqlServiceSystemd
25: Chef::Platform.set platform: :redhat, version: ‘>= 7.0’, resource: :mysq
l_service, provider: Chef::Provider::MysqlServiceSystemd
26: Chef::Platform.set platform: :centos, version: ‘>= 7.0’, resource: :mysq
l_service, provider: Chef::Provider::MysqlServiceSystemd

Running handlers:
[2016-03-10T08:44:08+00:00] ERROR: Running exception handlers
Running handlers complete
[2016-03-10T08:44:08+00:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated in 03 seconds
[2016-03-10T08:44:08+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-sta
cktrace.out
[2016-03-10T08:44:08+00:00] FATAL: Please provide the contents of the stacktrace
.out file if you file a bug report
[2016-03-10T08:44:08+00:00] ERROR: uninitialized constant Chef::Provider::MysqlS
erviceSystemd
[2016-03-10T08:44:08+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef ru
n process exited unsuccessfully (exit code 1)