Sha256: e51e80a5bca523a1dde990b7d09b12abf8173154d3a0ba5c206a8a0834559d3f

Contents?: true

Size: 849 Bytes

Versions: 5

Compression:

Stored size: 849 Bytes

Contents

require 'chef/provider/lwrp_base'

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

        def whyrun_supported?
          true
        end

        action :create do
          converge_by 'suse pattern' do
            %w(mysql-client).each do |p|
              package p do
                action :install
              end
            end
          end
        end

        action :delete do
          converge_by 'suse pattern' do
            %w(mysql-client).each do |p|
              package p do
                action :remove
              end
            end
          end
        end
      end
    end
  end
end

Chef::Platform.set :platform => :suse, :resource => :mysql_client, :provider => Chef::Provider::MysqlClient::Suse

Version data entries

5 entries across 5 versions & 1 rubygems

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