Sha256: 360b235d9e56a460611137986f34610605a6b7e910bd05645da2f12f79b1da24

Contents?: true

Size: 742 Bytes

Versions: 5

Compression:

Stored size: 742 Bytes

Contents

require 'hammer_cli_foreman/location'
require 'hammer_cli_foreman_puppet/command_extensions/location'

module HammerCLIForemanPuppet
  class Location < HammerCLIForemanPuppet::Command
    class InfoCommand < HammerCLIForemanPuppet::InfoCommand
      output do
        HammerCLIForemanPuppet::PuppetReferences.environments(self)
      end
    end
  end

  HammerCLIForeman::Location::CreateCommand.extend_with(
    HammerCLIForemanPuppet::CommandExtensions::PuppetEnvironments.new
  )
  HammerCLIForeman::Location::UpdateCommand.extend_with(
    HammerCLIForemanPuppet::CommandExtensions::PuppetEnvironments.new
  )
  HammerCLIForeman::Location::InfoCommand.extend_with(
    HammerCLIForemanPuppet::CommandExtensions::LocationInfo.new
  )
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hammer_cli_foreman_puppet-0.1.0 lib/hammer_cli_foreman_puppet/location.rb
hammer_cli_foreman_puppet-0.0.7 lib/hammer_cli_foreman_puppet/location.rb
hammer_cli_foreman_puppet-0.0.6 lib/hammer_cli_foreman_puppet/location.rb
hammer_cli_foreman_puppet-0.0.5 lib/hammer_cli_foreman_puppet/location.rb
hammer_cli_foreman_puppet-0.0.4 lib/hammer_cli_foreman_puppet/location.rb