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
{% if grains['nodename'] == 'db1' %} | |
include: | |
- users.group3: | |
key: users | |
# - users.group1: | |
# key: users1 | |
{% endif %} |
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
{% for user, args in pillar[{{groupname}}].iteritems() %} | |
{{ user }}: | |
# group: | |
# - present | |
user.present: | |
- home: {{ args['home'] }} | |
{% if 'password' in args %} | |
- password: {{ args['password'] }} | |
{% if 'enforce_password' in args %} | |
- enforce_password: {{ args['enforce_password'] }} |
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
{% from "users/map.jinja" import users with context %} | |
group1: | |
mbarnett: | |
fullname: Melissa Barnett | |
groups: | |
- {{ users.adm_group }} | |
crypt: $6$eR6EbjW8$abCOo.v/bx629Sl0jz0R61jIE8kC8Q3v7VhxTDjTerSiJnF.9Qv2XXw/Whb3x48yBfFGAPmiHW5PAKxNcegcg1 | |
home: /home/mbarnett |
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
{% from "users/map.jinja" import users with context %} | |
group1: | |
mbarnett: | |
fullname: Melissa Barnett | |
home: /home/mbarnett |
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
/tmp/packer.tar.gz: | |
file.managed: | |
- source: https://aur.archlinux.org/packages/pa/packer/packer.tar.gz | |
- source_hash: sha256=4d48ddc5270afdd9358055b040b478581887c0f6aa2120cb3cde619c6e711fdb | |
prepare-packer: | |
cmd.wait: | |
- name: tar zxf packer.tar.gz | |
- cwd: /tmp | |
- user: vagrant | |
- watch: |
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
sentry-reqs: | |
pkg.installed: | |
- pkgs: | |
- python-virtualenv | |
- supervisor | |
- python-pip | |
- virtualenvwrapper | |
- postgresql-server-dev-all | |
- python-dev | |
- require_in: |
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
sentry-reqs: | |
pkg.installed: | |
- pkgs: | |
- python-virtualenv | |
- supervisor | |
- python-pip | |
- virtualenvwrapper | |
- postgresql-server-dev-all | |
- python-dev | |
- require_in: |
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
input { | |
zeromq { | |
type => "zeromq-type" | |
mode => "server" | |
topology => "pubsub" | |
address => "tcp://0.0.0.0:2021" | |
format => "json_event" | |
} | |
} |
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
INFO global: Vagrant version: 1.4.0 | |
INFO global: Ruby version: 2.0.0 | |
INFO global: RubyGems version: 2.0.14 | |
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.0/plugins/synced_folders/nfs/plugin.rb | |
INFO manager: Registered plugin: NFS synced folders | |
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.0/plugins/hosts/freebsd/plugin.rb | |
INFO manager: Registered plugin: FreeBSD host | |
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.0/plugins/hosts/slackware/plugin.rb | |
INFO manager: Registered plugin: Slackware host | |
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.0/plugins/hosts/redhat/plugin.rb |
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
$ go build | |
# _/home/vagrant/logstash-forwarder | |
./filecompare.go:10: undefined: FileState | |
./prospector.go:42: undefined: FileState | |
./registrar.go:9: undefined: FileState | |
./registrar.go:20: undefined: file_ids | |
./registrar.go:21: undefined: FileState | |
./registrar_other.go:10: undefined: FileState |