Project

General

Profile

Actions

Bug #2265

closed

puppet:import:hosts_and_facts $vardir detection

Added by Andy Taylor about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hi,

I've just deployed a new Puppet 3 master with Foreman and noticed that the puppet:import:hosts_and_facts task doesn't work anymore, as it can't correctly determine Puppet's $vardir. This can be fixed with the following alteration:

48c48
<       dir = ENV['dir'] || "#{Puppet[:vardir]}/yaml/facts" 
---
>       dir = ENV['dir'] || "#{SETTINGS[:puppetvardir]}/yaml/facts" 

in lib/tasks/puppet.rake. This utilizes the setting implemented by Dominic Cleal in this ticket:

http://projects.theforeman.org/issues/1994

Thanks,

Andy

Actions #1

Updated by Anonymous about 11 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF