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
virtualbox-iso output will be in this color. | |
==> virtualbox-iso: Downloading or copying Guest additions | |
virtualbox-iso: Downloading or copying: file:///Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso | |
==> virtualbox-iso: Downloading or copying ISO | |
virtualbox-iso: Downloading or copying: http://releases.ubuntu.com/14.10/ubuntu-14.10-server-amd64.iso | |
==> virtualbox-iso: Starting HTTP server on port 8969 | |
==> virtualbox-iso: Creating virtual machine... | |
==> virtualbox-iso: Creating hard drive... | |
==> virtualbox-iso: Creating forwarded port mapping for SSH (host port 2838) |
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
[INFO ] Executing command ['apt-cache', '-q', 'policy', 'elasticsearch'] in directory '/home/dylan' | |
[DEBUG ] stdout: elasticsearch: | |
Installed: (none) | |
Candidate: 1.1.1 | |
Version table: | |
1.1.1 0 | |
500 http://packages.elasticsearch.org/elasticsearch/1.1/debian/ stable/main amd64 Packages | |
1.1.0 0 | |
500 http://packages.elasticsearch.org/elasticsearch/1.1/debian/ stable/main amd64 Packages | |
1.0.3 0 |
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
dylan@salt /srv/salt (internal-ip-nginx-endpoint●)$ _ salt-cloud -m /etc/salt/logstash-stage-only -d | |
[INFO ] salt-cloud starting | |
[INFO ] Applying map from '/etc/salt/logstash-stage-only'. | |
[ERROR ] An un-handled exception was caught by salt's global exception handler: | |
KeyError: 'logstash_ops' | |
Traceback (most recent call last): | |
File "/usr/bin/salt-cloud", line 10, in <module> | |
salt_cloud() | |
File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 121, in salt_cloud |
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
dylan@salt /srv/salt (internal-ip-nginx-endpoint●)$ _ salt '*' grains.item roles | |
logstash_staging: | |
roles: {'logstash-reciever': True, 'elasticsearch': True, 'logstash': True, 'kibana': True} | |
logstash_ops: | |
roles: | |
logstash-reciever | |
logstash | |
elasticsearch | |
kibana | |
dylan@salt /srv/salt (internal-ip-nginx-endpoint●)$ _ salt -G 'roles:elasticsearch' test.ping |
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
dylan@salt /srv/salt (internal-ip-nginx-endpoint●)$ _ salt '*' grains.item roles | |
logstash_staging: | |
roles: | |
logstash-reciever | |
logstash | |
elasticsearch | |
kibana | |
logstash_ops: | |
roles: | |
logstash-reciever |
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
# causes salt-cloud to hang | |
my-aws-ubuntu: | |
- id: XXXXXXXX | |
ssh_interface: private_ips | |
grains: | |
node_type: managed | |
key: 'XXXXXXXX' | |
private_key: /etc/salt/salt-master.pem | |
keyname: salt-master |
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
Connection to (successfully created instance, IP removed) closed. | |
[INFO ] Salt installed on ops_elk_slave-00 | |
[INFO ] Created Cloud VM 'ops_elk_slave-00' | |
[INFO ] Create and attach volumes to node ops_elk_slave-00 | |
[INFO ] Starting new HTTPS connection (1): ec2.us-east-1.amazonaws.com | |
[INFO ] Starting new HTTPS connection (1): ec2.us-east-1.amazonaws.com | |
[ERROR ] EC2 Response Status Code and Error: [400 400 Client Error: Bad Request] {'Errors': {'Error': {'Message': "vol-6eed552a is not 'available'.", 'Code': 'IncorrectState'}}, 'RequestID': '2261f3a9-6672-4b60-8c94-b8380c882730'} | |
[INFO ] Starting new HTTPS connection (1): ec2.us-east-1.amazonaws.com | |
[INFO ] Starting new HTTPS connection (1): ec2.us-east-1.amazonaws.com | |
[ERROR ] EC2 Response Status Code and Error: [400 400 Client Error: Bad Request] {'Errors': {'Error': {'Message': 'No attributes specified.', 'Code': 'InvalidParameterCombination'}}, 'RequestID': '6d544e7b-02da-42bd-8d92-4533f8f5ba78'} |
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
motd: | |
pkg.installed: | |
- name: update-motd | |
/etc/update-motd.d/00-dynmotd: | |
file.managed: | |
- source: salt://configs/update-motd.d/00-dynmotd | |
/etc/update-motd.d/20-list-updates: | |
file.managed: |
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
ubuntu@salt:/srv/salt$ sudo salt db0\* cron.list_tab deployer | |
db0.mydomain.com: | |
---------- | |
crons: | |
|_ | |
---------- | |
cmd: | |
export BACKUP_SCOPE=full && /usr/local/rbenv/shims/backup perform -t lrnz | |
comment: | |
daymonth: |
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
ext_pillar: | |
- s3: | |
bucket: 'my-obfuscated-bucket' | |
multiple_env: False | |
environment: base | |
verify_ssl: True |
OlderNewer