Sha256: bb641fdefd5f319e01b693c86c56c1be87ce6112b8cfece884aa2c19faeebe23
Contents?: true
Size: 1.18 KB
Versions: 3
Compression:
Stored size: 1.18 KB
Contents
require 'hammer_cli_foreman/organization' require 'hammer_cli_foreman_puppet/references' require 'hammer_cli_foreman_puppet/command_extensions/organization' module HammerCLIForemanPuppet module OrganizationAddAssociatedCommand def self.included(base) HammerCLIForemanPuppet::AssociatingCommands::PuppetEnvironment.extend_command(base) base.create_subcommand end end class Organization < HammerCLIForemanPuppet::Command class InfoCommand < HammerCLIForemanPuppet::InfoCommand output do HammerCLIForemanPuppet::References.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 ) HammerCLIForeman::Organization.class_eval do extend HammerCLIForemanPuppet::AssociatingCommands::ExtendCommands include HammerCLIForemanPuppet::OrganizationAddAssociatedCommand end end
Version data entries
3 entries across 3 versions & 1 rubygems