refactor(pp): have a good think about the package that get installed

This has not been reviewed for quite some time, and things linke
filezilla as getting installed.
This commit is contained in:
Ade Attwood 2022-07-25 20:01:40 +01:00
parent 1f9440bd30
commit ac1be9cab1

View file

@ -4,26 +4,16 @@ class core::packages {
# #
package { [ package { [
'cmake', 'cmake',
'filezilla',
'firefox',
'git', 'git',
'mutt',
'neovim', 'neovim',
'notmuch-mutt',
'notmuch',
'offlineimap',
'silversearcher-ag', 'silversearcher-ag',
'tmux', 'tmux',
'bat', 'bat',
'urlscan',
'vim',
'zsh', 'zsh',
'build-essential', 'build-essential',
'chromium-browser',
'keepass2',
'python-dev',
'ruby-dev',
'software-properties-common', 'software-properties-common',
'fd-find'
'fzf'
]: ]:
ensure => installed, ensure => installed,
} }
@ -40,6 +30,14 @@ class core::packages {
provider => 'shell', provider => 'shell',
} }
exec { 'Link fdfind to fd':
command => 'ln -s /usr/bin/fdfind /usr/bin/fd',
onlyif => 'test -e /usr/bin/fdfind',
creates => '/usr/bin/fd',
path => '/bin:/usr/bin',
provider => 'shell',
}
# core::packages::npm { [ # core::packages::npm { [
# 'grunt', # 'grunt',
# 'intelephense', # 'intelephense',