Project

General

Profile

Actions

Bug #7063

closed

Foreman_smartproxy fails to evalute with "couldn't find HOME environment"

Added by Gavin Williams almost 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Foreman modules
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When running Puppet as a service, the Foreman_smartproxy type fails with:

puppet-agent[7955]: (/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[act-lg-tdns01.test.card.co.uk]) Could not evaluate: couldn't find HOME environment -- expanding `~/.cache'

Running Puppet manually works as expected.

Running on a CentOS 6.5 host, using following versions:

$ rpm -qa |grep "foreman\|puppet"
puppetlabs-release-6-7.noarch
puppet-3.5.1-1.el6.noarch
rubygem-foreman_api-0.1.11-1.el6.noarch
foreman-proxy-1.5.2-1.el6.noarch

puppet-foreman module is 2.2.0 from Git.

Actions

Also available in: Atom PDF