Commit d73f14bf authored by Fabian Galinski's avatar Fabian Galinski 😾
Browse files

[FEATURE] Adds a setting to install additional packages

parent 8f0e6bbd
......@@ -2,3 +2,11 @@ default['ubuntu_base']['locales'] = %w(en_US.utf8 en_GB.utf8 de_DE.utf8)
default['ubuntu_base']['timezone'] = 'Europe/Berlin'
default['locales']['default'] = 'en_US.utf8'
default['ubuntu_base']['php_version'] = '7.3'
# Example:
# [
# {
# :name => 'yarn'
# }
# ]
default['ubuntu_base']['additional_packages'] = []
......@@ -152,3 +152,11 @@ execute 'apt install aptitude'
######################
execute 'apt install locate'
###################################
### Install additional packages ###
###################################
node['ubuntu_base']['additional_packages'].each do |additionalPackage|
execute 'apt install ' + additionalPackage
end
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