Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement support for frictionless agent installation #92

Merged
merged 13 commits into from
Oct 12, 2015

Commits on Oct 4, 2015

  1. Add abstract capability for getting facts from VMs

    This commit adds a new guest capability, `pebuild_facts`, which loads facts
    from guest VMs. If Facter is installed, it will be used to generate a full list
    of facts. If Facter is not installed, a basic set of info is computed about the
    `os` and `architecture`, which should be sufficient to drive a PE installation.
    Sharpie committed Oct 4, 2015
    Configuration menu
    Copy the full SHA
    ec6aff9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    057c78d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    42e22bd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eab2090 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7d9f0e8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b5f29d4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6872281 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ecc15e8 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2015

  1. Retrieve facts using Puppet

    This commit switches fact retrieval from using `facter` to `puppet facts`. This
    smooths over any differences between Facter versions and allows us to capture
    things like the Puppet version number and agent certname in addition to custom
    facts.
    Sharpie committed Oct 7, 2015
    Configuration menu
    Copy the full SHA
    bf5bcc6 View commit details
    Browse the repository at this point in the history
  2. Add command for retrieving VM facts

    The `vagrant pe-build facts` command prints facts for fact info for every
    running VM, or an optional list of target running VMs.
    Sharpie committed Oct 7, 2015
    Configuration menu
    Copy the full SHA
    68b1495 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2015

  1. Add pe_agent provisioner

    The new `pe_agent` provisioner performs a [Simplified Agent install][1]
    for PE 2015.x and newer.
    
    [1]: http://docs.puppetlabs.com/pe/2015.2/install_agents.html#using-the-puppet-agent-package-installation-script
    Sharpie committed Oct 12, 2015
    Configuration menu
    Copy the full SHA
    1698382 View commit details
    Browse the repository at this point in the history
  2. Provision agent repositories on master VMs

    This patch adds a `master_vm` setting to the configuration of the `pe_agent`
    provisioner. If set, this setting will be interpreted as the name of another
    Vagrant machine which hosts the PE master. Setting `master_vm` will enable the
    following tasks during agent installation:
    
      - The `hostname` of the master machine will be used as a default for the
        `master` setting of the `pe_agent` provisioner.
    
      - The `pe_agent` provisioner will be able to ensure the correct `pe_repos`
        are configured on the master before attempting agent installation.
    Sharpie committed Oct 12, 2015
    Configuration menu
    Copy the full SHA
    75c01da View commit details
    Browse the repository at this point in the history
  3. Update acceptance tests for pe_agent

    This patch updates the acceptance suite to provision CentOS PE 2015.x masters
    with `pe_bootstrap` and Ubuntu 2015.x agents with `pe_agent`. Acceptance setup
    is also expanded to include support for both CentOS and Ubuntu agent platforms.
    
    Because of the expanded platform support, other tests are also updated to
    reflect the change in Vagrant box names.
    Sharpie committed Oct 12, 2015
    Configuration menu
    Copy the full SHA
    125c435 View commit details
    Browse the repository at this point in the history