Created
July 25, 2014 18:18
-
-
Save dstokes/e9b103ccc0ca54c5051a to your computer and use it in GitHub Desktop.
salt auth error setup
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
| auto_accept: True | |
| log_level: debug | |
| log_file: /var/log/salt/master |
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
| id: master_minion | |
| master: localhost |
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
| id: minion | |
| master: 10.10.10.2 |
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
| Vagrant.configure("2") do |config| | |
| config.vm.box = "hashicorp/precise64" | |
| config.vm.define "master" do |master| | |
| master.vm.hostname = "master" | |
| master.vm.network :private_network, ip: "10.10.10.2" | |
| master.vm.synced_folder ".", "/srv/salt/", nfs: true | |
| master.vm.provider "virtualbox" do |v| | |
| v.cpus = 2 | |
| v.memory = 1024 | |
| end | |
| master.vm.provision :salt do |salt| | |
| salt.colorize = true | |
| salt.log_level = "debug" | |
| salt.install_type = "git" | |
| salt.install_args = "v2014.7" | |
| salt.install_master = true | |
| salt.master_config = "master.conf" | |
| salt.minion_config = "master_minion.conf" | |
| end | |
| end | |
| config.vm.define "minion" do |minion| | |
| minion.vm.hostname = "minion" | |
| minion.vm.network :private_network, ip: "10.10.10.3" | |
| minion.vm.provider "virtualbox" do |v| | |
| v.cpus = 2 | |
| v.memory = 1024 | |
| end | |
| minion.vm.provision :salt do |salt| | |
| salt.colorize = true | |
| salt.log_level = "debug" | |
| salt.install_type = "git" | |
| salt.install_args = "v2014.7" | |
| salt.minion_config = "minion" | |
| end | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment