Skip to content

Commit

Permalink
Generate page for reports module of stdlib.
Browse files Browse the repository at this point in the history
Also, fix sorting and reference the two defaults bodies correctly
from the documentation of the body type.
  • Loading branch information
Volker Hilsheimer committed Apr 3, 2014
1 parent 77d6949 commit 08d8cd5
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 3 deletions.
2 changes: 1 addition & 1 deletion reference/promise-types/access.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ body report_data_select report_data

**Example:**

Here are the built-in `report_data_select` bodies `default_data_select_host` and `default_data_select_hub`:
Here are the built-in `report_data_select` bodies `default_data_select_host()` and `default_data_select_hub()`:

[%CFEngine_include_snippet(lib/3.6/reports.cf, .+default_data_select_host, \})%]

Expand Down
25 changes: 25 additions & 0 deletions reference/standard-library/reports.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
layout: default
title: Reports Bundles and Bodies
categories: [Reference, Standard Library, reports]
published: true
sorting: 100
alias: reference-standard-library-reports.html
tags: [reference, standard library]
---

See the [`report_data_select` body][access#report_data_select] documentation for a
comprehensive reference on the body type used here.

To use these bodies, add the following to your policy:

```cf3
body file control
{
inputs => { "reports.cf" }
}
```



[%CFEngine_library_include(lib/3.6/reports)%]
2 changes: 1 addition & 1 deletion reference/standard-library/storage.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: default
title: Storage Bundles and Bodies
categories: [Reference, Standard Library, Storage]
published: true
sorting: 100
sorting: 95
alias: reference-standard-library-storage.html
tags: [reference, standard library]
---
Expand Down
2 changes: 1 addition & 1 deletion reference/standard-library/users.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: default
title: Users Bundles and Bodies
categories: [Reference, Standard Library, users]
published: true
sorting: 30
sorting: 85
alias: reference-standard-library-users.html
tags: [reference, standard library]
---
Expand Down

0 comments on commit 08d8cd5

Please sign in to comment.