Correct default path to facter and indentaion
This commit is contained in:
parent
770d927ba1
commit
bfb66f3166
|
@ -124,7 +124,7 @@ module VagrantPlugins
|
||||||
# Build up the structured custom facts if we have any
|
# Build up the structured custom facts if we have any
|
||||||
# With structured facts on, we assume the config.facter is yaml.
|
# With structured facts on, we assume the config.facter is yaml.
|
||||||
if config.structured_facts && !config.facter.empty?
|
if config.structured_facts && !config.facter.empty?
|
||||||
@facter_config_path = "/etc/facter/facts.d/vagrant_facts.yaml"
|
@facter_config_path = "/etc/puppetlabs/facter/facts.d/vagrant_facts.yaml"
|
||||||
if windows?
|
if windows?
|
||||||
@facter_config_path = "/ProgramData/PuppetLabs/facter/facts.d/vagrant_facts.yaml"
|
@facter_config_path = "/ProgramData/PuppetLabs/facter/facts.d/vagrant_facts.yaml"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue