Browse Source

Merge "Upgrade to LimeSurvey 3.15.6"

Zuul 2 months ago
parent
commit
a79e6dd6bc
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      modules/openstack_project/manifests/survey.pp

+ 5
- 5
modules/openstack_project/manifests/survey.pp View File

@@ -45,8 +45,8 @@ class openstack_project::survey (
45 45
   $auth_openid = undef,
46 46
   $docroot = '/var/www',
47 47
   $runtime_dir_mode = '0755',
48
-  $download_url = 'https://github.com/LimeSurvey/LimeSurvey/archive/',
49
-  $version = '3.7.0+180418',
48
+  $download_url = 'https://download.limesurvey.org/latest-stable-release/',
49
+  $version = '3.15.6+190108',
50 50
   $www_group = 'www-data',
51 51
   $www_user = 'www-data',
52 52
   # These are required for bootstrapping, so do not have defaults.
@@ -76,7 +76,7 @@ class openstack_project::survey (
76 76
   exec { 'limesurvey-download':
77 77
     path    => '/bin:/usr/bin',
78 78
     creates => "${docroot}/tmp/runtime",
79
-    command => "bash -c 'cd /tmp; wget ${download_url}${version}.tar.gz'",
79
+    command => "bash -c 'cd /tmp; wget ${download_url}limesurvey${version}.tar.gz'",
80 80
     require => File[$docroot],
81 81
     user    => $www_user,
82 82
   }
@@ -85,7 +85,7 @@ class openstack_project::survey (
85 85
     path    => '/bin:/usr/bin',
86 86
     cwd     => '/tmp',
87 87
     creates => "${docroot}/tmp/runtime",
88
-    command => "bash -c 'cd /tmp; tar zxf /tmp/${version}.tar.gz -C ${docroot} --strip-components=1'",
88
+    command => "bash -c 'cd /tmp; tar zxf /tmp/limesurvey${version}.tar.gz -C ${docroot} --strip-components=1'",
89 89
     notify  => Exec['limesurvey-install'],
90 90
     require => Exec['limesurvey-download'],
91 91
     user    => $www_user,
@@ -102,7 +102,7 @@ class openstack_project::survey (
102 102
     user        => $www_user,
103 103
   }
104 104
 
105
-  file { "/tmp/${version}.tar.gz":
105
+  file { "/tmp/limesurvey${version}.tar.gz":
106 106
     ensure  => absent,
107 107
     require => Exec['limesurvey-unzip'],
108 108
   }

Loading…
Cancel
Save