##Concepts
Salt-master
- salt server that clients communicate tosalt-minion
- name for the salt client- by default:
- looks for master with dns 'salt'
- tries to specify its own hostname through fqdn, /etc/hostname, /etc/hosts
- by default:
Maven is a build automation tool for java (though it can also be used for other languages). It has the ability to pull in java libraries and maven plugins from a network repository.
All build files will go in ./target and it is a good idea to ignore that in your version control.
High-level file directory looks like this:
├── pom.xml - define project parameters here
import os
# first set your django settings (might need to append sys path for this to work)
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "django_root.settings.local")
# then you can import models and access ORM functions
from django_root.myapp import models
models.MyTable.objects.all()
layout | title | date | comments | categories | |
---|---|---|---|---|---|
post |
Chef Recipes Expanded |
2014-05-19 18:19:18 -0400 |
true |
|
More chef notes. Watched some videos and read some documentation - and then I wrote some notes. Why? Seemed like a good thing to do at the time.
#main-table { | |
// background-image: url(/userContent/jeffgoldblum.jpg) !important; | |
background-image: url(http://i.imgur.com/vPzDej0.jpg) !important; | |
} | |
#top-panel { | |
background-image: none; | |
// background-image: url(http://i.imgur.com/q0zY2hJ.jpg); | |
background-image: url(/userContent/red-bar.jpg); | |
} |
Install the following: | |
* EPEL repository | |
* kmod-nvidia | |
* xorg-x11-drv-nvidia-libs.i686 | |
You'll need to disable the SELinux boolean settings "selinuxuser_execheap" in order to run certain games (like Counter-strike GO): | |
Here's temporarily: | |
```bash |
--- | |
148: | |
- 4 | |
- :conn_id | |
8: | |
- :ip4_addr | |
- :ipv4_src_addr | |
7: | |
- 2 | |
- :src_port |
# Ripped from this fine internet helper -- http://gorka.eguileor.com/vbox-vmware-in-secureboot-linux/ | |
# Create key | |
$ openssl req -new -x509 -newkey rsa:2048 -keyout msheiny.priv -outform DER -out msheiny.der -nodes -days 36500 -subj "/CN=msheiny/" | |
# Sign vboxdrv | |
$ sudo /usr/src/kernels/$(uname -r)/scripts/sign-file sha256 ./msheiny.priv ./msheiny.der $(modinfo -n vboxdrv) | |
# import key | |
$ sudo mokutil --import msheiny.der |
ansible-playbook -u vagrant -i provisioning/ansible_hosts provisioning/playbook.yml --private-key=~/.vagrant.d/insecure_private_key