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
# cat << EOF > /etc/salt/master | |
autosign_file: /etc/salt/autosign.conf | |
file_roots: | |
base: | |
- /srv/salt/states | |
reactor: | |
- salt/minion/*/start: | |
- /srv/salt/reactor/basic.sls | |
- salt/job/*/ret/*: | |
- /srv/salt/reactor/job_ret.sls |
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
user {'admin_user': | |
ensure => present, | |
name => 'john', | |
shell => '/bin/zsh', | |
managehome => true, | |
require => Package['apache_package'], | |
before => File['html_doc'], | |
} | |
service {'apache_service': |
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
$ mkdir demo-elasticsearch-vagrant | |
$ cd demo-elasticsearch-vagrant | |
$ git init | |
$ git submodule add https://github.com/bechtoldt/iac-vagrant vagrant | |
Cloning into 'vagrant'... | |
remote: Counting objects: 403, done. | |
remote: Total 403 (delta 0), reused 0 (delta 0), pack-reused 403 | |
Receiving objects: 100% (403/403), 52.14 KiB | 0 bytes/s, done. | |
Resolving deltas: 100% (202/202), done. | |
Checking connectivity... done. |
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
base: | |
'*': | |
- w00t | |
'G@os:Debian and E@foo.*': | |
- match: compound | |
- one.sunstone.debian | |
'G@os:RedHat and E@foo.*': | |
- match: compound | |
- one.sunstone.rhel | |
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
{ | |
"box_name": "DEV_Debian_78_min", | |
"root_password": "muxOFub4u=_POqqIiSBbMa6s+aBlE-1e", | |
"headless": "true", | |
"iso_url": "http://cdimage.debian.org/cdimage/release/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso", | |
"iso_checksum": "a91fba5001cf0fbccb44a7ae38c63b6e" | |
} |