Initialise options variable to avoid unset variable expansion #351

Merged
nico merged 1 commits from mark/cdist:options-initialise into master 2022-12-20 17:04:47 +00:00
Contributor

The options variable is not initialised. If there are no options passed to the apt_source type that set the variable, executing $type/files/source.list.template will result in an error:

data/conf/type/apt_source/files/source.list.template: 6: options: parameter not set

Regards,

Mark

The options variable is not initialised. If there are no options passed to the apt_source type that set the variable, executing `$type/files/source.list.template` will result in an error: ``` data/conf/type/apt_source/files/source.list.template: 6: options: parameter not set ``` Regards, Mark
mark added 1 commit 2022-09-29 14:21:50 +00:00
62db96bb37 Initialise options variable so expansion when running files/source.list.template
there will not be an error when the variable is not set.
nico merged commit 5c85b04309 into master 2022-12-20 17:04:46 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ungleich-public/cdist#351
No description provided.