Harden the datatypes #58
Annotations
28 errors and 14 warnings
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures.yml):
spec/classes/patroni_spec.rb#L291
patroni on debian-11-x86_64 is_standby => true has valid config
Failure/Error: expect(config).to include(expected)
expected {"bootstrap" => {"dcs" => {"loop_wait" => 10, "master_start_timeout" => 300, "maximum_lag_on_failover" => 10485...ope" => "testscope", "watchdog" => {"device" => "/dev/watchdog", "mode" => "automatic", "safety_margin" => 5}} to include {"standby_cluster" => {"host" => "127.0.0.1", "port" => "5432", "primary_slot_name" => "patroni"}}
Diff:
@@ -1,7 +1,13 @@
-"standby_cluster" => {"host"=>"127.0.0.1", "port"=>"5432", "primary_slot_name"=>"patroni"},
+"bootstrap" => {"dcs"=>{"loop_wait"=>10, "master_start_timeout"=>300, "maximum_lag_on_failover"=>1048576, "postgresql"=>{"use_pg_rewind"=>true, "use_slots"=>true}, "retry_timeout"=>10, "standby_cluster"=>{"host"=>"127.0.0.1", "port"=>5432, "primary_slot_name"=>"patroni"}, "synchronous_mode"=>false, "synchronous_mode_strict"=>false, "ttl"=>30}, "initdb"=>["data-checksums", {"encoding"=>"UTF8"}, {"locale"=>"en_US.utf8"}], "method"=>"initdb", "pg_hba"=>["host all all 0.0.0.0/0 md5", "host replication rep_user 0.0.0.0/0 md5"]},
+"name" => "localhost",
+"namespace" => "/service/",
+"postgresql" => {"authentication"=>{"replication"=>{"password"=>"changeme", "username"=>"rep_user"}, "superuser"=>{"password"=>"changeme", "username"=>"postgres"}}, "bin_dir"=>"/usr/lib/postgresql/13/bin", "connect_address"=>"localhost:5432", "create_replica_methods"=>["basebackup"], "data_dir"=>"/var/lib/postgresql/13/main", "listen"=>"0.0.0.0:5432", "pg_ctl_timeout"=>60, "pgpass"=>"/tmp/pgpass0", "remove_data_directory_on_rewind_failure"=>false, "use_pg_rewind"=>true, "use_unix_socket"=>false},
+"restapi" => {"connect_address"=>"localhost:8008", "listen"=>"0.0.0.0:8008"},
+"scope" => "testscope",
+"watchdog" => {"device"=>"/dev/watchdog", "mode"=>"automatic", "safety_margin"=>5},
|
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures.yml):
spec/classes/patroni_spec.rb#L291
patroni on redhat-7-x86_64 is_standby => true has valid config
Failure/Error: expect(config).to include(expected)
expected {"bootstrap" => {"dcs" => {"loop_wait" => 10, "master_start_timeout" => 300, "maximum_lag_on_failover" => 10485...ope" => "testscope", "watchdog" => {"device" => "/dev/watchdog", "mode" => "automatic", "safety_margin" => 5}} to include {"standby_cluster" => {"host" => "127.0.0.1", "port" => "5432", "primary_slot_name" => "patroni"}}
Diff:
@@ -1,7 +1,13 @@
-"standby_cluster" => {"host"=>"127.0.0.1", "port"=>"5432", "primary_slot_name"=>"patroni"},
+"bootstrap" => {"dcs"=>{"loop_wait"=>10, "master_start_timeout"=>300, "maximum_lag_on_failover"=>1048576, "postgresql"=>{"use_pg_rewind"=>true, "use_slots"=>true}, "retry_timeout"=>10, "standby_cluster"=>{"host"=>"127.0.0.1", "port"=>5432, "primary_slot_name"=>"patroni"}, "synchronous_mode"=>false, "synchronous_mode_strict"=>false, "ttl"=>30}, "initdb"=>["data-checksums", {"encoding"=>"UTF8"}, {"locale"=>"en_US.utf8"}], "method"=>"initdb", "pg_hba"=>["host all all 0.0.0.0/0 md5", "host replication rep_user 0.0.0.0/0 md5"]},
+"name" => "localhost",
+"namespace" => "/service/",
+"postgresql" => {"authentication"=>{"replication"=>{"password"=>"changeme", "username"=>"rep_user"}, "superuser"=>{"password"=>"changeme", "username"=>"postgres"}}, "bin_dir"=>"/usr/pgsql-9.6/bin", "connect_address"=>"localhost:5432", "create_replica_methods"=>["basebackup"], "data_dir"=>"/var/lib/pgsql/9.6/data", "listen"=>"0.0.0.0:5432", "pg_ctl_timeout"=>60, "pgpass"=>"/tmp/pgpass0", "remove_data_directory_on_rewind_failure"=>false, "use_pg_rewind"=>true, "use_unix_socket"=>false},
+"restapi" => {"connect_address"=>"localhost:8008", "listen"=>"0.0.0.0:8008"},
+"scope" => "testscope",
+"watchdog" => {"device"=>"/dev/watchdog", "mode"=>"automatic", "safety_margin"=>5},
|
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures.yml):
spec/classes/patroni_spec.rb#L291
patroni on redhat-8-x86_64 is_standby => true has valid config
Failure/Error: expect(config).to include(expected)
expected {"bootstrap" => {"dcs" => {"loop_wait" => 10, "master_start_timeout" => 300, "maximum_lag_on_failover" => 10485...ope" => "testscope", "watchdog" => {"device" => "/dev/watchdog", "mode" => "automatic", "safety_margin" => 5}} to include {"standby_cluster" => {"host" => "127.0.0.1", "port" => "5432", "primary_slot_name" => "patroni"}}
Diff:
@@ -1,7 +1,13 @@
-"standby_cluster" => {"host"=>"127.0.0.1", "port"=>"5432", "primary_slot_name"=>"patroni"},
+"bootstrap" => {"dcs"=>{"loop_wait"=>10, "master_start_timeout"=>300, "maximum_lag_on_failover"=>1048576, "postgresql"=>{"use_pg_rewind"=>true, "use_slots"=>true}, "retry_timeout"=>10, "standby_cluster"=>{"host"=>"127.0.0.1", "port"=>5432, "primary_slot_name"=>"patroni"}, "synchronous_mode"=>false, "synchronous_mode_strict"=>false, "ttl"=>30}, "initdb"=>["data-checksums", {"encoding"=>"UTF8"}, {"locale"=>"en_US.utf8"}], "method"=>"initdb", "pg_hba"=>["host all all 0.0.0.0/0 md5", "host replication rep_user 0.0.0.0/0 md5"]},
+"name" => "localhost",
+"namespace" => "/service/",
+"postgresql" => {"authentication"=>{"replication"=>{"password"=>"changeme", "username"=>"rep_user"}, "superuser"=>{"password"=>"changeme", "username"=>"postgres"}}, "bin_dir"=>"/usr/bin", "connect_address"=>"localhost:5432", "create_replica_methods"=>["basebackup"], "data_dir"=>"/var/lib/pgsql/data", "listen"=>"0.0.0.0:5432", "pg_ctl_timeout"=>60, "pgpass"=>"/tmp/pgpass0", "remove_data_directory_on_rewind_failure"=>false, "use_pg_rewind"=>true, "use_unix_socket"=>false},
+"restapi" => {"connect_address"=>"localhost:8008", "listen"=>"0.0.0.0:8008"},
+"scope" => "testscope",
+"watchdog" => {"device"=>"/dev/watchdog", "mode"=>"automatic", "safety_margin"=>5},
|
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures.yml):
spec/classes/patroni_spec.rb#L291
patroni on redhat-9-x86_64 is_standby => true has valid config
Failure/Error: expect(config).to include(expected)
expected {"bootstrap" => {"dcs" => {"loop_wait" => 10, "master_start_timeout" => 300, "maximum_lag_on_failover" => 10485...ope" => "testscope", "watchdog" => {"device" => "/dev/watchdog", "mode" => "automatic", "safety_margin" => 5}} to include {"standby_cluster" => {"host" => "127.0.0.1", "port" => "5432", "primary_slot_name" => "patroni"}}
Diff:
@@ -1,7 +1,13 @@
-"standby_cluster" => {"host"=>"127.0.0.1", "port"=>"5432", "primary_slot_name"=>"patroni"},
+"bootstrap" => {"dcs"=>{"loop_wait"=>10, "master_start_timeout"=>300, "maximum_lag_on_failover"=>1048576, "postgresql"=>{"use_pg_rewind"=>true, "use_slots"=>true}, "retry_timeout"=>10, "standby_cluster"=>{"host"=>"127.0.0.1", "port"=>5432, "primary_slot_name"=>"patroni"}, "synchronous_mode"=>false, "synchronous_mode_strict"=>false, "ttl"=>30}, "initdb"=>["data-checksums", {"encoding"=>"UTF8"}, {"locale"=>"en_US.utf8"}], "method"=>"initdb", "pg_hba"=>["host all all 0.0.0.0/0 md5", "host replication rep_user 0.0.0.0/0 md5"]},
+"name" => "localhost",
+"namespace" => "/service/",
+"postgresql" => {"authentication"=>{"replication"=>{"password"=>"changeme", "username"=>"rep_user"}, "superuser"=>{"password"=>"changeme", "username"=>"postgres"}}, "bin_dir"=>"/usr/bin", "connect_address"=>"localhost:5432", "create_replica_methods"=>["basebackup"], "data_dir"=>"/var/lib/pgsql/data", "listen"=>"0.0.0.0:5432", "pg_ctl_timeout"=>60, "pgpass"=>"/tmp/pgpass0", "remove_data_directory_on_rewind_failure"=>false, "use_pg_rewind"=>true, "use_unix_socket"=>false},
+"restapi" => {"connect_address"=>"localhost:8008", "listen"=>"0.0.0.0:8008"},
+"scope" => "testscope",
+"watchdog" => {"device"=>"/dev/watchdog", "mode"=>"automatic", "safety_margin"=>5},
|
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures.yml):
spec/classes/patroni_spec.rb#L291
patroni on ubuntu-20.04-x86_64 is_standby => true has valid config
Failure/Error: expect(config).to include(expected)
expected {"bootstrap" => {"dcs" => {"loop_wait" => 10, "master_start_timeout" => 300, "maximum_lag_on_failover" => 10485...ope" => "testscope", "watchdog" => {"device" => "/dev/watchdog", "mode" => "automatic", "safety_margin" => 5}} to include {"standby_cluster" => {"host" => "127.0.0.1", "port" => "5432", "primary_slot_name" => "patroni"}}
Diff:
@@ -1,7 +1,13 @@
-"standby_cluster" => {"host"=>"127.0.0.1", "port"=>"5432", "primary_slot_name"=>"patroni"},
+"bootstrap" => {"dcs"=>{"loop_wait"=>10, "master_start_timeout"=>300, "maximum_lag_on_failover"=>1048576, "postgresql"=>{"use_pg_rewind"=>true, "use_slots"=>true}, "retry_timeout"=>10, "standby_cluster"=>{"host"=>"127.0.0.1", "port"=>5432, "primary_slot_name"=>"patroni"}, "synchronous_mode"=>false, "synchronous_mode_strict"=>false, "ttl"=>30}, "initdb"=>["data-checksums", {"encoding"=>"UTF8"}, {"locale"=>"en_US.utf8"}], "method"=>"initdb", "pg_hba"=>["host all all 0.0.0.0/0 md5", "host replication rep_user 0.0.0.0/0 md5"]},
+"name" => "localhost",
+"namespace" => "/service/",
+"postgresql" => {"authentication"=>{"replication"=>{"password"=>"changeme", "username"=>"rep_user"}, "superuser"=>{"password"=>"changeme", "username"=>"postgres"}}, "bin_dir"=>"/usr/lib/postgresql/12/bin", "connect_address"=>"localhost:5432", "create_replica_methods"=>["basebackup"], "data_dir"=>"/var/lib/postgresql/12/main", "listen"=>"0.0.0.0:5432", "pg_ctl_timeout"=>60, "pgpass"=>"/tmp/pgpass0", "remove_data_directory_on_rewind_failure"=>false, "use_pg_rewind"=>true, "use_unix_socket"=>false},
+"restapi" => {"connect_address"=>"localhost:8008", "listen"=>"0.0.0.0:8008"},
+"scope" => "testscope",
+"watchdog" => {"device"=>"/dev/watchdog", "mode"=>"automatic", "safety_margin"=>5},
|
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures.yml):
spec/classes/patroni_spec.rb#L291
patroni on ubuntu-22.04-x86_64 is_standby => true has valid config
Failure/Error: expect(config).to include(expected)
expected {"bootstrap" => {"dcs" => {"loop_wait" => 10, "master_start_timeout" => 300, "maximum_lag_on_failover" => 10485...ope" => "testscope", "watchdog" => {"device" => "/dev/watchdog", "mode" => "automatic", "safety_margin" => 5}} to include {"standby_cluster" => {"host" => "127.0.0.1", "port" => "5432", "primary_slot_name" => "patroni"}}
Diff:
@@ -1,7 +1,13 @@
-"standby_cluster" => {"host"=>"127.0.0.1", "port"=>"5432", "primary_slot_name"=>"patroni"},
+"bootstrap" => {"dcs"=>{"loop_wait"=>10, "master_start_timeout"=>300, "maximum_lag_on_failover"=>1048576, "postgresql"=>{"use_pg_rewind"=>true, "use_slots"=>true}, "retry_timeout"=>10, "standby_cluster"=>{"host"=>"127.0.0.1", "port"=>5432, "primary_slot_name"=>"patroni"}, "synchronous_mode"=>false, "synchronous_mode_strict"=>false, "ttl"=>30}, "initdb"=>["data-checksums", {"encoding"=>"UTF8"}, {"locale"=>"en_US.utf8"}], "method"=>"initdb", "pg_hba"=>["host all all 0.0.0.0/0 md5", "host replication rep_user 0.0.0.0/0 md5"]},
+"name" => "localhost",
+"namespace" => "/service/",
+"postgresql" => {"authentication"=>{"replication"=>{"password"=>"changeme", "username"=>"rep_user"}, "superuser"=>{"password"=>"changeme", "username"=>"postgres"}}, "bin_dir"=>"/usr/lib/postgresql/14/bin", "connect_address"=>"localhost:5432", "create_replica_methods"=>["basebackup"], "data_dir"=>"/var/lib/postgresql/14/main", "listen"=>"0.0.0.0:5432", "pg_ctl_timeout"=>60, "pgpass"=>"/tmp/pgpass0", "remove_data_directory_on_rewind_failure"=>false, "use_pg_rewind"=>true, "use_unix_socket"=>false},
+"restapi" => {"connect_address"=>"localhost:8008", "listen"=>"0.0.0.0:8008"},
+"scope" => "testscope",
+"watchdog" => {"device"=>"/dev/watchdog", "mode"=>"automatic", "safety_margin"=>5},
|
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures.yml)
Process completed with exit code 1.
|
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures-latest.yml):
spec/classes/patroni_spec.rb#L291
patroni on debian-11-x86_64 is_standby => true has valid config
Failure/Error: expect(config).to include(expected)
expected {"bootstrap" => {"dcs" => {"loop_wait" => 10, "master_start_timeout" => 300, "maximum_lag_on_failover" => 10485...ope" => "testscope", "watchdog" => {"device" => "/dev/watchdog", "mode" => "automatic", "safety_margin" => 5}} to include {"standby_cluster" => {"host" => "127.0.0.1", "port" => "5432", "primary_slot_name" => "patroni"}}
Diff:
@@ -1,7 +1,13 @@
-"standby_cluster" => {"host"=>"127.0.0.1", "port"=>"5432", "primary_slot_name"=>"patroni"},
+"bootstrap" => {"dcs"=>{"loop_wait"=>10, "master_start_timeout"=>300, "maximum_lag_on_failover"=>1048576, "postgresql"=>{"use_pg_rewind"=>true, "use_slots"=>true}, "retry_timeout"=>10, "standby_cluster"=>{"host"=>"127.0.0.1", "port"=>5432, "primary_slot_name"=>"patroni"}, "synchronous_mode"=>false, "synchronous_mode_strict"=>false, "ttl"=>30}, "initdb"=>["data-checksums", {"encoding"=>"UTF8"}, {"locale"=>"en_US.utf8"}], "method"=>"initdb", "pg_hba"=>["host all all 0.0.0.0/0 md5", "host replication rep_user 0.0.0.0/0 md5"]},
+"name" => "localhost",
+"namespace" => "/service/",
+"postgresql" => {"authentication"=>{"replication"=>{"password"=>"changeme", "username"=>"rep_user"}, "superuser"=>{"password"=>"changeme", "username"=>"postgres"}}, "bin_dir"=>"/usr/lib/postgresql/13/bin", "connect_address"=>"localhost:5432", "create_replica_methods"=>["basebackup"], "data_dir"=>"/var/lib/postgresql/13/main", "listen"=>"0.0.0.0:5432", "pg_ctl_timeout"=>60, "pgpass"=>"/tmp/pgpass0", "remove_data_directory_on_rewind_failure"=>false, "use_pg_rewind"=>true, "use_unix_socket"=>false},
+"restapi" => {"connect_address"=>"localhost:8008", "listen"=>"0.0.0.0:8008"},
+"scope" => "testscope",
+"watchdog" => {"device"=>"/dev/watchdog", "mode"=>"automatic", "safety_margin"=>5},
|
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures-latest.yml):
spec/classes/patroni_spec.rb#L291
patroni on redhat-7-x86_64 is_standby => true has valid config
Failure/Error: expect(config).to include(expected)
expected {"bootstrap" => {"dcs" => {"loop_wait" => 10, "master_start_timeout" => 300, "maximum_lag_on_failover" => 10485...ope" => "testscope", "watchdog" => {"device" => "/dev/watchdog", "mode" => "automatic", "safety_margin" => 5}} to include {"standby_cluster" => {"host" => "127.0.0.1", "port" => "5432", "primary_slot_name" => "patroni"}}
Diff:
@@ -1,7 +1,13 @@
-"standby_cluster" => {"host"=>"127.0.0.1", "port"=>"5432", "primary_slot_name"=>"patroni"},
+"bootstrap" => {"dcs"=>{"loop_wait"=>10, "master_start_timeout"=>300, "maximum_lag_on_failover"=>1048576, "postgresql"=>{"use_pg_rewind"=>true, "use_slots"=>true}, "retry_timeout"=>10, "standby_cluster"=>{"host"=>"127.0.0.1", "port"=>5432, "primary_slot_name"=>"patroni"}, "synchronous_mode"=>false, "synchronous_mode_strict"=>false, "ttl"=>30}, "initdb"=>["data-checksums", {"encoding"=>"UTF8"}, {"locale"=>"en_US.utf8"}], "method"=>"initdb", "pg_hba"=>["host all all 0.0.0.0/0 md5", "host replication rep_user 0.0.0.0/0 md5"]},
+"name" => "localhost",
+"namespace" => "/service/",
+"postgresql" => {"authentication"=>{"replication"=>{"password"=>"changeme", "username"=>"rep_user"}, "superuser"=>{"password"=>"changeme", "username"=>"postgres"}}, "bin_dir"=>"/usr/pgsql-9.6/bin", "connect_address"=>"localhost:5432", "create_replica_methods"=>["basebackup"], "data_dir"=>"/var/lib/pgsql/9.6/data", "listen"=>"0.0.0.0:5432", "pg_ctl_timeout"=>60, "pgpass"=>"/tmp/pgpass0", "remove_data_directory_on_rewind_failure"=>false, "use_pg_rewind"=>true, "use_unix_socket"=>false},
+"restapi" => {"connect_address"=>"localhost:8008", "listen"=>"0.0.0.0:8008"},
+"scope" => "testscope",
+"watchdog" => {"device"=>"/dev/watchdog", "mode"=>"automatic", "safety_margin"=>5},
|
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures-latest.yml):
spec/classes/patroni_spec.rb#L291
patroni on redhat-8-x86_64 is_standby => true has valid config
Failure/Error: expect(config).to include(expected)
expected {"bootstrap" => {"dcs" => {"loop_wait" => 10, "master_start_timeout" => 300, "maximum_lag_on_failover" => 10485...ope" => "testscope", "watchdog" => {"device" => "/dev/watchdog", "mode" => "automatic", "safety_margin" => 5}} to include {"standby_cluster" => {"host" => "127.0.0.1", "port" => "5432", "primary_slot_name" => "patroni"}}
Diff:
@@ -1,7 +1,13 @@
-"standby_cluster" => {"host"=>"127.0.0.1", "port"=>"5432", "primary_slot_name"=>"patroni"},
+"bootstrap" => {"dcs"=>{"loop_wait"=>10, "master_start_timeout"=>300, "maximum_lag_on_failover"=>1048576, "postgresql"=>{"use_pg_rewind"=>true, "use_slots"=>true}, "retry_timeout"=>10, "standby_cluster"=>{"host"=>"127.0.0.1", "port"=>5432, "primary_slot_name"=>"patroni"}, "synchronous_mode"=>false, "synchronous_mode_strict"=>false, "ttl"=>30}, "initdb"=>["data-checksums", {"encoding"=>"UTF8"}, {"locale"=>"en_US.utf8"}], "method"=>"initdb", "pg_hba"=>["host all all 0.0.0.0/0 md5", "host replication rep_user 0.0.0.0/0 md5"]},
+"name" => "localhost",
+"namespace" => "/service/",
+"postgresql" => {"authentication"=>{"replication"=>{"password"=>"changeme", "username"=>"rep_user"}, "superuser"=>{"password"=>"changeme", "username"=>"postgres"}}, "bin_dir"=>"/usr/bin", "connect_address"=>"localhost:5432", "create_replica_methods"=>["basebackup"], "data_dir"=>"/var/lib/pgsql/data", "listen"=>"0.0.0.0:5432", "pg_ctl_timeout"=>60, "pgpass"=>"/tmp/pgpass0", "remove_data_directory_on_rewind_failure"=>false, "use_pg_rewind"=>true, "use_unix_socket"=>false},
+"restapi" => {"connect_address"=>"localhost:8008", "listen"=>"0.0.0.0:8008"},
+"scope" => "testscope",
+"watchdog" => {"device"=>"/dev/watchdog", "mode"=>"automatic", "safety_margin"=>5},
|
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures-latest.yml):
spec/classes/patroni_spec.rb#L291
patroni on redhat-9-x86_64 is_standby => true has valid config
Failure/Error: expect(config).to include(expected)
expected {"bootstrap" => {"dcs" => {"loop_wait" => 10, "master_start_timeout" => 300, "maximum_lag_on_failover" => 10485...ope" => "testscope", "watchdog" => {"device" => "/dev/watchdog", "mode" => "automatic", "safety_margin" => 5}} to include {"standby_cluster" => {"host" => "127.0.0.1", "port" => "5432", "primary_slot_name" => "patroni"}}
Diff:
@@ -1,7 +1,13 @@
-"standby_cluster" => {"host"=>"127.0.0.1", "port"=>"5432", "primary_slot_name"=>"patroni"},
+"bootstrap" => {"dcs"=>{"loop_wait"=>10, "master_start_timeout"=>300, "maximum_lag_on_failover"=>1048576, "postgresql"=>{"use_pg_rewind"=>true, "use_slots"=>true}, "retry_timeout"=>10, "standby_cluster"=>{"host"=>"127.0.0.1", "port"=>5432, "primary_slot_name"=>"patroni"}, "synchronous_mode"=>false, "synchronous_mode_strict"=>false, "ttl"=>30}, "initdb"=>["data-checksums", {"encoding"=>"UTF8"}, {"locale"=>"en_US.utf8"}], "method"=>"initdb", "pg_hba"=>["host all all 0.0.0.0/0 md5", "host replication rep_user 0.0.0.0/0 md5"]},
+"name" => "localhost",
+"namespace" => "/service/",
+"postgresql" => {"authentication"=>{"replication"=>{"password"=>"changeme", "username"=>"rep_user"}, "superuser"=>{"password"=>"changeme", "username"=>"postgres"}}, "bin_dir"=>"/usr/bin", "connect_address"=>"localhost:5432", "create_replica_methods"=>["basebackup"], "data_dir"=>"/var/lib/pgsql/data", "listen"=>"0.0.0.0:5432", "pg_ctl_timeout"=>60, "pgpass"=>"/tmp/pgpass0", "remove_data_directory_on_rewind_failure"=>false, "use_pg_rewind"=>true, "use_unix_socket"=>false},
+"restapi" => {"connect_address"=>"localhost:8008", "listen"=>"0.0.0.0:8008"},
+"scope" => "testscope",
+"watchdog" => {"device"=>"/dev/watchdog", "mode"=>"automatic", "safety_margin"=>5},
|
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures-latest.yml):
spec/classes/patroni_spec.rb#L291
patroni on ubuntu-20.04-x86_64 is_standby => true has valid config
Failure/Error: expect(config).to include(expected)
expected {"bootstrap" => {"dcs" => {"loop_wait" => 10, "master_start_timeout" => 300, "maximum_lag_on_failover" => 10485...ope" => "testscope", "watchdog" => {"device" => "/dev/watchdog", "mode" => "automatic", "safety_margin" => 5}} to include {"standby_cluster" => {"host" => "127.0.0.1", "port" => "5432", "primary_slot_name" => "patroni"}}
Diff:
@@ -1,7 +1,13 @@
-"standby_cluster" => {"host"=>"127.0.0.1", "port"=>"5432", "primary_slot_name"=>"patroni"},
+"bootstrap" => {"dcs"=>{"loop_wait"=>10, "master_start_timeout"=>300, "maximum_lag_on_failover"=>1048576, "postgresql"=>{"use_pg_rewind"=>true, "use_slots"=>true}, "retry_timeout"=>10, "standby_cluster"=>{"host"=>"127.0.0.1", "port"=>5432, "primary_slot_name"=>"patroni"}, "synchronous_mode"=>false, "synchronous_mode_strict"=>false, "ttl"=>30}, "initdb"=>["data-checksums", {"encoding"=>"UTF8"}, {"locale"=>"en_US.utf8"}], "method"=>"initdb", "pg_hba"=>["host all all 0.0.0.0/0 md5", "host replication rep_user 0.0.0.0/0 md5"]},
+"name" => "localhost",
+"namespace" => "/service/",
+"postgresql" => {"authentication"=>{"replication"=>{"password"=>"changeme", "username"=>"rep_user"}, "superuser"=>{"password"=>"changeme", "username"=>"postgres"}}, "bin_dir"=>"/usr/lib/postgresql/12/bin", "connect_address"=>"localhost:5432", "create_replica_methods"=>["basebackup"], "data_dir"=>"/var/lib/postgresql/12/main", "listen"=>"0.0.0.0:5432", "pg_ctl_timeout"=>60, "pgpass"=>"/tmp/pgpass0", "remove_data_directory_on_rewind_failure"=>false, "use_pg_rewind"=>true, "use_unix_socket"=>false},
+"restapi" => {"connect_address"=>"localhost:8008", "listen"=>"0.0.0.0:8008"},
+"scope" => "testscope",
+"watchdog" => {"device"=>"/dev/watchdog", "mode"=>"automatic", "safety_margin"=>5},
|
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures-latest.yml):
spec/classes/patroni_spec.rb#L291
patroni on ubuntu-22.04-x86_64 is_standby => true has valid config
Failure/Error: expect(config).to include(expected)
expected {"bootstrap" => {"dcs" => {"loop_wait" => 10, "master_start_timeout" => 300, "maximum_lag_on_failover" => 10485...ope" => "testscope", "watchdog" => {"device" => "/dev/watchdog", "mode" => "automatic", "safety_margin" => 5}} to include {"standby_cluster" => {"host" => "127.0.0.1", "port" => "5432", "primary_slot_name" => "patroni"}}
Diff:
@@ -1,7 +1,13 @@
-"standby_cluster" => {"host"=>"127.0.0.1", "port"=>"5432", "primary_slot_name"=>"patroni"},
+"bootstrap" => {"dcs"=>{"loop_wait"=>10, "master_start_timeout"=>300, "maximum_lag_on_failover"=>1048576, "postgresql"=>{"use_pg_rewind"=>true, "use_slots"=>true}, "retry_timeout"=>10, "standby_cluster"=>{"host"=>"127.0.0.1", "port"=>5432, "primary_slot_name"=>"patroni"}, "synchronous_mode"=>false, "synchronous_mode_strict"=>false, "ttl"=>30}, "initdb"=>["data-checksums", {"encoding"=>"UTF8"}, {"locale"=>"en_US.utf8"}], "method"=>"initdb", "pg_hba"=>["host all all 0.0.0.0/0 md5", "host replication rep_user 0.0.0.0/0 md5"]},
+"name" => "localhost",
+"namespace" => "/service/",
+"postgresql" => {"authentication"=>{"replication"=>{"password"=>"changeme", "username"=>"rep_user"}, "superuser"=>{"password"=>"changeme", "username"=>"postgres"}}, "bin_dir"=>"/usr/lib/postgresql/14/bin", "connect_address"=>"localhost:5432", "create_replica_methods"=>["basebackup"], "data_dir"=>"/var/lib/postgresql/14/main", "listen"=>"0.0.0.0:5432", "pg_ctl_timeout"=>60, "pgpass"=>"/tmp/pgpass0", "remove_data_directory_on_rewind_failure"=>false, "use_pg_rewind"=>true, "use_unix_socket"=>false},
+"restapi" => {"connect_address"=>"localhost:8008", "listen"=>"0.0.0.0:8008"},
+"scope" => "testscope",
+"watchdog" => {"device"=>"/dev/watchdog", "mode"=>"automatic", "safety_margin"=>5},
|
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures-latest.yml)
Process completed with exit code 1.
|
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures.yml):
spec/classes/patroni_spec.rb#L291
patroni on ubuntu-22.04-x86_64 is_standby => true has valid config
Failure/Error: expect(config).to include(expected)
expected {"bootstrap" => {"dcs" => {"loop_wait" => 10, "master_start_timeout" => 300, "maximum_lag_on_failover" => 10485...ope" => "testscope", "watchdog" => {"device" => "/dev/watchdog", "mode" => "automatic", "safety_margin" => 5}} to include {"standby_cluster" => {"host" => "127.0.0.1", "port" => "5432", "primary_slot_name" => "patroni"}}
Diff:
@@ -1,7 +1,13 @@
-"standby_cluster" => {"host"=>"127.0.0.1", "port"=>"5432", "primary_slot_name"=>"patroni"},
+"bootstrap" => {"dcs"=>{"loop_wait"=>10, "master_start_timeout"=>300, "maximum_lag_on_failover"=>1048576, "postgresql"=>{"use_pg_rewind"=>true, "use_slots"=>true}, "retry_timeout"=>10, "standby_cluster"=>{"host"=>"127.0.0.1", "port"=>5432, "primary_slot_name"=>"patroni"}, "synchronous_mode"=>false, "synchronous_mode_strict"=>false, "ttl"=>30}, "initdb"=>["data-checksums", {"encoding"=>"UTF8"}, {"locale"=>"en_US.utf8"}], "method"=>"initdb", "pg_hba"=>["host all all 0.0.0.0/0 md5", "host replication rep_user 0.0.0.0/0 md5"]},
+"name" => "localhost",
+"namespace" => "/service/",
+"postgresql" => {"authentication"=>{"replication"=>{"password"=>"changeme", "username"=>"rep_user"}, "superuser"=>{"password"=>"changeme", "username"=>"postgres"}}, "bin_dir"=>"/usr/lib/postgresql/14/bin", "connect_address"=>"localhost:5432", "create_replica_methods"=>["basebackup"], "data_dir"=>"/var/lib/postgresql/14/main", "listen"=>"0.0.0.0:5432", "pg_ctl_timeout"=>60, "pgpass"=>"/tmp/pgpass0", "remove_data_directory_on_rewind_failure"=>false, "use_pg_rewind"=>true, "use_unix_socket"=>false},
+"restapi" => {"connect_address"=>"localhost:8008", "listen"=>"0.0.0.0:8008"},
+"scope" => "testscope",
+"watchdog" => {"device"=>"/dev/watchdog", "mode"=>"automatic", "safety_margin"=>5},
|
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures.yml):
spec/classes/patroni_spec.rb#L291
patroni on redhat-7-x86_64 is_standby => true has valid config
Failure/Error: expect(config).to include(expected)
expected {"bootstrap" => {"dcs" => {"loop_wait" => 10, "master_start_timeout" => 300, "maximum_lag_on_failover" => 10485...ope" => "testscope", "watchdog" => {"device" => "/dev/watchdog", "mode" => "automatic", "safety_margin" => 5}} to include {"standby_cluster" => {"host" => "127.0.0.1", "port" => "5432", "primary_slot_name" => "patroni"}}
Diff:
@@ -1,7 +1,13 @@
-"standby_cluster" => {"host"=>"127.0.0.1", "port"=>"5432", "primary_slot_name"=>"patroni"},
+"bootstrap" => {"dcs"=>{"loop_wait"=>10, "master_start_timeout"=>300, "maximum_lag_on_failover"=>1048576, "postgresql"=>{"use_pg_rewind"=>true, "use_slots"=>true}, "retry_timeout"=>10, "standby_cluster"=>{"host"=>"127.0.0.1", "port"=>5432, "primary_slot_name"=>"patroni"}, "synchronous_mode"=>false, "synchronous_mode_strict"=>false, "ttl"=>30}, "initdb"=>["data-checksums", {"encoding"=>"UTF8"}, {"locale"=>"en_US.utf8"}], "method"=>"initdb", "pg_hba"=>["host all all 0.0.0.0/0 md5", "host replication rep_user 0.0.0.0/0 md5"]},
+"name" => "localhost",
+"namespace" => "/service/",
+"postgresql" => {"authentication"=>{"replication"=>{"password"=>"changeme", "username"=>"rep_user"}, "superuser"=>{"password"=>"changeme", "username"=>"postgres"}}, "bin_dir"=>"/usr/pgsql-9.6/bin", "connect_address"=>"localhost:5432", "create_replica_methods"=>["basebackup"], "data_dir"=>"/var/lib/pgsql/9.6/data", "listen"=>"0.0.0.0:5432", "pg_ctl_timeout"=>60, "pgpass"=>"/tmp/pgpass0", "remove_data_directory_on_rewind_failure"=>false, "use_pg_rewind"=>true, "use_unix_socket"=>false},
+"restapi" => {"connect_address"=>"localhost:8008", "listen"=>"0.0.0.0:8008"},
+"scope" => "testscope",
+"watchdog" => {"device"=>"/dev/watchdog", "mode"=>"automatic", "safety_margin"=>5},
|
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures.yml):
spec/classes/patroni_spec.rb#L291
patroni on debian-11-x86_64 is_standby => true has valid config
Failure/Error: expect(config).to include(expected)
expected {"bootstrap" => {"dcs" => {"loop_wait" => 10, "master_start_timeout" => 300, "maximum_lag_on_failover" => 10485...ope" => "testscope", "watchdog" => {"device" => "/dev/watchdog", "mode" => "automatic", "safety_margin" => 5}} to include {"standby_cluster" => {"host" => "127.0.0.1", "port" => "5432", "primary_slot_name" => "patroni"}}
Diff:
@@ -1,7 +1,13 @@
-"standby_cluster" => {"host"=>"127.0.0.1", "port"=>"5432", "primary_slot_name"=>"patroni"},
+"bootstrap" => {"dcs"=>{"loop_wait"=>10, "master_start_timeout"=>300, "maximum_lag_on_failover"=>1048576, "postgresql"=>{"use_pg_rewind"=>true, "use_slots"=>true}, "retry_timeout"=>10, "standby_cluster"=>{"host"=>"127.0.0.1", "port"=>5432, "primary_slot_name"=>"patroni"}, "synchronous_mode"=>false, "synchronous_mode_strict"=>false, "ttl"=>30}, "initdb"=>["data-checksums", {"encoding"=>"UTF8"}, {"locale"=>"en_US.utf8"}], "method"=>"initdb", "pg_hba"=>["host all all 0.0.0.0/0 md5", "host replication rep_user 0.0.0.0/0 md5"]},
+"name" => "localhost",
+"namespace" => "/service/",
+"postgresql" => {"authentication"=>{"replication"=>{"password"=>"changeme", "username"=>"rep_user"}, "superuser"=>{"password"=>"changeme", "username"=>"postgres"}}, "bin_dir"=>"/usr/lib/postgresql/13/bin", "connect_address"=>"localhost:5432", "create_replica_methods"=>["basebackup"], "data_dir"=>"/var/lib/postgresql/13/main", "listen"=>"0.0.0.0:5432", "pg_ctl_timeout"=>60, "pgpass"=>"/tmp/pgpass0", "remove_data_directory_on_rewind_failure"=>false, "use_pg_rewind"=>true, "use_unix_socket"=>false},
+"restapi" => {"connect_address"=>"localhost:8008", "listen"=>"0.0.0.0:8008"},
+"scope" => "testscope",
+"watchdog" => {"device"=>"/dev/watchdog", "mode"=>"automatic", "safety_margin"=>5},
|
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures.yml):
spec/classes/patroni_spec.rb#L291
patroni on ubuntu-20.04-x86_64 is_standby => true has valid config
Failure/Error: expect(config).to include(expected)
expected {"bootstrap" => {"dcs" => {"loop_wait" => 10, "master_start_timeout" => 300, "maximum_lag_on_failover" => 10485...ope" => "testscope", "watchdog" => {"device" => "/dev/watchdog", "mode" => "automatic", "safety_margin" => 5}} to include {"standby_cluster" => {"host" => "127.0.0.1", "port" => "5432", "primary_slot_name" => "patroni"}}
Diff:
@@ -1,7 +1,13 @@
-"standby_cluster" => {"host"=>"127.0.0.1", "port"=>"5432", "primary_slot_name"=>"patroni"},
+"bootstrap" => {"dcs"=>{"loop_wait"=>10, "master_start_timeout"=>300, "maximum_lag_on_failover"=>1048576, "postgresql"=>{"use_pg_rewind"=>true, "use_slots"=>true}, "retry_timeout"=>10, "standby_cluster"=>{"host"=>"127.0.0.1", "port"=>5432, "primary_slot_name"=>"patroni"}, "synchronous_mode"=>false, "synchronous_mode_strict"=>false, "ttl"=>30}, "initdb"=>["data-checksums", {"encoding"=>"UTF8"}, {"locale"=>"en_US.utf8"}], "method"=>"initdb", "pg_hba"=>["host all all 0.0.0.0/0 md5", "host replication rep_user 0.0.0.0/0 md5"]},
+"name" => "localhost",
+"namespace" => "/service/",
+"postgresql" => {"authentication"=>{"replication"=>{"password"=>"changeme", "username"=>"rep_user"}, "superuser"=>{"password"=>"changeme", "username"=>"postgres"}}, "bin_dir"=>"/usr/lib/postgresql/12/bin", "connect_address"=>"localhost:5432", "create_replica_methods"=>["basebackup"], "data_dir"=>"/var/lib/postgresql/12/main", "listen"=>"0.0.0.0:5432", "pg_ctl_timeout"=>60, "pgpass"=>"/tmp/pgpass0", "remove_data_directory_on_rewind_failure"=>false, "use_pg_rewind"=>true, "use_unix_socket"=>false},
+"restapi" => {"connect_address"=>"localhost:8008", "listen"=>"0.0.0.0:8008"},
+"scope" => "testscope",
+"watchdog" => {"device"=>"/dev/watchdog", "mode"=>"automatic", "safety_margin"=>5},
|
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures.yml):
spec/classes/patroni_spec.rb#L291
patroni on redhat-9-x86_64 is_standby => true has valid config
Failure/Error: expect(config).to include(expected)
expected {"bootstrap" => {"dcs" => {"loop_wait" => 10, "master_start_timeout" => 300, "maximum_lag_on_failover" => 10485...ope" => "testscope", "watchdog" => {"device" => "/dev/watchdog", "mode" => "automatic", "safety_margin" => 5}} to include {"standby_cluster" => {"host" => "127.0.0.1", "port" => "5432", "primary_slot_name" => "patroni"}}
Diff:
@@ -1,7 +1,13 @@
-"standby_cluster" => {"host"=>"127.0.0.1", "port"=>"5432", "primary_slot_name"=>"patroni"},
+"bootstrap" => {"dcs"=>{"loop_wait"=>10, "master_start_timeout"=>300, "maximum_lag_on_failover"=>1048576, "postgresql"=>{"use_pg_rewind"=>true, "use_slots"=>true}, "retry_timeout"=>10, "standby_cluster"=>{"host"=>"127.0.0.1", "port"=>5432, "primary_slot_name"=>"patroni"}, "synchronous_mode"=>false, "synchronous_mode_strict"=>false, "ttl"=>30}, "initdb"=>["data-checksums", {"encoding"=>"UTF8"}, {"locale"=>"en_US.utf8"}], "method"=>"initdb", "pg_hba"=>["host all all 0.0.0.0/0 md5", "host replication rep_user 0.0.0.0/0 md5"]},
+"name" => "localhost",
+"namespace" => "/service/",
+"postgresql" => {"authentication"=>{"replication"=>{"password"=>"changeme", "username"=>"rep_user"}, "superuser"=>{"password"=>"changeme", "username"=>"postgres"}}, "bin_dir"=>"/usr/bin", "connect_address"=>"localhost:5432", "create_replica_methods"=>["basebackup"], "data_dir"=>"/var/lib/pgsql/data", "listen"=>"0.0.0.0:5432", "pg_ctl_timeout"=>60, "pgpass"=>"/tmp/pgpass0", "remove_data_directory_on_rewind_failure"=>false, "use_pg_rewind"=>true, "use_unix_socket"=>false},
+"restapi" => {"connect_address"=>"localhost:8008", "listen"=>"0.0.0.0:8008"},
+"scope" => "testscope",
+"watchdog" => {"device"=>"/dev/watchdog", "mode"=>"automatic", "safety_margin"=>5},
|
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures.yml):
spec/classes/patroni_spec.rb#L291
patroni on redhat-8-x86_64 is_standby => true has valid config
Failure/Error: expect(config).to include(expected)
expected {"bootstrap" => {"dcs" => {"loop_wait" => 10, "master_start_timeout" => 300, "maximum_lag_on_failover" => 10485...ope" => "testscope", "watchdog" => {"device" => "/dev/watchdog", "mode" => "automatic", "safety_margin" => 5}} to include {"standby_cluster" => {"host" => "127.0.0.1", "port" => "5432", "primary_slot_name" => "patroni"}}
Diff:
@@ -1,7 +1,13 @@
-"standby_cluster" => {"host"=>"127.0.0.1", "port"=>"5432", "primary_slot_name"=>"patroni"},
+"bootstrap" => {"dcs"=>{"loop_wait"=>10, "master_start_timeout"=>300, "maximum_lag_on_failover"=>1048576, "postgresql"=>{"use_pg_rewind"=>true, "use_slots"=>true}, "retry_timeout"=>10, "standby_cluster"=>{"host"=>"127.0.0.1", "port"=>5432, "primary_slot_name"=>"patroni"}, "synchronous_mode"=>false, "synchronous_mode_strict"=>false, "ttl"=>30}, "initdb"=>["data-checksums", {"encoding"=>"UTF8"}, {"locale"=>"en_US.utf8"}], "method"=>"initdb", "pg_hba"=>["host all all 0.0.0.0/0 md5", "host replication rep_user 0.0.0.0/0 md5"]},
+"name" => "localhost",
+"namespace" => "/service/",
+"postgresql" => {"authentication"=>{"replication"=>{"password"=>"changeme", "username"=>"rep_user"}, "superuser"=>{"password"=>"changeme", "username"=>"postgres"}}, "bin_dir"=>"/usr/bin", "connect_address"=>"localhost:5432", "create_replica_methods"=>["basebackup"], "data_dir"=>"/var/lib/pgsql/data", "listen"=>"0.0.0.0:5432", "pg_ctl_timeout"=>60, "pgpass"=>"/tmp/pgpass0", "remove_data_directory_on_rewind_failure"=>false, "use_pg_rewind"=>true, "use_unix_socket"=>false},
+"restapi" => {"connect_address"=>"localhost:8008", "listen"=>"0.0.0.0:8008"},
+"scope" => "testscope",
+"watchdog" => {"device"=>"/dev/watchdog", "mode"=>"automatic", "safety_margin"=>5},
|
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures.yml)
Process completed with exit code 1.
|
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures-latest.yml):
spec/classes/patroni_spec.rb#L291
patroni on ubuntu-22.04-x86_64 is_standby => true has valid config
Failure/Error: expect(config).to include(expected)
expected {"bootstrap" => {"dcs" => {"loop_wait" => 10, "master_start_timeout" => 300, "maximum_lag_on_failover" => 10485...ope" => "testscope", "watchdog" => {"device" => "/dev/watchdog", "mode" => "automatic", "safety_margin" => 5}} to include {"standby_cluster" => {"host" => "127.0.0.1", "port" => "5432", "primary_slot_name" => "patroni"}}
Diff:
@@ -1,7 +1,13 @@
-"standby_cluster" => {"host"=>"127.0.0.1", "port"=>"5432", "primary_slot_name"=>"patroni"},
+"bootstrap" => {"dcs"=>{"loop_wait"=>10, "master_start_timeout"=>300, "maximum_lag_on_failover"=>1048576, "postgresql"=>{"use_pg_rewind"=>true, "use_slots"=>true}, "retry_timeout"=>10, "standby_cluster"=>{"host"=>"127.0.0.1", "port"=>5432, "primary_slot_name"=>"patroni"}, "synchronous_mode"=>false, "synchronous_mode_strict"=>false, "ttl"=>30}, "initdb"=>["data-checksums", {"encoding"=>"UTF8"}, {"locale"=>"en_US.utf8"}], "method"=>"initdb", "pg_hba"=>["host all all 0.0.0.0/0 md5", "host replication rep_user 0.0.0.0/0 md5"]},
+"name" => "localhost",
+"namespace" => "/service/",
+"postgresql" => {"authentication"=>{"replication"=>{"password"=>"changeme", "username"=>"rep_user"}, "superuser"=>{"password"=>"changeme", "username"=>"postgres"}}, "bin_dir"=>"/usr/lib/postgresql/14/bin", "connect_address"=>"localhost:5432", "create_replica_methods"=>["basebackup"], "data_dir"=>"/var/lib/postgresql/14/main", "listen"=>"0.0.0.0:5432", "pg_ctl_timeout"=>60, "pgpass"=>"/tmp/pgpass0", "remove_data_directory_on_rewind_failure"=>false, "use_pg_rewind"=>true, "use_unix_socket"=>false},
+"restapi" => {"connect_address"=>"localhost:8008", "listen"=>"0.0.0.0:8008"},
+"scope" => "testscope",
+"watchdog" => {"device"=>"/dev/watchdog", "mode"=>"automatic", "safety_margin"=>5},
|
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures-latest.yml):
spec/classes/patroni_spec.rb#L291
patroni on redhat-7-x86_64 is_standby => true has valid config
Failure/Error: expect(config).to include(expected)
expected {"bootstrap" => {"dcs" => {"loop_wait" => 10, "master_start_timeout" => 300, "maximum_lag_on_failover" => 10485...ope" => "testscope", "watchdog" => {"device" => "/dev/watchdog", "mode" => "automatic", "safety_margin" => 5}} to include {"standby_cluster" => {"host" => "127.0.0.1", "port" => "5432", "primary_slot_name" => "patroni"}}
Diff:
@@ -1,7 +1,13 @@
-"standby_cluster" => {"host"=>"127.0.0.1", "port"=>"5432", "primary_slot_name"=>"patroni"},
+"bootstrap" => {"dcs"=>{"loop_wait"=>10, "master_start_timeout"=>300, "maximum_lag_on_failover"=>1048576, "postgresql"=>{"use_pg_rewind"=>true, "use_slots"=>true}, "retry_timeout"=>10, "standby_cluster"=>{"host"=>"127.0.0.1", "port"=>5432, "primary_slot_name"=>"patroni"}, "synchronous_mode"=>false, "synchronous_mode_strict"=>false, "ttl"=>30}, "initdb"=>["data-checksums", {"encoding"=>"UTF8"}, {"locale"=>"en_US.utf8"}], "method"=>"initdb", "pg_hba"=>["host all all 0.0.0.0/0 md5", "host replication rep_user 0.0.0.0/0 md5"]},
+"name" => "localhost",
+"namespace" => "/service/",
+"postgresql" => {"authentication"=>{"replication"=>{"password"=>"changeme", "username"=>"rep_user"}, "superuser"=>{"password"=>"changeme", "username"=>"postgres"}}, "bin_dir"=>"/usr/pgsql-9.6/bin", "connect_address"=>"localhost:5432", "create_replica_methods"=>["basebackup"], "data_dir"=>"/var/lib/pgsql/9.6/data", "listen"=>"0.0.0.0:5432", "pg_ctl_timeout"=>60, "pgpass"=>"/tmp/pgpass0", "remove_data_directory_on_rewind_failure"=>false, "use_pg_rewind"=>true, "use_unix_socket"=>false},
+"restapi" => {"connect_address"=>"localhost:8008", "listen"=>"0.0.0.0:8008"},
+"scope" => "testscope",
+"watchdog" => {"device"=>"/dev/watchdog", "mode"=>"automatic", "safety_margin"=>5},
|
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures-latest.yml):
spec/classes/patroni_spec.rb#L291
patroni on debian-11-x86_64 is_standby => true has valid config
Failure/Error: expect(config).to include(expected)
expected {"bootstrap" => {"dcs" => {"loop_wait" => 10, "master_start_timeout" => 300, "maximum_lag_on_failover" => 10485...ope" => "testscope", "watchdog" => {"device" => "/dev/watchdog", "mode" => "automatic", "safety_margin" => 5}} to include {"standby_cluster" => {"host" => "127.0.0.1", "port" => "5432", "primary_slot_name" => "patroni"}}
Diff:
@@ -1,7 +1,13 @@
-"standby_cluster" => {"host"=>"127.0.0.1", "port"=>"5432", "primary_slot_name"=>"patroni"},
+"bootstrap" => {"dcs"=>{"loop_wait"=>10, "master_start_timeout"=>300, "maximum_lag_on_failover"=>1048576, "postgresql"=>{"use_pg_rewind"=>true, "use_slots"=>true}, "retry_timeout"=>10, "standby_cluster"=>{"host"=>"127.0.0.1", "port"=>5432, "primary_slot_name"=>"patroni"}, "synchronous_mode"=>false, "synchronous_mode_strict"=>false, "ttl"=>30}, "initdb"=>["data-checksums", {"encoding"=>"UTF8"}, {"locale"=>"en_US.utf8"}], "method"=>"initdb", "pg_hba"=>["host all all 0.0.0.0/0 md5", "host replication rep_user 0.0.0.0/0 md5"]},
+"name" => "localhost",
+"namespace" => "/service/",
+"postgresql" => {"authentication"=>{"replication"=>{"password"=>"changeme", "username"=>"rep_user"}, "superuser"=>{"password"=>"changeme", "username"=>"postgres"}}, "bin_dir"=>"/usr/lib/postgresql/13/bin", "connect_address"=>"localhost:5432", "create_replica_methods"=>["basebackup"], "data_dir"=>"/var/lib/postgresql/13/main", "listen"=>"0.0.0.0:5432", "pg_ctl_timeout"=>60, "pgpass"=>"/tmp/pgpass0", "remove_data_directory_on_rewind_failure"=>false, "use_pg_rewind"=>true, "use_unix_socket"=>false},
+"restapi" => {"connect_address"=>"localhost:8008", "listen"=>"0.0.0.0:8008"},
+"scope" => "testscope",
+"watchdog" => {"device"=>"/dev/watchdog", "mode"=>"automatic", "safety_margin"=>5},
|
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures-latest.yml):
spec/classes/patroni_spec.rb#L291
patroni on ubuntu-20.04-x86_64 is_standby => true has valid config
Failure/Error: expect(config).to include(expected)
expected {"bootstrap" => {"dcs" => {"loop_wait" => 10, "master_start_timeout" => 300, "maximum_lag_on_failover" => 10485...ope" => "testscope", "watchdog" => {"device" => "/dev/watchdog", "mode" => "automatic", "safety_margin" => 5}} to include {"standby_cluster" => {"host" => "127.0.0.1", "port" => "5432", "primary_slot_name" => "patroni"}}
Diff:
@@ -1,7 +1,13 @@
-"standby_cluster" => {"host"=>"127.0.0.1", "port"=>"5432", "primary_slot_name"=>"patroni"},
+"bootstrap" => {"dcs"=>{"loop_wait"=>10, "master_start_timeout"=>300, "maximum_lag_on_failover"=>1048576, "postgresql"=>{"use_pg_rewind"=>true, "use_slots"=>true}, "retry_timeout"=>10, "standby_cluster"=>{"host"=>"127.0.0.1", "port"=>5432, "primary_slot_name"=>"patroni"}, "synchronous_mode"=>false, "synchronous_mode_strict"=>false, "ttl"=>30}, "initdb"=>["data-checksums", {"encoding"=>"UTF8"}, {"locale"=>"en_US.utf8"}], "method"=>"initdb", "pg_hba"=>["host all all 0.0.0.0/0 md5", "host replication rep_user 0.0.0.0/0 md5"]},
+"name" => "localhost",
+"namespace" => "/service/",
+"postgresql" => {"authentication"=>{"replication"=>{"password"=>"changeme", "username"=>"rep_user"}, "superuser"=>{"password"=>"changeme", "username"=>"postgres"}}, "bin_dir"=>"/usr/lib/postgresql/12/bin", "connect_address"=>"localhost:5432", "create_replica_methods"=>["basebackup"], "data_dir"=>"/var/lib/postgresql/12/main", "listen"=>"0.0.0.0:5432", "pg_ctl_timeout"=>60, "pgpass"=>"/tmp/pgpass0", "remove_data_directory_on_rewind_failure"=>false, "use_pg_rewind"=>true, "use_unix_socket"=>false},
+"restapi" => {"connect_address"=>"localhost:8008", "listen"=>"0.0.0.0:8008"},
+"scope" => "testscope",
+"watchdog" => {"device"=>"/dev/watchdog", "mode"=>"automatic", "safety_margin"=>5},
|
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures-latest.yml):
spec/classes/patroni_spec.rb#L291
patroni on redhat-9-x86_64 is_standby => true has valid config
Failure/Error: expect(config).to include(expected)
expected {"bootstrap" => {"dcs" => {"loop_wait" => 10, "master_start_timeout" => 300, "maximum_lag_on_failover" => 10485...ope" => "testscope", "watchdog" => {"device" => "/dev/watchdog", "mode" => "automatic", "safety_margin" => 5}} to include {"standby_cluster" => {"host" => "127.0.0.1", "port" => "5432", "primary_slot_name" => "patroni"}}
Diff:
@@ -1,7 +1,13 @@
-"standby_cluster" => {"host"=>"127.0.0.1", "port"=>"5432", "primary_slot_name"=>"patroni"},
+"bootstrap" => {"dcs"=>{"loop_wait"=>10, "master_start_timeout"=>300, "maximum_lag_on_failover"=>1048576, "postgresql"=>{"use_pg_rewind"=>true, "use_slots"=>true}, "retry_timeout"=>10, "standby_cluster"=>{"host"=>"127.0.0.1", "port"=>5432, "primary_slot_name"=>"patroni"}, "synchronous_mode"=>false, "synchronous_mode_strict"=>false, "ttl"=>30}, "initdb"=>["data-checksums", {"encoding"=>"UTF8"}, {"locale"=>"en_US.utf8"}], "method"=>"initdb", "pg_hba"=>["host all all 0.0.0.0/0 md5", "host replication rep_user 0.0.0.0/0 md5"]},
+"name" => "localhost",
+"namespace" => "/service/",
+"postgresql" => {"authentication"=>{"replication"=>{"password"=>"changeme", "username"=>"rep_user"}, "superuser"=>{"password"=>"changeme", "username"=>"postgres"}}, "bin_dir"=>"/usr/bin", "connect_address"=>"localhost:5432", "create_replica_methods"=>["basebackup"], "data_dir"=>"/var/lib/pgsql/data", "listen"=>"0.0.0.0:5432", "pg_ctl_timeout"=>60, "pgpass"=>"/tmp/pgpass0", "remove_data_directory_on_rewind_failure"=>false, "use_pg_rewind"=>true, "use_unix_socket"=>false},
+"restapi" => {"connect_address"=>"localhost:8008", "listen"=>"0.0.0.0:8008"},
+"scope" => "testscope",
+"watchdog" => {"device"=>"/dev/watchdog", "mode"=>"automatic", "safety_margin"=>5},
|
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures-latest.yml):
spec/classes/patroni_spec.rb#L291
patroni on redhat-8-x86_64 is_standby => true has valid config
Failure/Error: expect(config).to include(expected)
expected {"bootstrap" => {"dcs" => {"loop_wait" => 10, "master_start_timeout" => 300, "maximum_lag_on_failover" => 10485...ope" => "testscope", "watchdog" => {"device" => "/dev/watchdog", "mode" => "automatic", "safety_margin" => 5}} to include {"standby_cluster" => {"host" => "127.0.0.1", "port" => "5432", "primary_slot_name" => "patroni"}}
Diff:
@@ -1,7 +1,13 @@
-"standby_cluster" => {"host"=>"127.0.0.1", "port"=>"5432", "primary_slot_name"=>"patroni"},
+"bootstrap" => {"dcs"=>{"loop_wait"=>10, "master_start_timeout"=>300, "maximum_lag_on_failover"=>1048576, "postgresql"=>{"use_pg_rewind"=>true, "use_slots"=>true}, "retry_timeout"=>10, "standby_cluster"=>{"host"=>"127.0.0.1", "port"=>5432, "primary_slot_name"=>"patroni"}, "synchronous_mode"=>false, "synchronous_mode_strict"=>false, "ttl"=>30}, "initdb"=>["data-checksums", {"encoding"=>"UTF8"}, {"locale"=>"en_US.utf8"}], "method"=>"initdb", "pg_hba"=>["host all all 0.0.0.0/0 md5", "host replication rep_user 0.0.0.0/0 md5"]},
+"name" => "localhost",
+"namespace" => "/service/",
+"postgresql" => {"authentication"=>{"replication"=>{"password"=>"changeme", "username"=>"rep_user"}, "superuser"=>{"password"=>"changeme", "username"=>"postgres"}}, "bin_dir"=>"/usr/bin", "connect_address"=>"localhost:5432", "create_replica_methods"=>["basebackup"], "data_dir"=>"/var/lib/pgsql/data", "listen"=>"0.0.0.0:5432", "pg_ctl_timeout"=>60, "pgpass"=>"/tmp/pgpass0", "remove_data_directory_on_rewind_failure"=>false, "use_pg_rewind"=>true, "use_unix_socket"=>false},
+"restapi" => {"connect_address"=>"localhost:8008", "listen"=>"0.0.0.0:8008"},
+"scope" => "testscope",
+"watchdog" => {"device"=>"/dev/watchdog", "mode"=>"automatic", "safety_margin"=>5},
|
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures-latest.yml)
Process completed with exit code 1.
|
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures.yml)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures-latest.yml)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures.yml)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures-latest.yml)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
acceptance (el8, puppet7)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
acceptance (el8, puppet8)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
acceptance (debian-11, puppet7)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
acceptance (el9, puppet7)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
acceptance (debian-11, puppet8)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
acceptance (el9, puppet8)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
acceptance (ubuntu-2204, puppet7)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
acceptance (ubuntu-2004, puppet7)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
acceptance (ubuntu-2204, puppet8)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
acceptance (ubuntu-2004, puppet8)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|