Last active
December 17, 2015 08:08
-
-
Save jpadams/5577690 to your computer and use it in GitHub Desktop.
Puppet Dev Toolkit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ############################################### | |
| # A Puppet Devlopment Environment in 3 Flavors | |
| ############################################### | |
| ############################################ | |
| ############## * VIM * ################### | |
| ############################################ | |
| # Use your favorite vim plugin tool. The rest of this gist assumes pathogen. | |
| # https://github.com/tpope/vim-pathogen | |
| ############## STEP 1 ################### | |
| mkdir -p ~/.vim/autoload ~/.vim/bundle; \ | |
| curl -Sso ~/.vim/autoload/pathogen.vim \ | |
| https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim | |
| ############## STEP 2 ################### | |
| # <edit .vimrc> | |
| execute pathogen#infect() | |
| syntax on | |
| filetype plugin indent on | |
| let g:syntastic_puppet_checkers=['puppetlint'] | |
| # </edit> | |
| ############## STEP 3 ################### | |
| # yum install rubygems | apt-get install rubygems | |
| cd ~/.vim/bundle; \ | |
| git clone [email protected]:garbas/vim-snipmate.git; \ | |
| git clone git://github.com/godlygeek/tabular.git; \ | |
| git clone [email protected]:scrooloose/syntastic.git; \ | |
| git clone [email protected]:mv/mv-vim-puppet.git; \ | |
| git clone [email protected]:MarcWeber/vim-addon-mw-utils.git; \ | |
| git clone [email protected]:tomtom/tlib_vim.git; \ | |
| gem install puppet-lint | |
| ############################################ | |
| ############ * SUBLIME * ################# | |
| ############################################ | |
| git clone https://github.com/AndriiGrytsenko/sublime-text-puppet | |
| zip -r puppet.sublime-package sublime-text-puppet | |
| mv puppet.sublime-package /Applications/Sublime\ Text\ 2.app/Contents/MacOS/Pristine\ Packages | |
| ############################################ | |
| ############ * GEPETTO * ################# | |
| ############################################ | |
| http://cloudsmith.github.io/geppetto/download.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment