From 0c4311c054abae1e64cec889720ec6870e8bf765 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Mon, 8 Apr 2013 11:20:16 -0400 Subject: [PATCH] add ep_fintest, needed by ep_headings to etherpad Make it possible to optionally install ep_headings on an etherpad environment. This makes it easy to enable this on some environments, but not all. Default to 'false', but set 'true' for etherpad_dev. on my environment I also had the installation of ep_fintest, because plugins didn't seem to work until I did this. Testing that. Change-Id: Ia1ee0fd7b51e88f639de5350f124f1a95405cabf Reviewed-on: https://review.openstack.org/26422 Reviewed-by: Clark Boylan Reviewed-by: James E. Blair Reviewed-by: Jeremy Stanley Reviewed-by: Monty Taylor Approved: Clark Boylan Tested-by: Jenkins --- modules/etherpad_lite/manifests/init.pp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/etherpad_lite/manifests/init.pp b/modules/etherpad_lite/manifests/init.pp index 4c97bf8d9a..ddd9456d4a 100644 --- a/modules/etherpad_lite/manifests/init.pp +++ b/modules/etherpad_lite/manifests/init.pp @@ -121,6 +121,15 @@ class etherpad_lite ( } if $ep_headings == true { + # install the test install plugin + # This seesm to be needed to get + exec {'npm install ep_fintest': + cwd => $modules_dir, + path => $path, + creates => "${modules_dir}/ep_fintest", + require => Exec['install_etherpad_dependencies'] + } -> + # install the headings plugin exec {'npm install ep_headings': cwd => $modules_dir,