Skip to content

Commit

Permalink
#2935: webcompilers.pp, extend docker workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff1evesque committed Apr 3, 2018
1 parent f61b4cd commit 1ffe519
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
## variables
$webcompilers = [
"uglify-js@${version_uglify_js}",
"node-sass@${version_node_sass}",
"babel-core@${version_babel_core}",
"browserify@${version_browserify}",
"babelify@${version_babelify}",
Expand All @@ -27,4 +26,12 @@
provider => 'npm',
require => Class['package::nodejs'],
}

## 'docker build' workaround (i.e. sass.dockerfile)
exec { "node-sass@${version_node_sass}":
command => "npm install -g node-sass@${version_node_sass}",
unless => 'which node-sass',
path => '/usr/bin',
require => Class['nodejs'],
}
}

0 comments on commit 1ffe519

Please sign in to comment.