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
config/routes.rb | ||
---|---|---|
:requirements => { :name => /[^\.][\w\.-]+/ }
|
||
map.connect "/hosts/query", :controller => 'hosts', :action => 'query'
|
||
map.resources :hosts,
|
||
:member => {:report => :get, :reports => :get, :facts => :get},
|
||
:collection => { :show_search => :get},
|
||
:active_scaffold => true
|
||
:member => {:report => :get, :reports => :get, :facts => :get,
|
||
:environment_selected => :post, :architecture_selected => :post, :os_selected => :post},
|
||
:collection => { :show_search => :get}
|
||
map.dashboard '/dashboard', :controller => 'dashboard'
|
||
map.audit '/audit', :controller => 'audit'
|
||
map.statistics '/statistics', :controller => 'statistics'
|
Also available in: Unified diff