This is to get some features to use some plugins like the built in LSP. On the hole its going well. Writing code is way more responsive with the built in LSP. Project navigation is still not there, Ivy is a really nice emacs package that I am still trying to find a replacement.
47 lines
1 KiB
Puppet
47 lines
1 KiB
Puppet
# Disable filebucket by default for all File resources:
|
|
# https://github.com/puppetlabs/docs-archive/blob/master/pe/2015.3/release_notes.markdown#filebucket-resource-no-longer-created-by-default
|
|
File { backup => false }
|
|
|
|
node default {
|
|
#
|
|
# Find the username
|
|
#
|
|
# This can be set in the hira data so you can still do things as your user
|
|
# when running puppet as root
|
|
#
|
|
$user = lookup('user', String, 'first', $id)
|
|
notify { "Running as ${id} for ${user} with home of ${user_home}": }
|
|
|
|
#
|
|
# Install docker and docker-compose
|
|
#
|
|
class { 'docker': version => 'latest' }
|
|
class { 'docker::compose': ensure => present, version => '1.29.2' }
|
|
|
|
#
|
|
# Install vscode
|
|
#
|
|
class { 'vscode': }
|
|
|
|
#
|
|
# Install emacs
|
|
#
|
|
apt::ppa { 'ppa:kelleyk/emacs': }
|
|
package { 'emacs27':
|
|
ensure => installed,
|
|
require => [
|
|
Apt::Ppa['ppa:kelleyk/emacs'],
|
|
],
|
|
}
|
|
|
|
#
|
|
# Neovim PPA to get a better version
|
|
#
|
|
apt::ppa { 'ppa:neovim-ppa/unstable': }
|
|
|
|
|
|
#
|
|
# Install all the packages that the workstation needs to run
|
|
#
|
|
include core::packages
|
|
}
|