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
--------- | |
Rendering SLS 'base:directory' failed: Unknown yaml render error; line 24 | |
--- | |
[...] | |
- mode: 755 | |
- makedirs: True | |
virtual_env_directory: | |
file.directory: |
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
##### Primary configuration settings ##### | |
########################################## | |
# This configuration file is used to manage the behavior of the Salt Master | |
# Values that are commented out but have no space after the comment are | |
# defaults that need not be set in the config. If there is a space after the | |
# comment that the value is presented as an example and is not the default. | |
# Per default, the master will automatically include all config files | |
# from master.d/*.conf (master.d is a directory in the same directory | |
# as the main master config file) |
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
/opt/apps/my_dir: | |
file.directory: | |
- user: vagrant | |
- group: users | |
- mode: 755 | |
- makedirs: True | |
/opt/apps/my_dir/versions/current: | |
file.directory: | |
- user: vagrant |
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
mysql: | |
server: | |
root_password: False # - to have root@localhost without password | |
# root_password: 'somepass' | |
user: mysql | |
# my.cnf sections changes /usr/lib/python2.7/dist-packages/salt/utils/pyobjects.py | |
mysqld: | |
# you can use either underscore or hyphen in param names | |
bind-address: 0.0.0.0 | |
log_bin: /var/log/mysql/mysql-bin.log |
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
#!pyobjects | |
Pkg.installed("git") | |
if pillar('webserver_role')=='hrbdf': | |
Git.latest('http://git_url.git', target='/path/to/my/target_dir') |
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
include: | |
- mysql | |
ins_pkgs: | |
mysql.client: [] | |
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
ins: | |
{% if pillar.get('webserver_role')=='hrbdf' %} | |
- python | |
{% endif %} |
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
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. | |
# Every Vagrant virtual environment requires a box to build off of. | |
config.vm.box = "precise64" |