Sha256: 582ab6db4d4b26b8f4e351f164f83f58c726a22eefab8cb1c3a085375f5bf14d
Contents?: true
Size: 897 Bytes
Versions: 5
Compression:
Stored size: 897 Bytes
Contents
require 'chef/provider/lwrp_base' class Chef class Provider class MysqlClient class Ubuntu < Chef::Provider::MysqlClient use_inline_resources if defined?(use_inline_resources) def whyrun_supported? true end action :create do converge_by 'ubuntu pattern' do %w(mysql-client libmysqlclient-dev).each do |p| package p do action :install end end end end action :delete do converge_by 'ubuntu pattern' do %w(mysql-client libmysqlclient-dev).each do |p| package p do action :remove end end end end end end end end Chef::Platform.set :platform => :ubuntu, :resource => :mysql_client, :provider => Chef::Provider::MysqlClient::Ubuntu
Version data entries
5 entries across 5 versions & 1 rubygems