How to use Pelican on GitHub Pages 
Author: Josef Jezek
sudo apt-get install python-setuptools
[WARNING ] The function 'cloud_config()' defined in '/usr/local/lib/python2.7/dist-packages/saltcloud/config.py' is not yet using the new 'default_path' argument to `salt.config.load_config()`. As such, the 'SALT_CLOUD_CONFIG' environment variable will be ignored | |
[DEBUG ] Missing configuration file: /etc/salt/cloud | |
[DEBUG ] Reading configuration from /etc/salt/master | |
[WARNING ] The function 'cloud_providers_config()' defined in '/usr/local/lib/python2.7/dist-packages/saltcloud/config.py' is not yet using the new 'default_path' argument to `salt.config.load_config()`. As such, the 'SALT_CLOUD_PROVIDERS_CONFIG' environment variable will be ignored | |
[DEBUG ] Reading configuration from /etc/salt/cloud.providers | |
[WARNING ] The function 'vm_profiles_config()' defined in '/usr/local/lib/python2.7/dist-packages/saltcloud/config.py' is not yet using the new 'default_path' argument to `salt.config.load_config()`. As such, the 'SALT_CLOUDVM_CONFIG' environment variable will be ignored | |
[DEBUG ] Reading configurati |
[WARNING ] The function 'cloud_config()' defined in '/usr/local/lib/python2.7/dist-packages/saltcloud/config.py' is not yet using the new 'default_path' argument to `salt.config.load_config()`. As such, the 'SALT_CLOUD_CONFIG' environment variable will be ignored | |
[DEBUG ] Missing configuration file: /etc/salt/cloud | |
[DEBUG ] Reading configuration from /etc/salt/master | |
[WARNING ] The function 'cloud_providers_config()' defined in '/usr/local/lib/python2.7/dist-packages/saltcloud/config.py' is not yet using the new 'default_path' argument to `salt.config.load_config()`. As such, the 'SALT_CLOUD_PROVIDERS_CONFIG' environment variable will be ignored | |
[DEBUG ] Reading configuration from /etc/salt/cloud.providers | |
[WARNING ] The function 'vm_profiles_config()' defined in '/usr/local/lib/python2.7/dist-packages/saltcloud/config.py' is not yet using the new 'default_path' argument to `salt.config.load_config()`. As such, the 'SALT_CLOUDVM_CONFIG' environment variable will be ignored | |
[DEBUG ] Reading configurati |
ext_pillar: | |
- git: master [email protected]:userrepo/pillar.git | |
- git: dev [email protected]:userrepo/pillar.git |
fileserver_backend: | |
- git | |
gitfs_remotes: | |
- [email protected]:somerepogroup/salt-states.git | |
##### Pillar settings ##### | |
########################################## | |
# Salt Pillars allow for the building of global data that can be made selectively | |
# available to different minions based on minion grain filtering. The Salt |
Vagrant.configure("2") do |config| | |
config.vm.box = "precise64" | |
config.vm.synced_folder "salt/", "/srv/salt/" | |
config.vm.define :smaster do |smaster| | |
smaster.vm.network "private_network", ip: "192.168.50.4" | |
smaster.vm.network "forwarded_port", guest: 8001, host: 8001, auto_correct: true | |
smaster.vm.hostname = "devmaster" | |
smaster.vm.provision :salt do |salt| |
## | |
## salt '*' grains.setval key val | |
## salt '*' grains.setval key "{'sub-key': 'val', 'sub-key2': 'val2'}" | |
## | |
{% set id = grains.id %} | |
{% set os = grains.os %} | |
{% set node_type = pillar.node_type %} | |
{% set node_role = pillar.node_role %} | |
{% set key = id + '-sls-base-nginx-_action' %} |
Yes, this is a contrived example just to show off what I'm talking about... | |
init.sls ( I used /base/be_cool/init.sls) | |
======== | |
do_something_cool: | |
cmd.run: | |
- unless: '[[ -e /tmp/dsc.no_run ]]' | |
- name: echo 'done' > /tmp/dsc.log && touch /tmp/dsc.report && true |
W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4759FA960E27C0A6 | |
* INFO: Running config_salt() | |
* INFO: Running install_ubuntu_stable() | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
The following extra packages will be installed: | |
dctrl-tools debconf-utils libyaml-0-2 msgpack-python python-crypto | |
python-jinja2 python-m2crypto python-markupsafe python-pkg-resources |
core: | |
pkg.installed: | |
- pkgs: | |
- htop | |
- vim-nox | |
- git-core | |
- zsh | |
- tmux | |
- git |
Author: Josef Jezek
sudo apt-get install python-setuptools