class freebsd::workstation inherits freebsd::base { # Remove vim-tiny added by the base class since it conflicts with # the vim package. Package['vim-tiny'] { ensure => absent, } package { [ 'a2ps', 'alpine', 'anki', 'arandr', 'aria2', 'asciidoc', 'audacity' , 'autoconf', 'autocutsel', 'automake', 'awesome', 'bash', 'blender', 'bspwm', 'calibre', 'cdecl', 'cgoban', 'chromium', 'chrpath', 'cinnamon', 'cloc', 'cmake', 'codeblocks', 'conky', 'cowsay', 'crystal', 'cscope', 'curl', 'darkice', 'dmenu', 'dosbox', 'doxygen', 'eclipse', 'eclipse-cdt', 'elinks', 'emacs', 'enlightenment', 'erlang', 'fcitx-qt5', 'feh', 'figlet', 'filezilla', 'firefox', 'fish', 'fluxbox', 'freecad', 'fvwm', 'fzf', 'gcc', 'gconf2', 'gdb', 'geany', 'global', 'gmake', 'gnucash', 'go', 'google-fonts', 'gperf', 'guile2', 'gwenview', 'help2man', 'hexchat', 'hs-pandoc', 'hs-xmonad', 'htop', 'i3-gaps', 'i3status', 'icecast', 'inotify-tools', 'intltool', 'iperf3', 'irssi', 'ja-fcitx-mozc', 'ja-font-std', 'josm', 'jq', 'k3b', 'kdiff3', 'kicad', 'kicad-library-footprints', 'kicad-library-symbols', 'kicad-library-tmpl', 'kmail', 'ko-fcitx-hangul', 'kontact', 'konversation', 'krita', 'latex-biber', 'libtool', 'links', 'love', 'lua52', 'luajit', 'lynx', 'lyx', 'mate', 'mate-desktop', 'maven', 'mc', 'milkytracker', 'minicom', 'moreutils', 'mpc', 'mpv', 'mtr-nox11', 'mumble', 'mutt', 'nano', 'ncdu', 'ncmpcpp', 'netbeans', 'newsboat', 'nim', 'nitrogen', 'nmap', 'nss', 'numlockx', 'octave', 'okular', 'openttd', 'parallel', 'password-store', 'plasma5-plasma', 'pms', 'polybar', 'protobuf', 'pwgen', 'py37-ipython', 'py37-pip', 'python3', 'qemu', 'qtcreator', 'quassel', 'racket', 'rdesktop', 'rebar3', 'redis', 'redshift', 'remmina', 'rsync', 'rubygem-puppet-lint', 'rxvt-unicode', 'scons-py37', 'screen', 'scrot', 'shards', 'siril', 'slrn', 'source-highlight', 'sqlite', 'sqlitebrowser', 'stellarium', 'stow', 'taskwarrior', 'terminology', 'terminus-font', 'terminus-ttf', 'texworks', 'tf', 'thunderbird', 'tig', 'tmux', 'unrar', 'uqm', 'urlview', 'vim', 'vit', 'vlock', 'weechat', 'wget', 'wine', 'wireshark', 'xbindkeys', 'xdotool', 'xfce4-terminal', 'xmlto', 'xorg', 'xpra', 'zathura', 'zh-fcitx-configtool', 'zsh', ]: ensure => installed, } file { '/etc/ssh/ssh_config': ensure => file, source => 'puppet:///modules/freebsd/workstation/ssh_config', owner => 'root', group => 'wheel', mode => '0644', } file { '/etc/ssh/sshd_config': ensure => file, source => 'puppet:///modules/freebsd/workstation/sshd_config', owner => 'root', group => 'wheel', mode => '0644', } file_line { 'Enable D-Bus': path => '/etc/rc.conf', line => 'dbus_enable="YES"', } # Set default Xorg keyboard layout to Swedish. file { '/usr/local/etc/X11/xorg.conf.d/keyboard.conf': ensure => file, source => 'puppet:///modules/freebsd/workstation/keyboard.conf', owner => 'root', group => 'wheel', mode => '0644', } # Create symlinks for shells to be compatible with the passwd file. file { '/bin/bash': ensure => 'link', target => '/usr/local/bin/bash', } file { '/bin/zsh': ensure => 'link', target => '/usr/local/bin/zsh', } file { '/bin/fish': ensure => 'link', target => '/usr/local/bin/fish', } file { '/lysator': ensure => 'link', target => '/mp/lysator', } file { '/var/mail': ensure => 'link', target => '/mp/mail', force => true, } }