Sha256: 713deb0c56f00d351fd897db45dcf74abdf01712962df51ff5eb4a6cd4ab852f

Contents?: true

Size: 389 Bytes

Versions: 11

Compression:

Stored size: 389 Bytes

Contents

module Stove
  class Plugin::Supermarket < Plugin::Base
    id 'supermarket'
    description 'Publish the release to the Chef Supermarket'

    validate(:username) do
      Config.username
    end

    validate(:key) do
      Config.key
    end

    run('Publishing the release to the Chef Supermarket') do
      Supermarket.upload(cookbook, options[:extended_metadata])
    end
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
chef-stove-7.1.6 lib/stove/plugins/supermarket.rb
stove-7.1.6 lib/stove/plugins/supermarket.rb
chef-stove-7.1.5 lib/stove/plugins/supermarket.rb
stove-7.1.5 lib/stove/plugins/supermarket.rb
chef-stove-7.1.1 lib/stove/plugins/supermarket.rb
stove-7.1.0 lib/stove/plugins/supermarket.rb
stove-7.0.1 lib/stove/plugins/supermarket.rb
stove-7.0.0 lib/stove/plugins/supermarket.rb
stove-6.1.1 lib/stove/plugins/supermarket.rb
stove-6.1.0 lib/stove/plugins/supermarket.rb
stove-6.0.0 lib/stove/plugins/supermarket.rb