Issue #7007 has been updated by Nick Lewis.
Status changed from Accepted to Available In Testing Branch
Merged to next in commit:dfac499f80fbcbabbd89862d40964aefa479130b.
This adds generic CSV support to ActiveRecord::Base, Array, and
ActiveRecord::NamedScope::Scope. The latter two have a to_csv which will
csv-ify their records. Models have a CSV API as follows:
\#to_csv will export the values provided by Model#to_csv_array.
Model#to_csv_array defaults to the values of each property specified by
Model::to_csv_properties.
Model::to_csv_properties defaults to the column names of the model table.
Model::to_csv_header defaults to using Model::to_csv_properties as the header.
----------------------------------------
Feature #7007: Export as CSV current nodes and resources
https://projects.puppetlabs.com/issues/7007
Author: Randall Hansen
Status: Available In Testing Branch
Priority: Normal
Assignee: Nick Lewis
Category:
Target version:
Keywords:
Branch:
Affected URL:
Affected Dashboard version:
Allow the user to export as a CSV a list of all known nodes, their status, and
a list of all their resources, with status. This should be for the current
state only, not history, and not a subset of nodes.
* node host name
* status
* count of all resource
* count of pending resources
* count of failed resources
* count of compliant resources
* per resource, all fields in resource_statuses table
This affordance should be near or next to the "Summary of hosts and resources"
section on the home page.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" 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-bugs?hl=en.