Skip to content

Commit

Permalink
Merge pull request #176 from simong/etherpad-1.5.7
Browse files Browse the repository at this point in the history
Bump all environments to Etherpad 1.5.7
  • Loading branch information
mrvisser committed Nov 4, 2015
2 parents f743940 + 293d867 commit 219be84
Show file tree
Hide file tree
Showing 12 changed files with 29 additions and 18 deletions.
2 changes: 1 addition & 1 deletion environments/local/hiera/common.json
Expand Up @@ -72,7 +72,7 @@
"etherpad_enable_abiword": true,
"etherpad_install_config": {
"version_major_minor": "1.5",
"version_patch": "6-46-5615bab",
"version_patch": "7-56-c337a05_0",
"version_nodejs": "0.10.17"
},

Expand Down
2 changes: 1 addition & 1 deletion environments/performance/hiera/common.json
Expand Up @@ -108,7 +108,7 @@
"etherpad_enable_abiword": true,
"etherpad_install_config": {
"version_major_minor": "1.5",
"version_patch": "6-46-5615bab",
"version_patch": "7-56-c337a05_0",
"version_nodejs": "0.10.17"
},

Expand Down
5 changes: 3 additions & 2 deletions environments/performance/hiera/etherpad.json
@@ -1,7 +1,8 @@
{
"classes": [
"::oaeservice::etherpad"
"::oaeservice::etherpad",
"::oaeservice::deps::libreoffice"
],

"nagios_hostgroup": "etherpadservers"
}
}
2 changes: 1 addition & 1 deletion environments/production/hiera/common.json
Expand Up @@ -116,7 +116,7 @@
"etherpad_enable_abiword": true,
"etherpad_install_config": {
"version_major_minor": "1.5",
"version_patch": "6-46-5615bab",
"version_patch": "7-56-c337a05_0",
"version_nodejs": "0.10.17"
},

Expand Down
5 changes: 3 additions & 2 deletions environments/production/hiera/etherpad.json
@@ -1,6 +1,7 @@
{
"classes": [
"::oaeservice::etherpad"
"::oaeservice::etherpad",
"::oaeservice::deps::libreoffice"
],

"rsyslog::imfiles": [
Expand All @@ -23,4 +24,4 @@
],

"nagios_hostgroup": "etherpadservers"
}
}
2 changes: 1 addition & 1 deletion environments/qa/hiera/common.json
Expand Up @@ -89,7 +89,7 @@
"etherpad_enable_abiword": true,
"etherpad_install_config": {
"version_major_minor": "1.5",
"version_patch": "6-46-5615bab",
"version_patch": "7-56-c337a05_0",
"version_nodejs": "0.10.17"
},

Expand Down
2 changes: 1 addition & 1 deletion environments/staging/hiera/common.json
Expand Up @@ -111,7 +111,7 @@
"etherpad_enable_abiword": true,
"etherpad_install_config": {
"version_major_minor": "1.5",
"version_patch": "6-46-5615bab",
"version_patch": "7-56-c337a05_0",
"version_nodejs": "0.10.17"
},

Expand Down
5 changes: 3 additions & 2 deletions environments/staging/hiera/etherpad.json
@@ -1,6 +1,7 @@
{
"classes": [
"::oaeservice::etherpad"
"::oaeservice::etherpad",
"::oaeservice::deps::libreoffice"
],

"rsyslog::imfiles": [
Expand All @@ -23,4 +24,4 @@
],

"nagios_hostgroup": "etherpadservers"
}
}
4 changes: 4 additions & 0 deletions modules/etherpad/templates/etherpad.settings.json.erb
Expand Up @@ -83,6 +83,10 @@
"abiword" : null,
<% end -%>

/* This is the absolute path to the soffice executable. Setting it to null, disables LibreOffice exporting.
LibreOffice can be used in lieu of Abiword to export pads */
"soffice" : "/usr/bin/soffice",

/* This is the path to the Tidy executable. Setting it to null, disables Tidy.
Tidy is used to improve the quality of exported pads*/
"tidyHtml" : "/usr/bin/tidy",
Expand Down
4 changes: 2 additions & 2 deletions modules/etherpad/templates/upstart_etherpad.conf.erb
Expand Up @@ -21,7 +21,7 @@ end script

script
cd $EPHOME/
exec su -s /bin/sh -c 'exec "$0" "$@"' $EPUSER -- node node_modules/ep_etherpad-lite/node/server.js \
exec su -s /bin/sh -c 'HOME=/tmp exec "$0" "$@"' $EPUSER -- node node_modules/ep_etherpad-lite/node/server.js \
>> $EPLOGS/access.log \
2>> $EPLOGS/error.log
end script
end script
8 changes: 8 additions & 0 deletions modules/oaeservice/manifests/deps/libreoffice.pp
@@ -0,0 +1,8 @@
class oaeservice::deps::libreoffice {
include oaeservice::deps::ppa::oae

# Install the correct version of libreoffice
package {'libreoffice':
ensure => '1:4.3.0-0ubuntu1~precise1'
}
}
6 changes: 1 addition & 5 deletions modules/oaeservice/manifests/deps/pp.pp
@@ -1,6 +1,7 @@
class oaeservice::deps::pp {
include oaeservice::deps::common
include oaeservice::deps::ppa::oae
include oaeservice::deps::libreoffice

# Necessary packages for the preview processor
$pp_packages = [
Expand All @@ -17,11 +18,6 @@
ensure => installed
}

# Install the correct version of libreoffice
package {'libreoffice':
ensure => '1:4.3.0-0ubuntu1~precise1'
}

# Install some more fonts because libreoffice 4.3
# doesn't seem to autoguess any longer
exec { 'accept-msttcorefonts-license':
Expand Down

0 comments on commit 219be84

Please sign in to comment.