Unfortunately I couldn't find a complete and working documentation on how to do this. But this steps succeeded (at...
...gzip_types directives in nginx you might not be able to successfully reload the service and get this error message instead: nginx: [emerg] could not build the test_types_hash...
...file without caring about BASH escaping: # /home/user/foo.sh echo "$(hostname -f): $(uptime)" echo "${USER}" echo "${SERVERLIST}" | bolt command run @foo.sh --run-as root --targets - Use script run to run a ruby...
#!/usr/bin/env ruby # /home/user/bar.rb puts 'Hello, world!' echo "${SERVERLIST}" | bolt script run ./bar.rb --targets...
If you need the debug output of the puppetmaster running with passenger you have to uncomment this setting in the...
If you get an error message like this: You have already activated some-gem 1.2.3, but your Gemfile requires some...
Create htpasswd entry and print to stdout: $ sudo apt install apache2-utils # Optional $ htpasswd -n $USERNAME New password:
aws ec2 describe-instances --output text --query 'Reservations[].Instances[?!not_null(Tags[?Key == `aws:autoscaling:groupName`].Value)] | [].[InstanceId]' | xargs -L1...
Best results in other decks
...a new connection end end These three connections will remain connected to the database server after the threads terminate. This only affects threads that use ActiveRecord. You can rely on...
...outlined below. This may cause your application to open more connections than your database server allows. If you don't want to risk that, you can also manually release connections...
When your Rails application server raises error, Capybara will fail your test when it clears the session after the last step. The effect is a test that passes all steps...
%r{No route matches .*"/uploads/test/\d+-[\d\-]+/[^"]+"}i, ].freeze def raise_server_error! super rescue StandardError => e # Ignore errors about missing source maps unless IGNORE_MESSAGES.any? { |ignore_message...