Module: Chef::Knife::RhnSystemgroupInactive::Systemgroup

Defined in:
lib/chef/knife/rhn_systemgroup_inactive.rb

Overview

Instance Method Summary collapse

Instance Method Details

#inactive_systems(group_name, days = nil) ⇒ Object



23
24
25
26
27
28
29
# File 'lib/chef/knife/rhn_systemgroup_inactive.rb', line 23

def inactive_systems(group_name,days=nil)
  if days
    base.default_call('systemgroup.listInactiveSystemsInGroup',group_name,days.to_i)
  else
    base.default_call('systemgroup.listInactiveSystemsInGroup',group_name)
  end
end