Skip to content

Commit

Permalink
fix repo::target empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
trefzer committed Dec 7, 2024
1 parent cf99e1e commit b43082c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifests/repo.pp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
#
define borgbackup::repo (
String $reponame = $title,
String $target = '',
String $target = ' ',
Optional[String] $passphrase = undef,
String $passcommand = 'default',
Hash $env_vars = {},
Expand Down
3 changes: 1 addition & 2 deletions spec/defines/repo_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
describe 'borgbackup::repo' do
let :default_params do
{ reponame: 'title',
target: '',
passphrase: '',
target: ' ',
passcommand: 'default',
env_vars: {},
archives: {},
Expand Down

0 comments on commit b43082c

Please sign in to comment.