Skip to content

Commit

Permalink
Merge pull request #2586 from nickanderson/CFE-3838/3.15
Browse files Browse the repository at this point in the history
CFE-3838: Added History for some functions where it was missing (3.15)
  • Loading branch information
nickanderson committed Nov 2, 2021
2 parents 034d526 + d58fccc commit 6233430
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 5 deletions.
4 changes: 4 additions & 0 deletions reference/functions/bundlestate.markdown
Expand Up @@ -33,3 +33,7 @@ Output:
[%CFEngine_include_snippet(bundlestate.cf, #\+begin_src\s+example_output\s*, .*end_src)%]

**See also:** `getindices()`, `classesmatching()`, `variablesmatching()`, `mergedata()`, `template_method`, `mustache`, `inline_mustache`, `datastate()`

**History:**

* Introduced in CFEngine 3.7.0
4 changes: 4 additions & 0 deletions reference/functions/data_readstringarray.markdown
Expand Up @@ -36,3 +36,7 @@ Output:
[%CFEngine_include_snippet(data_readstringarray.cf, #\+begin_src\s+example_output\s*, .*end_src)%]

**See also:** `data_readstringarrayidx()`, `data`

**History:**

* Added in CFEngine 3.6.0
4 changes: 4 additions & 0 deletions reference/functions/data_readstringarrayidx.markdown
Expand Up @@ -34,3 +34,7 @@ Output:
[%CFEngine_include_snippet(data_readstringarray.cf, #\+begin_src\s+example_output\s*, .*end_src)%]

**See also:** `data_readstringarray()`, `data`

**History:**

* Added in CFEngine 3.6.0
4 changes: 4 additions & 0 deletions reference/functions/format.markdown
Expand Up @@ -30,3 +30,7 @@ Output:
[%CFEngine_include_snippet(format.cf, #\+begin_src\s+example_output\s*, .*end_src)%]

**Note:** the underlying `sprintf` system call may behave differently on some platforms for some formats. Test carefully. For example, the format `%08s` will use spaces to fill the string up to 8 characters on libc platforms, but on Darwin (Mac OS X) it will use zeroes. According to [SUSv4](http://pubs.opengroup.org/onlinepubs/9699919799/functions/sprintf.html) the behavior is undefined for this specific case.

**History:**

* Added in CFEngine 3.6.0
5 changes: 4 additions & 1 deletion reference/functions/getclassmetatags.markdown
Expand Up @@ -28,4 +28,7 @@ Output:

**See also:** `getvariablemetatags()`

**History:** Function added in 3.6.0. `optional_tag` added in 3.10.0
**History:**

* Function added in 3.6.0.
* `optional_tag` added in 3.10.0
5 changes: 4 additions & 1 deletion reference/functions/getvariablemetatags.markdown
Expand Up @@ -31,4 +31,7 @@ Output:

**See also:** `getclassmetatags()`

**History:** Function in 3.6.0. `optional_tag` added in 3.10.0
**History:**

* Introduced in CFEngine 3.6.0
* `optional_tag` added in 3.10.0
5 changes: 4 additions & 1 deletion reference/functions/mergedata.markdown
Expand Up @@ -50,6 +50,9 @@ traditional list and array data types in CFEngine.

[%CFEngine_include_snippet(mergedata-last-key-wins.cf, #\+begin_src\s+example_output\s*, .*end_src)%]

**History:** Was introduced in CFEngine 3.6.0 (2014). The [collecting function][Functions#collecting functions] behavior was added in 3.9.
**History:**

* Introduced in CFEngine 3.6.0 (2014).
* The [collecting function][Functions#collecting functions] behavior was added in 3.9.

**See also:** `getindices()`, `getvalues()`, `readjson()`, `parsejson()`, `readyaml()`, `parseyaml()`, [about collecting functions][Functions#collecting functions], and `data` documentation.
5 changes: 4 additions & 1 deletion reference/functions/parsejson.markdown
Expand Up @@ -33,6 +33,9 @@ types of quotes around a string).
data => '{ "key": "value" }';
```

**History:** The [collecting function][Functions#collecting functions] behavior was added in 3.9.
**History:**

* Introduced in CFEngine 3.6.0
* The [collecting function][Functions#collecting functions] behavior was added in 3.9.

**See also:** `readjson()`, `parseyaml()`, `readyaml()`, `mergedata()`, `Inline YAML and JSON data`, [about collecting functions][Functions#collecting functions], and `data` documentation.
4 changes: 4 additions & 0 deletions reference/functions/readjson.markdown
Expand Up @@ -24,3 +24,7 @@ first `maxbytes` bytes are read from `filename`.
```

**See also:** `readdata()`, `parsejson()`, `storejson()`, `parseyaml()`, `readyaml()`, `mergedata()`, and `data` documentation.

**History:**

* Introduced in CFEngine 3.6.0
5 changes: 4 additions & 1 deletion reference/functions/storejson.markdown
Expand Up @@ -17,6 +17,9 @@ tags: [reference, io functions, functions, storejson, json, inline_json, contain

[%CFEngine_include_example(storejson.cf)%]

**History:** The [collecting function][Functions#collecting functions] behavior was added in 3.9.
**History:**

* Introduced in CFEngine 3.6.0
* The [collecting function][Functions#collecting functions] behavior was added in 3.9.

**See also:** `readjson()`, `readyaml()`, `parsejson()`, `parseyaml()`, [about collecting functions][Functions#collecting functions], and `data` documentation.

0 comments on commit 6233430

Please sign in to comment.