Created
June 17, 2015 13:52
-
-
Save ksingh7/5f9dd2e36a675c2ccc7a to your computer and use it in GitHub Desktop.
vagrant-provision-shell
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
puppet.vm.provision 'shell', inline: 'systemctl stop firewalld' | |
puppet.vm.provision 'shell', inline: 'setenforce 0' | |
puppet.vm.provision 'shell', inline: "sed -i s'/SELINUX.*=.*enforcing/SELINUX=disabled'/g /etc/selinux/config" | |
puppet.vm.provision 'shell', inline: 'rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm' | |
puppet.vm.provision 'shell', inline: 'yum install -y puppet-server' | |
puppet.vm.provision 'shell', inline: 'puppet resource package puppet-server ensure=latest' | |
puppet.vm.provision 'shell', inline: 'yum update -y' | |
puppet.vm.provision 'shell', inline: 'systemctl enable puppetmaster' | |
puppet.vm.provision 'shell', inline: 'systemctl start puppetmaster' | |
puppet.vm.provision 'shell', inline: 'systemctl disable firewalld' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment