1. 03 Feb, 2015 1 commit
  2. 02 Feb, 2015 1 commit
    • Sebastien Badia's avatar
      Switch to metadata.json for Puppet forge releases · 0dbce0d9
      Sebastien Badia authored
      Since puppet 3.x, Puppet Labs Forge accept only the metadata.json file
      for module description (Modulefile is now deprecated).
      
      This patch :
       - convert the Modulefile to metadata.json.
       - switch to stackforge namespace.
       - relax pe version_requirement to 3.x.
       - switch to SPDX license name.
       - fix open ended module dependency versions.
      
      Change-Id: I7a91a6d6627d71f589f1393b0c2cd6e4e38ad0a6
      0dbce0d9
  3. 26 Jun, 2014 1 commit
  4. 27 Oct, 2013 1 commit
    • Loic Dachary's avatar
      integration tests environment · 7557d5e8
      Loic Dachary authored
      Use https://github.com/puppetlabs/rspec-system-puppet to implement
      vagrant based integration tests. The README.md is updated with
      instructions to run the integration tests locally. These tests could be
      run by a deamon listening to the gerrit stream, when a changeset is
      submitted for review, to prove that they do not introduce a regression.
      
      The dependencies from .fixtures.yml have been manually replicated to
      spec/spec_helper_system.rb . rspec system puppet is still young and
      people do this. It will be a burden only for long term maintenance. And
      when it does, in a few months from now, it is safe to assume that rspec
      system puppet will have support for reading from an existing file. The
      alternative is that rspec system puppet is obsoleted / dead, in which
      case this is even a bigger problem. In any case, if work had to be done
      to fix this, it should be a patch against rspec system puppet and not
      part of puppet-ceph.
      https://github.com/puppetlabs/rspec-system-puppet/issues/5
      
      A test for the ceph::repo class is included to demonstrate the
      environment actually works. It is not meant to fully test the ceph::repo
      integration this would require a separate patch. rspec-system-puppet
      requires at least one file in spec/system otherwise it will fail with
      an unrelated error:
      
         Could not autoload puppet/provider/ceph_config/ini_setting: undefined
         method `provider' for nil:NilClass (Puppet::Error)
      
      This test can be removed as soon as another is added.
      
      Change-Id: Ib65120a58ce203126be5897f602e280c474642dc
      Signed-off-by: default avatarLoic Dachary <loic@dachary.org>
      7557d5e8
  5. 25 Oct, 2013 1 commit
    • Andrew Woodward's avatar
      Add ceph_config ini helper · 0383a1ae
      Andrew Woodward authored
      * add a ini_file helper as ceph_config.
      * set the seperator as ' = ' in order to be the same as ceph-deploy
      * add path param so that seperator can be easily tested.
      ** also allows for users to change the default path if desired.
      * add test case to prove spacing around seperator.
      * add simple test case to ensure type works.
      
      Closes-bug: #1243852
      Change-Id: I0f3bb41d75d48d8af3b5b7cfb7768c4d3de2c002
      0383a1ae
  6. 21 Oct, 2013 1 commit
    • Dan's avatar
      Add project files · 2183e90c
      Dan authored
      This commit adds the initial project files.
      
      Change-Id: If26c9a8d19e26181d568d615dc71bb4721fc4aa1
      2183e90c