Browse Source

Ensure abiword package is always present

Change I9831526581a5fc1f2014c9985637664c79b937bf
moved the required packages list statement into a
conditional block, making it to be ensured only
in the case nodejs_version was set to 'system'.

This was causing the abiword library to not be
installed and then etherpad.o.o was appending the
following error message to new pads:

  Error: Abiword does not exist at this path,
  check your settings file -- To suppress these
  warning messages change suppressErrorsInPadText
  to true in your settings.json

This patch makes the abiword library to always be
installed by moving it out of that conditional
statement.

Change-Id: I50f55e4408d850b2bf449b121b9014d511518481
Samuel de Medeiros Queiroz 3 years ago
parent
commit
957ecb6cef
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      manifests/init.pp

+ 4
- 1
manifests/init.pp View File

@@ -45,6 +45,10 @@ class etherpad_lite (
45 45
     mode   => '0664',
46 46
   }
47 47
 
48
+  package { 'abiword':
49
+    ensure => present,
50
+  }
51
+
48 52
   if ($nodejs_version != 'system') {
49 53
     vcsrepo { "${base_install_dir}/nodejs":
50 54
       ensure   => present,
@@ -63,7 +67,6 @@ class etherpad_lite (
63 67
         'python',
64 68
         'libssl-dev',
65 69
         'pkg-config',
66
-        'abiword',
67 70
         'build-essential',
68 71
       ]:
69 72
       ensure => present,

Loading…
Cancel
Save