Class: HammerCLIKatello::ContentViewPuppetModule::ListCommand

Inherits:
ListCommand
  • Object
show all
Defined in:
lib/hammer_cli_katello/content_view_puppet_module.rb

Instance Method Summary collapse

Methods included from ResolverCommons

included

Instance Method Details

#extend_data(mod) ⇒ Object



17
18
19
20
21
22
23
24
# File 'lib/hammer_cli_katello/content_view_puppet_module.rb', line 17

def extend_data(mod)
  if mod['uuid']
    mod['version'] = mod['computed_version']
  else
    mod['version'] = _("Latest(Currently %s)") % mod['computed_version']
  end
  mod
end