The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Feature #7508

Add FOSS Puppet installation to CloudPack bootstrap process

Added by Daniel Pittman almost 3 years ago. Updated 4 months ago.

Status:ClosedStart date:05/12/2011
Priority:HighDue date:
Assignee:Dan Bode% Done:

0%

Category:cloud provisioner
Target version:-
Keywords: cloud_provisioner Affected URL:
Branch:https://github.com/bodepd/puppet-cloudpack/tree/feature/master/7508_foss_installer Affected PE version:

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This issue is currently not available for export. If you are experiencing the issue described below, please file a new ticket in JIRA. Once a new ticket has been created, please add a link to it that points back to this Redmine ticket.


Description

In addition to the installer for Puppet Enterprise, we want CloudPack to have support for installing the FOSS version of Puppet.

There are several existing implementations of this, including the DevStructure version, and the work by Dan Bode.


Related issues

Related to Puppet Enterprise (Public) - Feature #8204: CloudPack should install PE from S3 not an SSH upload Closed 07/01/2011
Related to Puppet Enterprise (Public) - Feature #7215: Add node classification to the `puppet node init` action. Closed 04/22/2011
Related to Puppet Enterprise (Public) - Feature #8351: should document how to write custom template Accepted 07/11/2011
Related to Puppet Enterprise (Public) - Bug #8422: Install action with scripts should display errors if the ... Closed 07/14/2011
Related to Puppet Enterprise (Public) - Bug #8423: Periodic tempfile failure with install action and scripts Duplicate 07/14/2011

History

#1 Updated by Nick Lewis almost 3 years ago

So there isn’t really a DevStructure implementation of this. Do you have anything substantial to work from, Dan, or should we just write something as part of this ticket?

#2 Updated by Jeff McCune almost 3 years ago

  • Project changed from Puppet Labs Modules to Cloud-Provisioner

#3 Updated by Jeff McCune almost 3 years ago

  • Priority changed from Normal to High

High Level Strategy

Dan has already done work in this area to model the installation of Puppet as a script using an ERB template.

The erb template should interpolated on the calling side, then uploaded to the new instance and executed.

This script model of performing actions addresses a number of problems related to: #8204 and #7215

#4 Updated by Jeff McCune almost 3 years ago

Required for release

Dan and I believe this ticket is a requirement for release.

#5 Updated by Jeff McCune almost 3 years ago

  • Assignee set to Dan Bode

#6 Updated by Jeff McCune almost 3 years ago

  • Tracker changed from Bug to Feature
  • Roadmapped set to No

#7 Updated by Jeff McCune almost 3 years ago

  • Target version set to 0.6.0

#8 Updated by Jeff McCune almost 3 years ago

Blocked

Plan to unblock Jeff on related tickets: Pair today on the code review for this ticket. Get the topic branch documented and available. Jeff will then work on the related tickets in parallel to Dan Tuesday moving forward.

#9 Updated by Jeff McCune almost 3 years ago

  • Branch set to ticket/master/7508_foss_installer

Topic Branch

  • In Dan’s repository: ticket/master/7508_foss_installer

Expect history to be re-written frequently in this topic branch.

#10 Updated by Jeff McCune almost 3 years ago

Hand Off

As discussed this morning, by the end of Monday Dan will have the template scripting topic branch in a state that I can run with and unblock myself on the related tickets, specifically #8204

If the topic branch won’t be ready to base other work on by the EOB, please let me know ASAP since I’m blocked on this.

#11 Updated by Dan Bode almost 3 years ago

  • Status changed from Accepted to In Topic Branch Pending Review

the latest version of the code has been updated in the remote branch.

This version of the code should be sufficient to be merged into master (b/c it is blocking) It is still lacking tests.

The patch series is made of the following changes:

  • made PE specific options not required
  • added additional options: pe-version, puppet-version, facter-version, install-script
  • added puppet::cloudpack::installer – capable of locating erb templates and compiling them
  • added FOSS install template
  • added puppet-enterprise install template (refactor of existing installer code)
  • added ability to make pe version to install configurable
  • installation artifacts are all copied into a tmp directory
  • refactored installer so that it uses puppet::cloudpack::installer

#12 Updated by Dan Bode almost 3 years ago

  • Branch changed from ticket/master/7508_foss_installer to https://github.com/bodepd/puppet-cloudpack/tree/feature/master/7508_foss_installer

#13 Updated by Nigel Kersten almost 3 years ago

  • Category set to cloudpack

#14 Updated by Jeff McCune almost 3 years ago

Pending Merge

Merging this into master resulted in test failures. I’m not sure if the failures are due to master changing or this topic branch changing.

The current, amended and cleanly-merging topic branch for this work is at:

git://github.com/jeffmccune/puppet-cloudpack.git feature/master/7508_foss_installer

#15 Updated by Jeff McCune almost 3 years ago

  • Status changed from In Topic Branch Pending Review to Merged - Pending Release

Merged into Master

Reviewed by me, Dan emailed tech@, merged by me. I validated tests are passing.

Merged into master as:

commit 81f0a5015ef86131757bed90ab8aac3bc30f23cd
Merge: 448fb82 07057bc
Author: Jeff McCune 
Date:   Wed Jul 13 15:29:34 2011 -0700

    Merge branch 'feature/master/7508_foss_installer'
    
    * feature/master/7508_foss_installer:
      (#7508) Fix broken tests
      (#7508) Fixed broken installer test
      (#7508) fixes gem install script issue
      (#8398) Do not use mktemp
      (#7508) Adds script for open source installation
      (#7508) Unit tests for installer
      (#7508) Converted PE install to template
      (#7508) Added scripts and template compiler
      (#7508) Refactor of installation code
      (#7508) Make pe opts required when installing pe
      (#7508) Adding more install actions options
      (#7508) Support installation of open source
      (#7508) Support installation of open source

#16 Updated by Jeff McCune almost 3 years ago

  • Status changed from Merged - Pending Release to Closed

#17 Updated by Charlie Sharpsteen 4 months ago

  • Project changed from Cloud-Provisioner to Puppet Enterprise (Public)
  • Category deleted (cloudpack)
  • Target version deleted (0.6.0)

#18 Updated by Kenn Hussey 4 months ago

  • Category set to cloud provisioner

Also available in: Atom PDF