Initialise options variable to avoid unset variable expansion #345

Closed
mark wants to merge 1 commit from (deleted):__apt_source-options into master
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-08-25 05:54:48 +00:00
there will not be an error when the variable is not set.
mark changed title from WIP: Initialise options variable to avoid unset variable expansion to Initialise options variable to avoid unset variable expansion 2022-08-25 06:13:31 +00:00
mark closed this pull request 2022-09-18 06:46:24 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
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#345
No description provided.