Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Commit

Permalink
handle errors with /opt/boxen/homebrew/lib/python2.7 not being a dir
Browse files Browse the repository at this point in the history
  • Loading branch information
wfarr committed Mar 7, 2013
1 parent d56246a commit f38584a
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,14 @@
require => Class['xquartz']
}

file { "${homebrew::config::installdir}/lib/python2.7/site-packages":
ensure => link,
force => true,
target => "${homebrew::config::installdir}/Cellar/python/${version}/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages",
require => Package['boxen/brews/python']
file {
"${homebrew::config::installdir}/lib/python2.7":
ensure => directory ;
"${homebrew::config::installdir}/lib/python2.7/site-packages":
ensure => link,
force => true,
target => "${homebrew::config::installdir}/Cellar/python/${version}/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages",
require => Package['boxen/brews/python'] ;
}

file { "${boxen::config::envdir}/python.sh":
Expand Down

0 comments on commit f38584a

Please sign in to comment.