Commits on Nov 12, 2019

  1. Use apply block for configuring node groups

    This commit is a WIP on the way to accomplishing the one-line commit
    message goal.
    reidmv committed Nov 12, 2019
    Configuration menu
    Copy the full SHA
    dee5e8d View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2019

  1. Switch to using apply blocks for node_manager

    It took awhile to figure out how to do this, but I think this latest
    iteration actually works.
    reidmv committed Dec 4, 2019
    Configuration menu
    Copy the full SHA
    127bc3e View commit details
    Browse the repository at this point in the history
  2. Work around GH-1244

    See comment in diff for details.
    reidmv committed Dec 4, 2019
    Configuration menu
    Copy the full SHA
    c2a2d3f View commit details
    Browse the repository at this point in the history
  3. Merge pull request #28 from puppetlabs/use-node_group-apply

    Use node group apply
    reidmv authored Dec 4, 2019
    Configuration menu
    Copy the full SHA
    136ae26 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2019

  1. added "if" to not run

    "puppetserver ca --certname <null>".  The inline template is adding a comma
    and when it goes to run the next iteration it has no value for
    the certname, causing a failure.  This is for a monlithic-master.
    spidersddd committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    a3b8244 View commit details
    Browse the repository at this point in the history
  2. Rename module to puppetlabs-peadm

    Puppet Enterprise Administration module. This name change is being
    driven by a desire to standardize on using this module and approach for
    all deployments of PE. The module already supports more architectures
    than just Extra Large, so a name change is probably a good idea for that
    reason too.
    
    Really, the purpose of this module is to capture and automate lifecycle
    administration actions relating to the management of PE. Thus, "peadm".
    reidmv committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    ff747dc View commit details
    Browse the repository at this point in the history
  3. Fix style/lint issues

    reidmv committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    9ea1e69 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2019

  1. Merge pull request #31 from puppetlabs/rename-to-peadm

    Rename module to puppetlabs-peadm
    reidmv authored Dec 12, 2019
    Configuration menu
    Copy the full SHA
    04c8fae View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2019

  1. Remove use of pp_role

    The pp_role trusted fact is the most-likely-to-be-used trusted fact we
    have. It's not a good idea to require the use of this one for peadm
    configuration to work.
    
    Instead, encode the information we need for component identification
    into pp_application. Use puppet/ as a prefix, and attach whatever
    component role a node has after that.
    
    There's a good argument that we shouldn't use pp_application either.
    We're already using it though so we don't lose anything this way, and we
    gain the benefit of not using pp_role anymore. So shipping this as an
    incremental improvement, with room for more improvement in the future.
    reidmv committed Dec 13, 2019
    Configuration menu
    Copy the full SHA
    c605800 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2019

  1. Merge pull request #33 from puppetlabs/pp_application

    Remove use of pp_role
    reidmv authored Dec 17, 2019
    Configuration menu
    Copy the full SHA
    fced412 View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2019

  1. Deploy combined with GCP, macOS, Terraform

    This commit includes the changes that were required to automate
    the deployment of the PE XL architecture when Bolt and Terraform
    were linked together on macOS, targeted at GCP. The use case
    being a single Bolt plan that can quickly stamp out new
    infrastructure for customers.
    
    Reasoning for filesize.sh change is because of parameter
    mismatches between Linux and macOS. Other changes are a result
    of needing to access nodes using external IP address when
    initiating automation from outside the cloud provider, e.x. your
    laptop and requiring that all services are wired together using
    internal DNS names.
    ody authored and reidmv committed Dec 27, 2019
    Configuration menu
    Copy the full SHA
    ebfe71d View commit details
    Browse the repository at this point in the history
  2. Rename target_host function to target_name

    Since we have changes in it to return the name, not the host. This
    commit just makes the action match the description.
    reidmv committed Dec 27, 2019
    Configuration menu
    Copy the full SHA
    491ee6a View commit details
    Browse the repository at this point in the history
  3. Merge pull request #34 from ody/full_automated_gcp_deploy

    Deploy combined with GCP, macOS, Terraform
    reidmv authored Dec 27, 2019
    Configuration menu
    Copy the full SHA
    fde69f6 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2020

  1. Update parameter for puppetdb_databse_host

    Previously, we laid down a parameter from a lower level class instead of the top level parameter from puppet_enterprise.  The PE installer does not recognize the lower level class parameter but does recognize the puppet_enterprise parameter.
    npwalker authored and Reid committed Jan 2, 2020
    Configuration menu
    Copy the full SHA
    94d1ad0 View commit details
    Browse the repository at this point in the history
  2. Fixup commit to apply changes to live content

    And clean up old, unused content.
    reidmv authored and Reid committed Jan 2, 2020
    Configuration menu
    Copy the full SHA
    adc64df View commit details
    Browse the repository at this point in the history
  3. Merge pull request #35 from npwalker/patch-1

    Update parameter for puppetdb_database_host
    reidmv authored Jan 2, 2020
    Configuration menu
    Copy the full SHA
    fcd04d0 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2020

  1. Partially revert fcd04d0

    Turns out it doesn't quite work to use the high-level parameter for the
    compilers.
    
      Warning: Unable to fetch my node definition, but the agent run will continue:
      Warning: Error 500 on SERVER: Server Error: Classification of ... failed due
      to a classification conflict: The node was classified into groups named:
        "PE Master B"
        "PE Infrastructure Agent"
        "All Environments"
        "PE HA Replica"
    
      These groups defined conflicting values for class parameters for the classes:
        "puppet_enterprise"
    reidmv committed Jan 7, 2020
    Configuration menu
    Copy the full SHA
    4020a0e View commit details
    Browse the repository at this point in the history
  2. Merge pull request #36 from puppetlabs/partial-revert

    Partially revert fcd04d0
    reidmv authored Jan 7, 2020
    Configuration menu
    Copy the full SHA
    6402665 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2020

  1. Rename subdirectory "unit" to "action"

    The "action" plans subdirectory contains unit actions that can be
    performed, and chained together by higher-level plans. While the term
    "unit" is probably the more technically accurate, "action" is more
    intuitive as to what these unit plans typically are.
    reidmv committed Jan 8, 2020
    Configuration menu
    Copy the full SHA
    ca6db12 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #37 from puppetlabs/unit-to-action

    Rename subdirectory "unit" to "action"
    reidmv authored Jan 8, 2020
    Configuration menu
    Copy the full SHA
    f1241c1 View commit details
    Browse the repository at this point in the history
  3. Re-add use of raw OIDs to csr_attribute.yaml files

    Because we still want to install old versions of PE occasionally, it
    seems.
    reidmv committed Jan 8, 2020
    Configuration menu
    Copy the full SHA
    b0e5203 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #38 from puppetlabs/use-oids

    Re-add use of raw OIDs to csr_attribute.yaml files
    reidmv authored Jan 8, 2020
    Configuration menu
    Copy the full SHA
    5c5d3ef View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ac60e63 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2020

  1. Make CSR submission version-aware

    So that Puppet 5 (PE 2018.1) can be supported.
    reidmv committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    da54935 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #43 from puppetlabs/support-2018.1

    Make CSR submission version-aware
    reidmv authored Jan 14, 2020
    Configuration menu
    Copy the full SHA
    5e7974b View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2020

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

