Commit 015f2b76 authored by Stefan Galinski's avatar Stefan Galinski 🎮
Browse files

[TASK] Remove support for old platform versions

parent 59e4f3f2
default['ubuntu_base']['locales'] = %w(en_GB.utf8 de_DE.utf8)
default['ubuntu_base']['timezone'] = 'Europe/Berlin'
if node['platform_version'] == '16.04'
default['locales']['locale_file'] = '/etc/locale.gen'
default['ubuntu_base']['php_version'] = '7.1' # either 7.0 or 7.1
else
default['ubuntu_base']['php_version'] = '-' # option is not available for older platforms
end
\ No newline at end of file
default['locales']['locale_file'] = '/etc/locale.gen'
default['ubuntu_base']['php_version'] = '7.3'
......@@ -36,30 +36,14 @@ end
execute 'apt-get -y update'
# no updated anymore as this can cause critical problems (better use a fresh updated box)
# no updates anymore as this can cause critical problems (better use a fresh updated box)
#execute 'apt-get -y upgrade'
###################
### Update ruby ###
###################
if node['platform_version'] === '16.04'
package 'ruby'
else
apt_repository('ruby-ng') do
uri 'http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu'
deb_src true
trusted true
keyserver 'keyserver.ubuntu.com'
key 'C3173AA6'
distribution 'trusty'
components [:main]
arch 'amd64,i386'
action :add
end
package 'ruby2.2', {:action => :upgrade}
end
package 'ruby'
###########################
### Set system timezone ###
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment