Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Chef Cookbooks
ubuntu_base
Commits
afcbec8a
Commit
afcbec8a
authored
Jun 16, 2021
by
Fabian Galinski
😾
Browse files
[BUGFIX] STDERR: WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
parent
3e5db126
Changes
1
Hide whitespace changes
Inline
Side-by-side
recipes/default.rb
View file @
afcbec8a
...
...
@@ -145,18 +145,24 @@ end
### Install aptitude ###
########################
execute
'apt install aptitude'
package
'aptitude'
do
action
'upgrade'
end
######################
### Install locate ###
######################
execute
'apt install locate'
package
'locate'
do
action
'upgrade'
end
###################################
### Install additional packages ###
###################################
node
[
'ubuntu_base'
][
'additional_packages'
].
each
do
|
additionalPackage
|
execute
'apt install '
+
additionalPackage
[
'name'
]
package
additionalPackage
[
'name'
]
do
action
'upgrade'
end
end
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment