Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typos in variable names #88

Merged
merged 1 commit into from
Nov 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ The following parameters are available in the `bird` class:
* [`config_file_v4`](#config_file_v4)
* [`config_template_v4`](#config_template_v4)
* [`config_epp_v4`](#config_epp_v4)
* [`config_epp_v4_par`](#config_epp_v4_par)
* [`config_epp_v4_data`](#config_epp_v4_data)
* [`daemon_name_v6`](#daemon_name_v6)
* [`package_name_v6`](#package_name_v6)
* [`daemon_name_v4`](#daemon_name_v4)
Expand All @@ -64,7 +64,7 @@ The following parameters are available in the `bird` class:
* [`config_file_v6`](#config_file_v6)
* [`config_template_v6`](#config_template_v6)
* [`config_epp_v6`](#config_epp_v6)
* [`config_epp_v6_par`](#config_epp_v6_par)
* [`config_epp_v6_data`](#config_epp_v6_data)
* [`manage_repo`](#manage_repo)
* [`config_content_v4`](#config_content_v4)
* [`config_content_v6`](#config_content_v6)
Expand Down Expand Up @@ -99,9 +99,9 @@ will be passed into the epp() function.

Default value: ``undef``

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

Data type: `Hash[String[1], String[1]]`
Data type: `Hash[String[1], Any]`

Bird configuration template data for IPv4. This value is an epp data source
will be passed into the epp() function.
Expand Down Expand Up @@ -230,9 +230,9 @@ will be passed into the epp() function.

Default value: ``undef``

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

Data type: `Hash[String[1], String[1]]`
Data type: `Hash[String[1], Any]`

Bird configuration template data for IPv4. This value is an epp data source
will be passed into the epp() function.
Expand Down Expand Up @@ -336,7 +336,7 @@ Default value: ``true``

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

Data type: `Optional[String[1]]`
Data type: `Optional[Variant[String[1], Sensitive[String[1]]]]`

The content of the snippet. You cannot provide this in combination with $source.

Expand Down
8 changes: 4 additions & 4 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# Bird configuration template for IPv4. This value is an epp source, it
# will be passed into the epp() function.
#
# @param config_epp_v4_par
# @param config_epp_v4_data
# Bird configuration template data for IPv4. This value is an epp data source
# will be passed into the epp() function.
#
Expand Down Expand Up @@ -67,7 +67,7 @@
# Bird configuration template for IPv6. This value is a epp source, it
# will be passed into the epp() function.
#
# @param config_epp_v6_par
# @param config_epp_v6_data
# Bird configuration template data for IPv4. This value is an epp data source
# will be passed into the epp() function.
#
Expand Down Expand Up @@ -177,7 +177,7 @@
} elsif $config_template_v4 {
$config_file_v4_content = template($config_template_v4)
} else {
$config_file_v4_content = epp($config_epp_v4, $config_epp_v4_par)
$config_file_v4_content = epp($config_epp_v4, $config_epp_v4_data)
}

file { $config_path_v4:
Expand Down Expand Up @@ -242,7 +242,7 @@
} elsif $config_file_v6_content {
$config_file_v6_content = template($config_template_v6)
} else {
$config_file_v6_content = epp($config_epp_v6, $config_epp_v6_par)
$config_file_v6_content = epp($config_epp_v6, $config_epp_v6_data)
}

assert_type(Stdlib::Absolutepath, $v6_path)
Expand Down