Skip to content

Commit

Permalink
update REFERENCE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Sep 17, 2022
1 parent 2700760 commit 0ff6228
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

## Resource types

### `shellvar`
### <a name="shellvar"></a>`shellvar`

Manages variables in simple shell scripts.

Expand Down Expand Up @@ -40,15 +40,24 @@ Value to change the variable to.

The following parameters are available in the `shellvar` type.

##### `array_append`
* [`array_append`](#array_append)
* [`array_type`](#array_type)
* [`name`](#name)
* [`provider`](#provider)
* [`quoted`](#quoted)
* [`target`](#target)
* [`uncomment`](#uncomment)
* [`variable`](#variable)

##### <a name="array_append"></a>`array_append`

Valid values: ``false``, ``true``

Whether to add to existing array values or replace all values.

Default value: ``false``

##### `array_type`
##### <a name="array_type"></a>`array_type`

Valid values: `auto`, `string`, `array`

Expand All @@ -60,16 +69,16 @@ Type of array mapping to use, defaults to `auto`.

Default value: `auto`

##### `name`
##### <a name="name"></a>`name`

The default namevar

##### `provider`
##### <a name="provider"></a>`provider`

The specific backend to use for this `shellvar` resource. You will seldom need to specify this --- Puppet will usually
discover the appropriate provider for your platform.

##### `quoted`
##### <a name="quoted"></a>`quoted`

Valid values: `auto`, `double`, `single`, `none`, ``false``, ``true``

Expand All @@ -81,21 +90,21 @@ Quoting method to use, defaults to `auto`.

Default value: `auto`

##### `target`
##### <a name="target"></a>`target`

namevar

The file in which to store the variable.

##### `uncomment`
##### <a name="uncomment"></a>`uncomment`

Valid values: ``true``, ``false``

Whether to remove commented value when found.

Default value: ``false``

##### `variable`
##### <a name="variable"></a>`variable`

namevar

Expand Down

0 comments on commit 0ff6228

Please sign in to comment.