Commits on Jan 17, 2020

  1. Rework algorithm to read hiera.yaml from master

    So that if the default hiera.yaml changes, the logic will still work,
    and the source of truth for the contents of hiera.yaml in a deployment
    managed by peadm is not the peadm module itself.
    reidmv committed Jan 17, 2020
    Configuration menu
    Copy the full SHA
    a5d3cad View commit details
    Browse the repository at this point in the history
  2. Merge pull request #44 from tkishel/hiera_classifier_data

    configure classifier data in global hiera.yaml
    reidmv authored Jan 17, 2020
    Configuration menu
    Copy the full SHA
    577150c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    60a1023 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    43afc64 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2020

  1. Revert removal of Bolt GH-1244 workaround

    Seems like the workaround is still needed. Will investigate, since Bolt
    GH-1244 is supposed to be resolved.
    reidmv committed Jan 18, 2020
    Configuration menu
    Copy the full SHA
    9fd519e View commit details
    Browse the repository at this point in the history
  2. Add support for Ubuntu platform

    Or at least, enough support to try it out.
    reidmv committed Jan 18, 2020
    Configuration menu
    Copy the full SHA
    134d748 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2020

  1. Switch read_file to ruby

    Because `python` is not available out of the box on Ubuntu. They
    switched it to `python3`. On CentOS 8 that package is available, but not
    installed out of box. So ruby is most reliable now for this use case.
    reidmv committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    ca5503a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    655445b View commit details
    Browse the repository at this point in the history
  3. Don't trust HOME or USER env variables

    On Ubuntu under sudo, it seems to be very wonky. We already have code to
    compute them based on UID, so let's just always do that and never bother
    even checking what they come to us as.
    reidmv committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    eb8b1d6 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2020

  1. Merge pull request #54 from puppetlabs/ubuntu

    Add support for Ubuntu platform
    reidmv authored Jan 22, 2020
    Configuration menu
    Copy the full SHA
    6e70cc1 View commit details
    Browse the repository at this point in the history
  2. Ensure the puppet agent is running post-provision

    Previously, the agent was not started on compilers and the replica.
    Additionally, because the agent was running on the master and postgresql
    nodes during install, that could sometimes interfere with directed runs.
    
    After this commit the Puppet agent is ensured stopped on all systems
    during provision to ensure full control of Puppet activity, and the
    agent is resumed at the end of configuration.
    reidmv committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    e547a55 View commit details
    Browse the repository at this point in the history
  3. Fix bug where standard/large + HA was not detected

    The validate_architecture() function had a bug where it did not report
    HA status correctly for standard/large installs including HA.
    reidmv committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    a716b55 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ab9ce56 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2020

  1. Modernize upgrade plan

    This commit ensures the upgrade plan is functional for the peadm module
    over ssh. The upgrade plan has not been well supported in the past.
    This commit is a first step and its objective is only base
    functionality. Additional features such as input validation and
    orchestrator transport support will need to be added iteratively.
    
    As an improvement over the alpha version of this plan, upgrade the
    PostgreSQL nodes *first*, so that upgrade of the master/replica can
    proceed without error in the event a major PostgreSQL version is
    released.
    
    Upgrade plan is also annotated with stage separators to make it easier
    to follow what is going on.
    reidmv committed Jan 24, 2020
    Configuration menu
    Copy the full SHA
    3acc772 View commit details
    Browse the repository at this point in the history
  2. Enforce PATH variable for agent_upgrade.sh

    Many of the tasks/plans shipped in PE are brittle and make assumptions
    about environment variables. By enforcing PATH (and HOME, and USER) in
    agent_upgrade.sh we hopefully insulate ourselves from the worst of it.
    reidmv committed Jan 24, 2020
    Configuration menu
    Copy the full SHA
    c2212f0 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #56 from puppetlabs/upgrade

    Modernize Upgrade Plan
    reidmv authored Jan 24, 2020
    Configuration menu
    Copy the full SHA
    9deb625 View commit details
    Browse the repository at this point in the history
  4. Remove unused parameter to upgrade plan

    To reduce confusion. We do not currently support orchestrator transport
    for upgrades (though that should be coming soon)
    reidmv committed Jan 24, 2020
    Configuration menu
    Copy the full SHA
    e33f76b View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2020

  1. Fix missing fully qualified path to puppet exec

    Without the fully qualified path, it's not reliable that a system will
    be able to run the puppet command correctly.
    reidmv committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    a0c0edf View commit details
    Browse the repository at this point in the history
  2. Update metadata for 0.5.0 tag

    reidmv committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    e623fd7 View commit details
    Browse the repository at this point in the history
  3. Fix bug in submit_csr when dns-alt-names is null

    There was a problem with Ruby not being able to hashify the parsed array
    of Puppet config output if any of the config items did not have a value.
    This commit fixes that bug.
    reidmv committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    23c9cef View commit details
    Browse the repository at this point in the history
  4. Add sign_csr task. This task is as-yet unused

    Capturing this work in the event it is useful later, rather than
    discarding it. It could be used to remove a `run_command()` directive in
    the action/install plan.
    reidmv committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    2ac3cff View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2020

  1. Add upgrade documentation

    Initial draft.
    reidmv committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    9accecb View commit details
    Browse the repository at this point in the history
  2. Polish commit for upgrade plan

    After upgrade, several changes are consistenly made on the master node.
    This commit runs Puppet on the master once as part of the upgrade to
    ensure these changes are taken care of at the same time the rest of the
    upgrade is.
    reidmv committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    0fa27a5 View commit details
    Browse the repository at this point in the history
  3. Add support for upgrades using the Orchestrator

    Commit includes minor code changes to support this use case, and an
    addition to the documentation detailing how to upgrade using the
    Orchestrator transport.
    reidmv committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    a6b727f View commit details
    Browse the repository at this point in the history