- From: Ilya Maltsev <
>
- To:
- Subject: [chef] impossible to call the
provider
- Date: Thu, 26 Jan 2012 11:21:18 +0400
Hello!
We're trying to write a provider. For example: MySql. It consists of the
following components:
mysql/attributes/default.rb
containing:
default['mysql']['m_version'] = "1.0.0"
mysql/attributes/providers.rb
containing:
action :ololo do
execute "print some" do
puts "Olololo!"
end
end
mysql/resouces/default.rb
containing:
actions :ololo
attribute :ololo, :kind_of => String
After that, we are creating a recipe dump_extract/recipes/default.rb,
containing the following:
include Chef::Provider::Mysql
mysql do
provider "default"
end
After that, we're trying to run dump_extract, but it is impossible to
call the provider Mysql.
Tell me please how to make a call to the provider. The official
documentation contain very little information.
Thank you!
--
Best regards,
Ilya Maltsev
- [chef] impossible to call the
provider, Ilya Maltsev, 01/25/2012
Archive powered by MHonArc 2.6.16.