/pltraining-userprefs

Set user preferences for shell and editor.

Primary LanguageVim ScriptApache License 2.0Apache-2.0

userprefs

A simple module that allows users to choose their default editor and default shell.

About

This will ensure that the proper packages are installed, the configuration files that enable syntax highlighting are written, helpful shell aliases are enabled, and the default editor and shell are set.

Example usage:

Customizing the environment:

    class { 'userprefs':
      shell  => 'zsh',  # allowed values: bash/zsh
      editor => 'vim',  # allowed valued: emacs/nano/vim
    }

Classifying a node with classroom defaults:

    include userprefs::defaults

Contact

ben.ford@puppetlabs.com
js@puppetlabs.com
education@puppetlabs.com