Sha256: ebf89b0a95e6dc57a1bb378ac868ff5bc2cc1ca5df838fb52f854da4ef60a5f6

Contents?: true

Size: 770 Bytes

Versions: 6

Compression:

Stored size: 770 Bytes

Contents

require 'hammer_cli_foreman/organization'
require 'hammer_cli_foreman_puppet/command_extensions/organization'

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

  HammerCLIForeman::Organization::CreateCommand.extend_with(
    HammerCLIForemanPuppet::CommandExtensions::PuppetEnvironments.new
  )
  HammerCLIForeman::Organization::UpdateCommand.extend_with(
    HammerCLIForemanPuppet::CommandExtensions::PuppetEnvironments.new
  )
  HammerCLIForeman::Organization::InfoCommand.extend_with(
    HammerCLIForemanPuppet::CommandExtensions::OrganizationInfo.new
  )
end

Version data entries

6 entries across 6 versions & 1 rubygems

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