boxen / boxen

Manage Mac development boxes with love (and Puppet).
MIT License
1.57k stars 138 forks source link

boxen not applying $BOXEN_HOME/facts.d facts #179

Open addigy opened 9 years ago

addigy commented 9 years ago

I tried adding fact files within $BOXEN_HOME/facts.d directory, and it's not automatically picking them up. If I manually run the '$BOXEN_HOME/bin/facter --external-dir $BOXEN_HOME/facts.d' it picks up all the fact files properly.

I noticed the following BOXEN ruby script is supposed to override the /etc/facter/facts.d dir, with the $BOXEN_HOME/facts.d. Are others able to successfully add fact files to $BOXEN_HOME/facts.d?

Thanks, --Jason Dettbarn

rafaelfranca commented 9 years ago

Yeah. Which version of puppet-boxen are you using? This feature only works with 3.8.0+

addigy commented 9 years ago

I'm running 3.10.1

Kind Regards, --Jason Dettbarn

On 3/30/15 4:37 PM, Rafael Mendonça França wrote:

Yeah. Which version of puppet-boxen are you using? This feature only works with 3.8.0+

— Reply to this email directly or view it on GitHub https://github.com/boxen/boxen/issues/179#issuecomment-87824982.

rafaelfranca commented 9 years ago

Actually $BOXEN_HOME/facts.d is not loadable, just $BOXEN_REPO_DIR/facts.d/. See https://github.com/boxen/puppet-boxen#facts