Commits on Jun 30, 2021

  1. fix errors from spec test

    timidri committed Jun 30, 2021
    Configuration menu
    Copy the full SHA
    e8a8296 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    56faf69 View commit details
    Browse the repository at this point in the history
  3. fix describe name

    timidri committed Jun 30, 2021
    Configuration menu
    Copy the full SHA
    ea5af49 View commit details
    Browse the repository at this point in the history
  4. Fix lint checks

    reidmv committed Jun 30, 2021
    Configuration menu
    Copy the full SHA
    391dc7d View commit details
    Browse the repository at this point in the history
  5. Merge pull request #180 from puppetlabs/add_compiler_spec

    Add spec test for peadm::add_compiler
    reidmv authored Jun 30, 2021
    Configuration menu
    Copy the full SHA
    e284833 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2021

  1. Create peadm::modify_certificate plan

    This replaces modify_cert_extensions. It supports modifying DNS
    alternative names as well.
    reidmv committed Jul 8, 2021
    Configuration menu
    Copy the full SHA
    7b60513 View commit details
    Browse the repository at this point in the history
  2. Support passing dns-alt-names to submit_csr task

    This supports the new peadm::modify_certificate plan
    reidmv committed Jul 8, 2021
    Configuration menu
    Copy the full SHA
    3bc452c View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2021

  1. Ensure cert_data returns arrays for dns-alt-names

    Previously, it could return null.
    reidmv committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    b922600 View commit details
    Browse the repository at this point in the history
  2. Implement force_regenerate, fix dns altname issue

    Sometimes you may want to forcibly regenerate a certificate even if it
    already matches the desired state, e.g. if it is expiring soon.
    
    This commit also fixes dns-alt-names to more concretely check for
    existing status matching desired status.
    reidmv committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    9135e8e View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2021

  1. Update tests

    reidmv committed Jul 10, 2021
    Configuration menu
    Copy the full SHA
    9fc0246 View commit details
    Browse the repository at this point in the history
  2. Update plans to use peadm::modify_certificate

    This replaces the deprecated use of peadm::modify_cert_extensions
    reidmv committed Jul 10, 2021
    Configuration menu
    Copy the full SHA
    bc1464a View commit details
    Browse the repository at this point in the history
  3. Fix lint issues

    reidmv committed Jul 10, 2021
    Configuration menu
    Copy the full SHA
    e383548 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2021

  1. Replace plan peadm::modify_cert_extensions with peadm::modify_certifi…

    …cate
    
    Replace plan peadm::modify_cert_extensions with peadm::modify_certificate
    davidsandilands authored Jul 12, 2021
    Configuration menu
    Copy the full SHA
    6f7e9c6 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2021

  1. Fix GitHub README.md problem

    The .github/README.md takes precedence over README.md as being the file
    which is displayed on a repo's home page, if present. This commit moves
    the Github Actions readme file deeper into the .github directory to
    prevent it from displaying the repo's README.md file as the
    authoritative content to display on the repo's home page.
    
    Also perform some maintenacne updates on the Github Actions readme file.
    reidmv committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    284453c View commit details
    Browse the repository at this point in the history
  2. Merge pull request #182 from reidmv/fix-readme

    Fix GitHub README.md problem
    reidmv authored Jul 13, 2021
    Configuration menu
    Copy the full SHA
    ee914c7 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2021

  1. Move load_balancer class to examples

    It is not functional, but still useful as guidance for creating real
    content.
    reidmv committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    89d1dfe View commit details
    Browse the repository at this point in the history
  2. Merge pull request #183 from reidmv/GH-41

    Move load_balancer class to examples
    reidmv authored Jul 15, 2021
    Configuration menu
    Copy the full SHA
    ebd4012 View commit details
    Browse the repository at this point in the history
  3. Move remaining pieces of haproxy examples

    Forgot to move the other two manifests related to haproxy configuration
    examples to the examples directory. This commit remedies that.
    reidmv committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    406db51 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'GH-41' into main

    reidmv committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    580c4b0 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2021

  1. Always create all node groups

    This consistency lays the groundwork for creating a task which can
    inspect the node groups on the primary (or replica) and return the
    currently-configured PEAdm roles (primary, replica, primary-postgresql,
    replica-postgresql, compilers).
    reidmv committed Jul 17, 2021
    Configuration menu
    Copy the full SHA
    7fea0e9 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2021

  1. Use explicit A/B specification in setup class

    The primary might be "B". This change lays the groundwork for more
    robust cluster operations which don't assume that the primary is always
    "A".
    reidmv committed Jul 19, 2021
    Configuration menu
    Copy the full SHA
    ec7d328 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2021

  1. Fix mis-named group

    PEAdm creates some of its own groups, but also adjusts variables or
    parameters on some existing groups. We need to use the correct names of
    the existing groups, especially where the DR feature is concerned; we
    don't get to rename them. So, even though "DR" is more correct these
    days, we need to modify the "HA" group
    reidmv committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    0d5b03c View commit details
    Browse the repository at this point in the history
  2. Merge pull request #186 from reidmv/explicit-a-b-in-setup

    Explicit A/B server param names in setup
    davidsandilands authored Jul 20, 2021
    Configuration menu
    Copy the full SHA
    c63440c View commit details
    Browse the repository at this point in the history
  3. Add get_cluster_roles task

    This task can introspect an existing cluster (when run on a primary
    node) and return information about how the cluster is currently
    configured. This will aid in running plans that need to modify the
    cluster, by reducing the amount of information the user must supply.
    
    The task returns data about the cluster in both primary/replica form, as
    well as A/B form, since different forms are useful in different
    scenarios.
    reidmv committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    262a37a View commit details
    Browse the repository at this point in the history
  4. Clean up get_peadm_config task

    Improve the readability of the task, and the task description.
    reidmv committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    0c42295 View commit details
    Browse the repository at this point in the history
  5. Make get_peadm_config handle nil values better

    In the event a group doesn't exist, or a key doesn't return a value.
    Don't error, just return nil for those values.
    reidmv committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    b156397 View commit details
    Browse the repository at this point in the history
  6. Fix lb bug in peadm::setup::node_manager class

    When this was refactored, the wrong defaults were given to the compiler
    load balancer address variables. They should default to the A and B
    *servers*, not the A and B postgresql hosts.
    reidmv committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    07b3126 View commit details
    Browse the repository at this point in the history
  7. Add role-letter for compilers to get_peadm_config

    Realized this could be a generally useful way of understanding all
    letter assignments, if we returned compilers as well.
    reidmv committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    7a967b5 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #187 from reidmv/get-peadm-config

    Add get_peadm_config task
    reidmv authored Jul 20, 2021
    Configuration menu
    Copy the full SHA
    c9f86fc View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2021

  1. Fix private designation syntax in private plans

    Many plans in this module are not intended to be run directly, and are
    instead subplans or utility plans for internal use. This commit updates
    the doc comments in the plans to indicate to Bolt that they should not
    be shown or displayed when running commands like `bolt plan show`.
    reidmv committed Jul 21, 2021
    Configuration menu
    Copy the full SHA
    8c7f17b View commit details
    Browse the repository at this point in the history
  2. Clean up output of puppet_runonce task

    - Do not use color codes, as this makes the output difficult to read
      when returned by Bolt.
    
    - Do not print <space><newline>, since this combination will prevent
      Ruby's yaml emitter from using the block form (which is easier to read
      when newlines are involved). This doesn't have an immediate impact
      since we will be seeing the error in JSON, probably, but it
      potentially heads off confusion in the future if we choose to emit
      yaml instead.
    reidmv committed Jul 21, 2021
    Configuration menu
    Copy the full SHA
    f8368f0 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #189 from puppetlabs/private-plans

    Highlight user-facing plans by hiding internal plans from bolt plan show output
    reidmv authored Jul 21, 2021
    Configuration menu
    Copy the full SHA
    2381812 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #190 from puppetlabs/cleaner-runonce-output

    Clean up output of puppet_runonce task
    reidmv authored Jul 21, 2021
    Configuration menu
    Copy the full SHA
    63c3546 View commit details
    Browse the repository at this point in the history
  5. Add --color=false to other puppet commands

    Same rationale as before: easier to read, cleaner output when viewed
    coming back from Bolt. The color codes make it harder to read in JSON or
    YAML documents.
    reidmv committed Jul 21, 2021
    Configuration menu
    Copy the full SHA
    2139471 View commit details
    Browse the repository at this point in the history
  6. Update docker_examples.md

    miharp authored Jul 21, 2021
    Configuration menu
    Copy the full SHA
    3e9c8cf View commit details
    Browse the repository at this point in the history
  7. Merge pull request #1 from miharp/miharp-patch-1

    Update docker_examples.md
    miharp authored Jul 21, 2021
    Configuration menu
    Copy the full SHA
    5ebfbf7 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #191 from puppetlabs/cleaner-output

    Add --color=false to other puppet commands
    reidmv authored Jul 21, 2021
    Configuration menu
    Copy the full SHA
    abb1982 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #192 from miharp/main

    Fix typo in brew command
    reidmv authored Jul 21, 2021
    Configuration menu
    Copy the full SHA
    a427382 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2021

  1. Accept token files with newlines

    Previously if a token file contained a newline, the upgrade plan would
    fail. This commit fixes that bug. Token files with newlines will not
    cause an error.
    reidmv committed Jul 23, 2021
    Configuration menu
    Copy the full SHA
    3dca567 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #193 from puppetlabs/2.x

    Fix upgrade bug for token files with newlines
    reidmv authored Jul 23, 2021
    Configuration menu
    Copy the full SHA
    1f33dd2 View commit details
    Browse the repository at this point in the history
  3. Remove hardcoded mem settings from default pe.conf

    A long time ago these settings were added to faciliate local development
    on VirtualBox, using developer workstations. We should not provide
    different memory defaults for PE installs than what is provided by PE
    itself.
    
    Additional fix: found Puppet Strings bug which prevented generating a
    REFERENCE.md file. It is now possible to use Puppet Strings to generate
    a REFERENCE.md.
    reidmv committed Jul 23, 2021
    Configuration menu
    Copy the full SHA
    e1a7217 View commit details
    Browse the repository at this point in the history
  4. Mark add_replica and add_compiler plans private

    We already had @api private, but Bolt doesn't respect that. It needs
    @Private true.
    reidmv committed Jul 23, 2021
    Configuration menu
    Copy the full SHA
    b5483a2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7008a3e View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2021

  1. Remove defaults code in generate_pe_conf

    Removing for now as there is no need to set peadm-coded default pe.conf
    configuration values.
    
    To restore the ability to inject defaults into generated pe.conf files,
    revert this commit.
    reidmv committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    065e8e1 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #194 from puppetlabs/dont-override-defaults

    Remove hardcoded mem settings from default pe.conf
    reidmv authored Jul 26, 2021
    Configuration menu
    Copy the full SHA
    dd1981f View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2021

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

Commits on Aug 2, 2021

  1. Configuration menu
    Copy the full SHA
    f27c98e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b384b06 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    43393bb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    df8bce8 View commit details
    Browse the repository at this point in the history