I hereby claim:
- I am astropanic on github.
- I am astropanic (https://keybase.io/astropanic) on keybase.
- I have a public key ASALn0AmyftU0jyEIviHRBE9txPGIjyWBNA5QPZ9vqpWyQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
$debug = false | |
require 'yaml' | |
CONFIG_FILENAME = ".git-wtf" | |
begin | |
require 'rubygems' | |
require 'term/ansicolor' |
return (1<<31) - (name.downcase.each_byte.each_with_index.to_a.inject(0.0) {|s,(v,i)| s+=(v.to_f/[((2**8)*i), 1.0].max);s} * (2**23)).to_i |
Elasticsearch::Transport::Transport::Errors::ServiceUnavailable: [503] {"error":"ReduceSearchPhaseException[Failed to execute phase [merge], [reduce] ]; nested: ClassCastException[org.elasticsearch.search.facet.terms.strings.InternalStringTermsFacet$TermEntry cannot be cast to org.elasticsearch.search.facet.terms.longs.InternalLongTermsFacet$LongEntry]; ","status":503} |
Elasticsearch::Transport::Transport::Errors::ServiceUnavailable: [503] {"error":"ReduceSearchPhaseException[Failed to execute phase [merge], [reduce] ]; nested: ClassCastException[org.elasticsearch.search.facet.terms.strings.InternalStringTermsFacet$TermEntry cannot be cast to org.elasticsearch.search.facet.terms.longs.InternalLongTermsFacet$LongEntry]; ","status":503} |
"query": { | |
"regexp": { | |
"page.context.searchform.searchform_term_entered.raw": "[^ ]+( +[^ ]+){1}" | |
} | |
} |
I hereby claim:
To claim this, I am signing this object:
--- | |
- name: create group for deloyment and web | |
group: | |
state=present | |
name=web | |
system=yes | |
- name: create user for deployment and web | |
user: | |
state=present |
# file: roles/webtier/tasks/deploy.yaml | |
- name: prepare_release_directory | |
command: "git ls-remote [email protected]:likeabouse/likeabouse.com.git | grep HEAD | awk '{print $1;}'" | |
register: release_path |
check process puma with pidfile /daten/appsse/production/current/tmp/pids/puma.sock | |
start program = "/usr/bin/env bash -c 'export HOME="/daten/appsse/" && source /daten/appsse/.rvm/environments/default && cd /daten/appsse/production/current && bundle exec puma -C config/puma/config.rb' as uid appsse and gid web | |
stop program = "/usr/bin/env bash -c 'export HOME="/daten/appsse/" && source /daten/appsse/.rvm/environments/default && cd /daten/appsse/production/current && bundle exec pumactl -S tmp/pids/puma.state stop' as uid appsse and gid web |