An existing chef node node-1
needs to be renamed node-01
.
knife node edit node-1
- Change the
node_name
tonode-01
.
- Change the
knife node delete node-1
knife client delete node-1
Running handlers:
[2018-10-01T11:07:45-05:00] ERROR: Running exception handlers
Running handlers complete
[2018-10-01T11:07:45-05:00] ERROR: Exception handlers complete
Chef Client failed. 33 resources updated in 01 minutes 06 seconds
[2018-10-01T11:07:45-05:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2018-10-01T11:07:45-05:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[Tue Jun 03 22:05:51 2014] [error] (110)Connection timed out: proxy: HTTP: attempt to connect to 127.0.0.1:3000 (127.0.0.1) failed
[Tue Jun 03 22:05:51 2014] [error] ap_proxy_connect_backend disabling worker for (127.0.0.1)
[Tue Jun 03 22:05:52 2014] [error] proxy: HTTP: disabled connection for (127.0.0.1)
[...]
The problem is that the Apache proxy module, recognising that the service was unavailable, stopped redirecting requests to it for one minute.
#!/bin/bash | |
set -e | |
function getHostname() | |
{ | |
local HOST='' | |
while test -z "$HOST" | |
do | |
read -p "$1 : " HOST |
class Node01048 < Formula | |
desc "Platform built on V8 to build network applications" | |
homepage "https://nodejs.org/" | |
url "https://nodejs.org/dist/v0.10.48/node-v0.10.48.tar.xz" | |
sha256 "365a93d9acc076a0d93f087d269f376abeebccad599a9dab72f2f6ed96c8ae6e" | |
revision 2 | |
head "https://github.com/nodejs/node.git", :branch => "v0.10-staging" | |
bottle do | |
sha256 "0053425c1c78f3afc8c7b311d7808d4e0f9ff955ec5edcef972529eabdf05856" => :sierra |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.6.list
require 'formula' | |
class Elasticsearch < Formula | |
homepage 'http://www.elasticsearch.org' | |
url 'https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.0.2.tar.gz' | |
sha256 '2fc2cd05e5f301ba972c9bf90232b70592568990f526f2634b3a768c4615ad70' | |
head do | |
url 'https://github.com/elasticsearch/elasticsearch.git' | |
depends_on 'maven' |
# Clone repo | |
git clone --mirror [email protected]/fernandoaleman/app.git app/.git | |
# Change into app directory | |
cd app | |
# Update git config | |
git config --unset core.bare | |
# Checkout master branch |
# This snippet checks your current directory for a .ruby-version file | |
# and if it exists, it then checks to see if that version of ruby is | |
# installed. If not, it will ask you if you want to install it. | |
# | |
# Add this snippet to $HOME/.zshrc | |
# In zsh, the chpwd will run a command every time you change directories. | |
function chpwd { | |
# Check if a .ruby-version file exists | |
if [[ -f "$PWD/.ruby-version" ]]; then |