ubuntu.pp uses http_server instead of http_proxy

Bug #1150538 reported by Randy Tuttle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cisco Openstack
Fix Committed
Low
Chip
Folsom
Fix Committed
Low
Chip

Bug Description

Occurs when installations require a proxy...

When executing:
puppet apply -v /etc/puppet/manifests/site.pp

the following error is produced:
err: /Stage[main]//Node[cobbler-node]/Cobbler::Ubuntu[precise]/Exec[cobbler-import-x86_64]/returns: change from notrun to 0 failed: env http_server=http://proxy.spastp.cisco.com:3128 https_server=http://proxy.spastp.cisco.com:3128 cobbler-ubuntu-import precise-x86_64 returned 1 instead of one of [0] at /etc/puppet/modules/cobbler/manifests/ubuntu.pp:29

By changing the line in ubuntu.pp from:
$proxy_pfx="env http_server=${proxy} https_server=${proxy} "

to:
$proxy_pfx="env http_proxy=${proxy} https_proxy=${proxy} "

solves the error.

Randy Tuttle (rantuttl)
tags: added: folsum
Revision history for this message
Mark T. Voelker (mvoelker) wrote :

Cliff has a pull request out for this:
https://github.com/CiscoSystems/puppet-cobbler/pull/17

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.