diogogmt

Untitled

Apr 10th, 2013
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.65 KB | None | 0 0
  1. /etc/puppet/modules/vim/manifests/init.pp
  2.  
  3. class vim {
  4.   case $operatingsystem {
  5.     centos: {
  6.     }
  7.   }
  8.  
  9.   package { 'vim-common':
  10.     ensure      =>  installed,
  11.   }
  12.   package { 'vim-minimal':
  13.     ensure      =>  installed,
  14.   }
  15.   package { 'vim-enhanced':
  16.     ensure      =>  installed,
  17.   }
  18.   package { 'vim-X11':
  19.     ensure      =>  installed,
  20.   }
  21.  
  22.   file { '/root/.vimrc':
  23.     ensure      =>  file,
  24.     source      =>  '/etc/puppet/modules/vim/vimrc',
  25.     owner       =>  'root',
  26.     group       =>  'root',
  27.     mode        =>  640,
  28.     require     =>  Package['vim-common', 'vim-minimal', 'vim-enhanced', 'vim-X11'],
  29.   }
  30.  
  31. }
Advertisement
Add Comment
Please, Sign In to add comment