1. 07 May, 2016 1 commit
  2. 06 May, 2016 2 commits
  3. 10 Dec, 2015 1 commit
  4. 20 Oct, 2015 1 commit
  5. 14 Aug, 2015 2 commits
  6. 21 Apr, 2015 1 commit
  7. 20 Apr, 2015 1 commit
  8. 08 Dec, 2014 1 commit
  9. 18 Nov, 2014 1 commit
    • Ken Barber's avatar
      (PDB-663) Convert PuppetDB to Ezbake build system · 39dc9b7b
      Ken Barber authored
      This significant patch introduces Ezbake to PuppetDB, providing all the
      required changes and some cleanups as well to make this possible:
      
      * Of note, the old system is still around, until we work out how to do source
        based installations of PuppetDB in this new world. This will be done as
        another piece of work separately.
      * CONTRIBUTING.md has been updated to the latest version from Puppet
      * ERRATA.md has been removed, we have a ticket tracker
      * Some changes we did on the old system:
       * Dependencies on latest Puppet & Facter have been changed in older system
       * Pathing updated to reflect closer to ezbake
      * Debian 6 & Ubuntu 10.04 have been retired. We made this decision due to the
        reluctance to transfer the java lookup code in /etc/default/puppetdb into
        ezbake. Since this code is required to support Oracle JDK installation of
        Java 7, retirement was inevitable. Since these versions of the distros are
        nearly end of life anyway, we gave our users a stepping stone, by providing
        this in the first place, we feel this was an okay move.
      * All beaker tests have been modified to work in an ezbake world.
      * We've decided to use the nrepl trapperkeeper service now, to avoid conflicts
        and to finally shed that old code. We have updated the code and documentation
        to reflect this, and we provide a warning if users use the old [repl] block.
        Instead users must define the [nrepl] block, and it is no longer possible to
        choose a `type` of repl service.
      * The package `puppetdb-terminus` is now called `puppetdb-terminii` and we've
        changed the references in code and docs to use this now. A module change will
        be required at some point, but this work is separate.
      * Beaker tests are now in a script shipped with the project for Jenkins to use.
      * Binaries are now installed in /usr/bin instead of /usr/sbin as per the ezbake
        standards.
      * Lots of template files were transferred into resource/ext, this is what ezbake
        expects.
      * Documentation has moved inside /usr/share/puppetdb/docs to a new location
        depending on the distribution. This is to follow the ezbake standards.
      * project.clj was updated to make ezbake work, and to fix some warnings from lein
        deploy.
      * A lot of softlinks were removed from /usr/share/puppetdb, that were pointing
        at the /var/lib/puppetdb & /etc/puppetdb/ spaces, I believe this was a partially
        completed migration from the past. The module for example had to be updated, so
        only the puppetdb module 4.1.0 will even work once we ship this.
      Signed-off-by: 's avatarKen Barber <ken@bob.sh>
      39dc9b7b
  10. 12 Oct, 2014 1 commit
  11. 10 Oct, 2014 1 commit
  12. 06 Feb, 2014 1 commit
  13. 24 Sep, 2013 1 commit
    • Ken Barber's avatar
      Migrate acceptance tests to use beaker gem · a15d1779
      Ken Barber authored
      This patch modifies the acceptance test framework to use the beaker gem, which
      has changed quite a lot from the old puppet-acceptance framework which it
      originated from.
      
      Changes:
      
      * Since node configuration no longer lives in the harness, relevant
        configuration for nodes, and ec2 templates have been moved into our own
        repository.
      * Vagrant/Virtualbox definitions were added, so we now have vagrant based
        testing through beaker!
      * A rake task has been added to wrap the execution of beaker,
        providing an environment variable interface for better integration with
        jenkins and other CI tools.
      * The system has included documentation now in acceptance/README.md to explain
        how to run the tests, and the various options in
        acceptance/options/README.md have been merged into this file.
      * The old --install methodology has now been deprecated, so git installation
        handling has been moved into our own setup stages.
      * The old IniFile code has been removed in favour of using the inifile gem, in
        anticipation of a cutover to the puppet master running helpers in beaker.
      * An effort to move the puppet installation helpers out of tests and into
        helpers.rb has been made.
      * Some setup re-ordering and restructing has occurred to fix some of the
        organisation and ordering issues I was seeing. In particular, the repo
        installation now occurs in its own step.
      * We know support the concept of having Puppet installed via a package, even
        though PuppetDB is installed from source.
      * In general more work on source based testing, this will need continued
        development as we'll need it for PR testing, but a good start on this has been
        made.
      * test_config is now a helper, instead of requiring it for every test.
      * Various fixed to redhat_dev_* to support more source based installation work.
      * We know flush iptables before we begin, to avoid firewall issues for ec2 and
        vagrant tests.
      * Obviously tests have been modified to use the new library locations across
        the board.
      * New temporary files have been added to .gitignore.
      Signed-off-by: 's avatarKen Barber <ken@bob.sh>
      a15d1779