Project

General

Profile

« Previous | Next » 

Revision b09b4515

Added by Ohad Levy about 14 years ago

  • ID b09b451583194c3bae7cafc2b5331f1319c4681a
Fixes #193 - move hosts controller away from AS
  • Remove active scaffold from hosts controller.
  • changed default host graphs from one day for up to one week
  • added dynamic dropdown boxes for host creation / edit page (e.g. for puppet classes, operating systems etc).
  • converted puppet class selection to a template, using it in hostgroups and hosts edit page.
  • Renamed puppetgroups to hostgroups for consistency
  • Added search option to list, this include search by facts as well

View differences:

app/views/hosts/show.html.erb
<%= link_to "Reports", reports_host_path(@host) %>
<%= link_to "YAML", :action=>"externalNodes", :id => @host %>
<%= link_to_if @host.build == false, "Build", {:action=>"setBuild", :id => @host} %>
<%= link_to_if SETTINGS[:puppetrun], "Puppet Run", {:action=>"puppetrun", :id => @host} %>
<%= link_to_if SETTINGS[:puppetrun], "Run Puppet", {:action=>"puppetrun", :id => @host} %>
<%= link_to "Delete", host_path(@host), :confirm => 'Are you sure?', :method => :delete%>
</div>

Also available in: Unified diff