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
root@cubi001:/var/longhorn# find . | grep snap | |
./replicas/pvc-06c9f07f-83e2-4d6b-8277-efda46cfc95d-d4a275d4/volume-snap-66d6f322-3bf2-41d0-9195-79efd8bf3f81.img | |
./replicas/pvc-06c9f07f-83e2-4d6b-8277-efda46cfc95d-d4a275d4/volume-snap-66d6f322-3bf2-41d0-9195-79efd8bf3f81.img.meta | |
./replicas/pvc-06c9f07f-83e2-4d6b-8277-efda46cfc95d-d4a275d4/volume-snap-c-hn1109-5ae4df91.img | |
./replicas/pvc-06c9f07f-83e2-4d6b-8277-efda46cfc95d-d4a275d4/volume-snap-be7cf082-7726-40e6-8411-14cb632f449b.img.meta | |
./replicas/pvc-06c9f07f-83e2-4d6b-8277-efda46cfc95d-d4a275d4/volume-snap-81e0befb-73ec-4ad8-b099-d9f62e6737b5.img | |
./replicas/pvc-06c9f07f-83e2-4d6b-8277-efda46cfc95d-d4a275d4/volume-snap-7d0148c0-662c-4263-be85-9ccc7c6bbfe4.img.meta | |
./replicas/pvc-06c9f07f-83e2-4d6b-8277-efda46cfc95d-d4a275d4/volume-snap-0b52d081-3e7f-41bf-81c0-04403334bffa.img.meta | |
./replicas/pvc-06c9f07f-83e2-4d6b-8277-efda46cfc95d-d4a275d4/volume-snap-81e0befb-73ec-4ad8-b099-d9f62e6737b5.img.meta | |
./replicas/pvc-06c9f07f-83e2-4d6b-8277-efda46cfc95d-d4a275d |
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
<?php | |
phpinfo(); |
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
<?php | |
define('WP_ALLOW_MULTISITE', getenv('WP_ALLOW_MULTISITE') ? 'true' : 'false'); | |
echo WP_ALLOW_MULTISITE; |
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
#!/bin/bash | |
if [ "$WP_PLUGINS" = "" ] | |
then | |
echo "please define WP_PLUGINS" | |
exit 1 | |
fi | |
cd /app |
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
#!/usr/bin/env bats | |
@test "Check that we have a /tmp directory" { | |
run stat /tmp | |
[ $status = 0 ] | |
} | |
@test "Check that we get redirected from http to https" { | |
run curl -I http://$WP_DEFAULT_HOST/ | |
[ $status = 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
#!/bin/bash | |
set -e | |
if [ "$WP_IMPORT_DUMP" = "" ] | |
then | |
echo "please define WP_IMPORT_DUMP" | |
exit 1 | |
fi | |
if [ "$WP_SITE_ID" = "" ] |
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
<?php | |
$domains = array(); | |
$mydomains = array(); | |
if (getenv('WP_OFFLOAD_LOCAL_DOMAINS')) { | |
$mydomains = explode(' ', getenv('WP_OFFLOAD_LOCAL_DOMAINS')); | |
} | |
if ($_SERVER['HTTP_HOST']) { | |
$mydomains[] = $_SERVER['HTTP_HOST']; |
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
<?php | |
phpinfo(); | |
?> |
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
import appdaemon.appapi as appapi | |
# | |
# AlarmSystem App | |
# | |
# Args: | |
# | |
class AlarmSystem(appapi.AppDaemon): |
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
Recipe: sensu::default | |
* ruby_block[sensu_service_trigger] action nothing[2017-08-31T08:15:30+00:00] INFO: Processing ruby_block[sensu_service_trigger] action nothing (sensu::default line 20) | |
(skipped due to action :nothing) | |
Recipe: sensu::_linux | |
* yum_repository[sensu] action add[2017-08-31T08:15:30+00:00] INFO: Processing yum_repository[sensu] action add (sensu::_linux line 48) | |
(up to date) | |
* yum_package[sensu] action install[2017-08-31T08:15:30+00:00] INFO: Processing yum_package[sensu] action install (sensu::_linux line 61) | |
[2017-08-31T08:15:30+00:00] WARN: Yum executable not found or doesn't start with #!. Using default python. | |
NewerOlder