hapi-fhir/vagrant/chef/cookbooks/mysql/libraries/provider_mysql_client.rb

32 lines
532 B
Ruby
Raw Normal View History

2014-10-06 21:47:56 -04:00
class Chef
class Provider
class MysqlClient < Chef::Provider::LWRPBase
use_inline_resources if defined?(use_inline_resources)
def whyrun_supported?
true
end
action :create do
packages.each do |p|
package p do
action :install
end
end
end
action :delete do
packages.each do |p|
package p do
action :remove
end
end
end
def packages
%w()
end
end
end
end