Skip to content

Commit

Permalink
Merge pull request #9 from bastelfreak/home
Browse files Browse the repository at this point in the history
set correct $HOME for borg-restore.pl install
  • Loading branch information
bastelfreak authored Nov 6, 2018
2 parents 9877a30 + 3edf891 commit 1d552b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
command => 'cpanm -l /opt/BorgRestore App::BorgRestore',
creates => "${venv_directory}/bin/borg-restore.pl",
path => "${$venv_directory}/bin::/usr/sbin:/usr/bin:/sbin:/bin",
environment => ["PERL_MB_OPT='--install_base ${venv_directory}'", "PERL_MM_OPT='INSTALL_BASE=${venv_directory}'", "PERL5LIB='${venv_directory}/lib/perl5'", "PERL_LOCAL_LIB_ROOT=${venv_directory}"],
environment => ["PERL_MB_OPT='--install_base ${venv_directory}'", "PERL_MM_OPT='INSTALL_BASE=${venv_directory}'", "PERL5LIB='${venv_directory}/lib/perl5'", "PERL_LOCAL_LIB_ROOT=${venv_directory}", 'HOME=/root'],
timeout => 600,
cwd => '/root',
}
Expand Down

0 comments on commit 1d552b7

Please sign in to comment.