Created
August 8, 2016 22:14
-
-
Save big-samantha/2bc4155ef31d30370abeb31af32a2b3f to your computer and use it in GitHub Desktop.
This file contains 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
--- | |
roles: | |
vim-mode: | |
provisioners: | |
- type: shell | |
inline: | | |
yum install -y vim | |
echo 'set -o vi' > /etc/profile.d/setovi.sh | |
echo 'set editing-mode vi' > /etc/profile.d/seteditvi.sh | |
echo 'export EDITOR=vim' > /etc/profile.d/editorvim.sh | |
adopt: | |
provisioners: | |
- type: shell | |
inline: | | |
ln -s /vagrant/puppet-adopt /etc/puppetlabs/code/modules/adopt | |
puppet module install puppetlabs-puppetserver_gem | |
git clone https://github.com/trlinkin/trlinkin-noop.git /etc/puppetlabs/code/modules/noop --branch noop_from_console | |
yum install -y gcc bzip2 openssl-devel libyaml-devel libffi-devel readline-devel zlib-devel gdbm-devel ncurses-devel git | |
yum groupinstall 'Development Tools' -y | |
echo "noop_from_console('noop')" >> /etc/puppetlabs/code/environments/production/manifests/site.pp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment