Browse Source

Install curl as dep for etherpad dep install

Etherpads dependency install process requires curl, ensure that it is
installed before we need it.

Change-Id: I711e43f0dd9c8287c26e2861498eb3ebb191e878
Clark Boylan 2 years ago
parent
commit
88d20d9a0f
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      manifests/init.pp

+ 5
- 1
manifests/init.pp View File

@@ -49,6 +49,10 @@ class etherpad_lite (
49 49
     ensure => present,
50 50
   }
51 51
 
52
+  package { 'curl':
53
+    ensure => present,
54
+  }
55
+
52 56
   if ($nodejs_version != 'system') {
53 57
     vcsrepo { "${base_install_dir}/nodejs":
54 58
       ensure   => present,
@@ -63,7 +67,6 @@ class etherpad_lite (
63 67
 
64 68
     package { [
65 69
         'gzip',
66
-        'curl',
67 70
         'python',
68 71
         'libssl-dev',
69 72
         'pkg-config',
@@ -125,6 +128,7 @@ class etherpad_lite (
125 128
     cwd         => "${base_install_dir}/etherpad-lite",
126 129
     environment => "HOME=${base_log_dir}/${ep_user}",
127 130
     require     => [
131
+      Package['curl'],
128 132
       Vcsrepo["${base_install_dir}/etherpad-lite"],
129 133
       Anchor['nodejs-anchor'],
130 134
     ],

Loading…
Cancel
Save