puppet
Ruby
code posted
created at 23 Nov 16:30, updated at 23 Nov 16:32
Edit
|
Back
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
class vim::params { case $operatingsystem { /(RedHat|Fedora|CentOS|Scientific)/: { $vim_package = 'vim-X11' $vimrc = '/etc/vimrc' } /(Debian|Ubuntu)/: { $vim_package = 'vim-gnome' $vimrc = '/etc/vim/vimrc.local' } OpenBSD: { $vim_package = 'vim--no_x11' $vimrc = 'vim/files/usr/local/share/vim/vimrc' } } } |
385 Bytes in 2 ms with coderay