From 80526e339685b915fe52ac5fe04c30025edb2d8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Kar=C3=A9kinian?= Date: Fri, 21 Jun 2019 17:36:18 +0200 Subject: [PATCH] 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 --- Berksfile | 4 ++-- Berksfile.lock | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Berksfile b/Berksfile index a2b783d..26388bd 100644 --- a/Berksfile +++ b/Berksfile @@ -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-languages', '~> 2.1.1' cookbook 'poise-ruby', '~> 2.4.0' -cookbook 'poise-javascript', git: 'https://github.com/poise/poise-javascript.git', - ref: 'b349e7b7e04edf495398a5f9415a4f8bb4b1badb' +cookbook 'poise-javascript', git: 'https://github.com/67p/poise-javascript.git', + ref: 'd85078f' cookbook 'poise-archive', '~> 1.5.0' cookbook 'poise-service', '~> 1.5.2' cookbook 'users', '~> 5.3.1' diff --git a/Berksfile.lock b/Berksfile.lock index 6180680..432f8cf 100644 --- a/Berksfile.lock +++ b/Berksfile.lock @@ -36,7 +36,10 @@ DEPENDENCIES php-fpm (~> 0.8.0) poise (~> 2.8.2) 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-ruby (~> 2.4.0) poise-ruby-build (= 1.1.0) @@ -133,7 +136,7 @@ GRAPH poise-git (1.0.0) poise (~> 2.6) poise-languages (~> 2.1) - poise-javascript (1.2.0) + poise-javascript (1.2.1) poise (~> 2.0) poise-languages (~> 2.0) poise-languages (2.1.1)