Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: puppetlabs/puppetlabs-postgresql
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v10.0.2
Choose a base ref
...
head repository: puppetlabs/puppetlabs-postgresql
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v10.0.3
Choose a head ref
  • 19 commits
  • 20 files changed
  • 9 contributors

Commits on Nov 11, 2023

  1. Unconfine postgresql_conf

    Ruby should be available on all platforms (bundled with AIO, and in any
    case required to run Puppet), so the provider should be functional
    everywhere.
    
    Fixes #1550
    smortex committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    cad6e4b View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2023

  1. Merge pull request #1551 from puppetlabs/unconfine-postgresql_conf

    Unconfine postgresql_conf
    ekohl authored Nov 14, 2023
    Configuration menu
    Copy the full SHA
    b387f65 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2023

  1. Configuration menu
    Copy the full SHA
    bd804b5 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2023

  1. Addressing review comments

    Ramesh7 committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    f54ab9c View commit details
    Browse the repository at this point in the history
  2. Merge pull request

    sha_of_the_head_commit
    malikparvez authored Nov 23, 2023
    Configuration menu
    Copy the full SHA
    25e45ee View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2023

  1. (#1556) Fix Python package name for Ubuntu >= 22.04 and Debian 12

    For Ubuntu 22.04 and Debian 12 and later the Python PostgreSQL package
    is called "python3-psycopg2" so make that distinction in params.pp.
    antaflos committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    9d4fc30 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fdd8f06 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2023

  1. (CAT-1608) - PDK update

    Ramesh7 committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    ae4a22b View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2023

  1. Merge pull request #1559 from puppetlabs/CAT-1608-pdk-update

    (CAT-1608) - PDK update
    Ramesh7 authored Dec 1, 2023
    Configuration menu
    Copy the full SHA
    26011ea View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2023

  1. support for a custom apt source release

    Useful in cases where postgresql has archived support for the platform.
    h0tw1r3 committed Dec 23, 2023
    Configuration menu
    Copy the full SHA
    29ef7ff View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2024

  1. Merge pull request #1561 from h0tw1r3/fix-ubuntu-18-repo

    support for a custom apt source release
    ekohl authored Jan 3, 2024
    Configuration menu
    Copy the full SHA
    010ed69 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2024

  1. update GPG key

    vaol committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    c206bea View commit details
    Browse the repository at this point in the history
  2. Remove non-portable source commands

    `source(1)` is a bashism and is equivalent to the portable `.(1)`, but
    as each command is run in a new shell, spawning a shell to source a file
    and exit is at best noop.
    
    Some SUT used by acceptance tests do not use bash(1) as the default
    shell (e.g. Ubuntu 22.04 ARM), which cause CI failures because
    `source` is not found (127 exit code):
    
    ```
      1) postgresql task sql task sets up a postgres db
         On host `104.154.182.99'
         Failure/Error: LitmusHelper.instance.run_shell('source /etc/profile.d/my-custom.lang.sh')
         RuntimeError:
           shell failed
           `source /etc/profile.d/my-custom.lang.sh`
           ======
           [{"target"=>"104.154.182.99", "action"=>"command", "object"=>"source /etc/profile.d/my-custom.lang.sh", "status"=>"failure", "value"=>{"stdout"=>"", "stderr"=>"sh: 1: source: not found\n", "merged_output"=>"sh: 1: source: not found\n", "exit_code"=>127, "_error"=>{"kind"=>"puppetlabs.tasks/command-error", "issue_code"=>"COMMAND_ERROR", "msg"=>"The command failed with exit code 127", "details"=>{"exit_code"=>127}}}}]
    
         # ./vendor/bundle/ruby/2.7.0/gems/puppet_litmus-1.3.0/lib/puppet_litmus/puppet_helpers.rb:206:in `run_shell'
         # ./spec/spec_helper_acceptance_local.rb:30:in `export_locales'
         # ./spec/acceptance/sql_task_spec.rb:17:in `block (3 levels) in <top (required)>'
    
      2) postgresql task sql task execute some sql
         On host `104.154.182.99'
         Failure/Error:
           result = run_bolt_task('postgresql::sql', 'sql' => 'SELECT count(table_name) FROM information_schema.tables;', 'host' => 'localhost',
                                                     'user' => 'root1', 'password' => 'password', 'database' => 'spec1')
         RuntimeError:
           task failed
           `postgresql::sql`
           ======
           [{"target"=>"104.154.182.99", "action"=>"task", "object"=>"postgresql::sql", "status"=>"failure", "value"=>{"status"=>"failure", "error"=>"psql: error: connection to server at \"localhost\" (127.0.0.1), port 5432 failed: FATAL:  password authentication failed for user \"root1\"\nconnection to server at \"localhost\" (127.0.0.1), port 5432 failed: FATAL:  password authentication failed for user \"root1\"\n", "_error"=>{"kind"=>"puppetlabs.tasks/task-error", "issue_code"=>"TASK_ERROR", "msg"=>"The task failed with exit code 1", "details"=>{"exit_code"=>1}}}}]
    
         # ./vendor/bundle/ruby/2.7.0/gems/puppet_litmus-1.3.0/lib/puppet_litmus/puppet_helpers.rb:299:in `run_bolt_task'
         # ./spec/acceptance/sql_task_spec.rb:23:in `block (3 levels) in <top (required)>'
    
    Finished in 17 minutes 2 seconds (files took 3.36 seconds to load)
    59 examples, 2 failures, 10 pending
    
    Failed examples:
    
    rspec ./spec/acceptance/sql_task_spec.rb:16 # postgresql task sql task sets up a postgres db
    rspec ./spec/acceptance/sql_task_spec.rb:21 # postgresql task sql task execute some sql
    ```
    
    Because we set variables in profile files, assume they are sourced
    during shell startup and will be available to next spawned shells.
    smortex committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    44b74f3 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1567 from puppetlabs/fix-ubuntu-arm-ci

    Remove non-portable source commands
    smortex authored Jan 4, 2024
    Configuration menu
    Copy the full SHA
    0b610d1 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2024

  1. specific GPG key for RH7

    vaol committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    4a00a01 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2024

  1. Configuration menu
    Copy the full SHA
    dc64305 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2024

  1. Merge pull request #1566 from vaol/main

    update GPG key
    Ramesh7 authored Jan 9, 2024
    Configuration menu
    Copy the full SHA
    07ae23f View commit details
    Browse the repository at this point in the history
  2. Release prep v10.0.3

    GitHub Actions committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    83a9a01 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1569 from puppetlabs/release-prep

    Release prep v10.0.3
    Ramesh7 authored Jan 9, 2024
    Configuration menu
    Copy the full SHA
    411e7bc View commit details
    Browse the repository at this point in the history
Loading