Skip to content

Instantly share code, notes, and snippets.

View marcusramberg's full-sized avatar

Marcus Ramberg marcusramberg

View GitHub Profile
diff --git a/Changes b/Changes
index 50519bb..279787a 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,10 @@
Revision history for perl distribution Mojolicious-Plugin-PromiseActions
+0.06 Not Released
+
+- Ensure we actually hold on to the tx
#!/usr/bin/env perl
use Mojolicious::Lite;
# Documentation browser under "/perldoc"
plugin 'PODRenderer';
get '/' => sub {
my $c = shift;
$c->render(template => 'index');
};
#!/usr/bin/env perl
use Mojolicious::Lite;
# Documentation browser under "/perldoc"
plugin 'PODRenderer';
get '/' => async sub {
my $c = shift;
$c->stash(res => await($c->ua->get_p("perlmonks.org"))->res );
$c->render(template => 'index');
#!/usr/bin/env perl
use Mojolicious::Lite;
# Documentation browser under "/perldoc"
plugin 'PODRenderer';
get '/' => sub {
my $c = shift;
$c->stash(listData => 1);
$c->render(template => 'index');
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
google_dns_managed_zone.r12-no: Refreshing state... (ID: r12-no)
google_compute_instance_group.dev-solr-group: Refreshing state... (ID: europe-west1-c/dev-solr-group)
google_dns_record_set.solr-internal[1]: Refreshing state... (ID: r12-no/dev-solr02.r12.no./A)
------------------------------------------------------------------------
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
google_compute_instance.dev-solr[1]: Refreshing state... (ID: dev-solr02)
google_dns_managed_zone.r12-no: Refreshing state... (ID: r12-no)
google_compute_instance_group.dev-solr-group: Refreshing state... (ID: europe-west1-c/dev-solr-group)
google_dns_record_set.solr-internal[1]: Refreshing state... (ID: r12-no/dev-solr02.r12.no./A)
------------------------------------------------------------------------
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.

google_compute_instance.dev-solr[1]: Refreshing state... (ID: dev-solr02)
google_dns_managed_zone.r12-no: Refreshing state... (ID: r12-no)
google_compute_instance_group.dev-solr-group: Refreshing state... (ID: europe-west1-c/dev-solr-group)
google_dns_record_set.solr-internal[1]: Refreshing state... (ID: r12-no/dev-solr02.r12.no./A)
------------------------------------------------------------------------
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.

google_compute_instance.dev-solr[1]: Refreshing state... (ID: dev-solr02)
------------------------------------------------------------------------
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
- alias: Update notifications
trigger:
- platform: state
entity_id: updater.updater
action:
service: notify.telegram
data:
message: There is a new Home Assistant release available.
- id: telegramhelp
alias: Help
DBI 1.636-nothread default trace level set to 0x0/5 (pid 63219 pi 0) at DBI.pm line 296 via DBI.pm line 9
-> DBI->connect_cached(DBI:mysql:host=dev-sql01.r12.no;port=3306;database=rg, rg, ****)
-> DBI->install_driver(mysql) for darwin perl=5.024000 pid=63219 ruid=501 euid=501
install_driver: DBD::mysql version 4.046 loaded from /Users/marcus/.plenv/versions/5.24.0/lib/perl5/site_perl/5.24.0/darwin-2level/DBD/mysql.pm
New 'DBI::dr' (for DBD::mysql::dr, parent='', id=undef)
dbih_setup_handle(DBI::dr=HASH(0x7fe71d1a0060)=>DBI::dr=HASH(0x7fe71d19ffe8), DBD::mysql::dr, 0, Null!)
dbih_make_com(Null!, 0, DBD::mysql::dr, 152, 0) thr#0
dbih_setup_attrib(DBI::dr=HASH(0x7fe71d19ffe8), Err, Null!) SCALAR(0x7fe71f7dbbc8) (already defined)
dbih_setup_attrib(DBI::dr=HASH(0x7fe71d19ffe8), State, Null!) SCALAR(0x7fe71b94b118) (already defined)
dbih_setup_attrib(DBI::dr=HASH(0x7fe71d19ffe8), Errstr, Null!) SCALAR(0x7fe71f7dbc88) (already defined)