This is a simple link to NodesController#index, which doesn't attempt to scale
to support a large number of nodes, or resource statuses. It will always export
the entire node list.

Paired-With: Jacob Helwig <[email protected]>
Signed-off-by: Nick Lewis <[email protected]>
---
Local-branch: ticket/next/7007
 app/views/pages/home.html.haml |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/app/views/pages/home.html.haml b/app/views/pages/home.html.haml
index b1f8e4f..d34d25e 100644
--- a/app/views/pages/home.html.haml
+++ b/app/views/pages/home.html.haml
@@ -17,3 +17,5 @@
     .section
       %h3 Recently-reported nodes
       = render 'nodes/nodes', :nodes => @recently_reported_nodes, :more_link 
=> nodes_path(:page => 2)
+    .section
+      = link_to 'Export all nodes as CSV', nodes_path(:format => 'csv')
-- 
1.7.5.1

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to