Sha256: ab48f69ad319a0c030ad1f2681d6ce3034206f70a736a5e91e69ef9587a10cc4

Contents?: true

Size: 964 Bytes

Versions: 5

Compression:

Stored size: 964 Bytes

Contents

require 'chef/provider/lwrp_base'

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

        def whyrun_supported?
          true
        end

        action :create do
          converge_by 'omnios pattern' do
            package 'database/mysql-55' do
              action :install
            end

            package 'database/mysql-55/library' do
              action :install
            end
          end
        end

        action :delete do
          converge_by 'omnios pattern' do
            package 'database/mysql-55' do
              action :remove
            end

            package 'database/mysql-55/library' do
              action :remove
            end
          end
        end
      end
    end
  end
end

Chef::Platform.set :platform => :omnios, :resource => :mysql_client, :provider => Chef::Provider::MysqlClient::Omnios

Version data entries

5 entries across 5 versions & 1 rubygems

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