Issue #23378 has been reported by Pieter Hollants. ---------------------------------------- Bug #23378: Zypper package provider needs $HOME set to access username/password-protected repos https://projects.puppetlabs.com/issues/23378
* Author: Pieter Hollants * Status: Unreviewed * Priority: High * Assignee: * Category: provider * Target version: 3.3.2 * Affected Puppet version: 3.3.1 * Keywords: zypper package provider * Branch: ---------------------------------------- zypper, the command used to install packages on SUSE distributions, supports package repositories that requires a username and a password to be accessed. Unlike other comparable utilities for other distributions, zypper stores such credentials information in a file in $HOME, $HOME/.zypp/credentials.cat to be precisely. However, this requires the environment variable $HOME to be set, which is currently not the case, rendering the zypper package provider unable to access a required password. The attached patch fixes this by explicitly defining a HOME environment variable set to "/root". This is correct, because the zypper command requires root permissions for both configuring software repositories and installing software. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.