Switch to our own fork of the poise-javascript cookbook

Includes passing the `--no-audit` switch to `npm install` to prevent the
`npm_install` resource to consider the command resulted in changes,
causing the service to restart at every Chef run. npm returns the
expected string "up to date" when not performing the security audit

Closes #5
This commit is contained in:
Greg Karékinian 2019-06-21 17:36:18 +02:00
parent a7eb12d0eb
commit 80526e3396
2 changed files with 7 additions and 4 deletions

View File

@ -20,8 +20,8 @@ cookbook 'application_git', '= 1.1.0' # 1.2.0 doesn't work with knife-sol
cookbook 'poise', '~> 2.8.2' cookbook 'poise', '~> 2.8.2'
cookbook 'poise-languages', '~> 2.1.1' cookbook 'poise-languages', '~> 2.1.1'
cookbook 'poise-ruby', '~> 2.4.0' cookbook 'poise-ruby', '~> 2.4.0'
cookbook 'poise-javascript', git: 'https://github.com/poise/poise-javascript.git', cookbook 'poise-javascript', git: 'https://github.com/67p/poise-javascript.git',
ref: 'b349e7b7e04edf495398a5f9415a4f8bb4b1badb' ref: 'd85078f'
cookbook 'poise-archive', '~> 1.5.0' cookbook 'poise-archive', '~> 1.5.0'
cookbook 'poise-service', '~> 1.5.2' cookbook 'poise-service', '~> 1.5.2'
cookbook 'users', '~> 5.3.1' cookbook 'users', '~> 5.3.1'

View File

@ -36,7 +36,10 @@ DEPENDENCIES
php-fpm (~> 0.8.0) php-fpm (~> 0.8.0)
poise (~> 2.8.2) poise (~> 2.8.2)
poise-archive (~> 1.5.0) poise-archive (~> 1.5.0)
poise-javascript (~> 1.2.0) poise-javascript
git: https://github.com/67p/poise-javascript.git
revision: d85078fe59bd4f16d05a9ffe6e0fc449015e4440
ref: d85078f
poise-languages (= 2.1.1) poise-languages (= 2.1.1)
poise-ruby (~> 2.4.0) poise-ruby (~> 2.4.0)
poise-ruby-build (= 1.1.0) poise-ruby-build (= 1.1.0)
@ -133,7 +136,7 @@ GRAPH
poise-git (1.0.0) poise-git (1.0.0)
poise (~> 2.6) poise (~> 2.6)
poise-languages (~> 2.1) poise-languages (~> 2.1)
poise-javascript (1.2.0) poise-javascript (1.2.1)
poise (~> 2.0) poise (~> 2.0)
poise-languages (~> 2.0) poise-languages (~> 2.0)
poise-languages (2.1.1) poise-languages (2.1.1)