Sha256: 7934889f1831ae365e9192de24eec953692b2c4dcd43533cb11b6803656920e0

Contents?: true

Size: 768 Bytes

Versions: 5

Compression:

Stored size: 768 Bytes

Contents

require 'chef/provider/lwrp_base'

class Chef
  class Provider
    class MysqlClient
      class FreeBSD < Chef::Provider::MysqlClient
        use_inline_resources if defined?(use_inline_resources)

        def whyrun_supported?
          true
        end

        action :create do
          converge_by 'freebsd pattern' do
            package 'mysql55-client' do
              action :install
            end
          end
        end

        action :delete do
          converge_by 'freebsd pattern' do
            package 'mysql55-client' do
              action :remove
            end
          end
        end
      end
    end
  end
end

Chef::Platform.set :platform => :freebsd, :resource => :mysql_client, :provider => Chef::Provider::MysqlClient::FreeBSD

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cloud-toaster-1.1.6 chef/cookbooks/mysql/libraries/provider_mysql_client_freebsd.rb
cloud-toaster-1.1.5 chef/cookbooks/mysql/libraries/provider_mysql_client_freebsd.rb
cloud-toaster-1.1.4 chef/cookbooks/mysql/libraries/provider_mysql_client_freebsd.rb
cloud-toaster-1.1.3 chef/cookbooks/mysql/libraries/provider_mysql_client_freebsd.rb
cloud-toaster-1.1.2 chef/cookbooks/mysql/libraries/provider_mysql_client_freebsd.rb