1. 21 Jan, 2015 2 commits
    • Stefan Schulte's avatar
      Update travis jobs · 278c13cd
      Stefan Schulte authored
      The environment variables inside Gemfile changed (adopted to puppet
      module generate) so we also have to modify the travis file to set the
      correct environment variables when testing against specific
      puppet/facter versions
      278c13cd
    • Stefan Schulte's avatar
      Prepare Module for puppet forge · 8c31522e
      Stefan Schulte authored
      To be able to release the module puppet module generate was used to get
      a basic sketch of the Gemfile and metadata.json file. Also added a
      changelog as puppet forge modules are versioned.
      8c31522e
  2. 06 Jan, 2015 3 commits
  3. 05 Jan, 2015 1 commit
    • Stefan Schulte's avatar
      Switch to rspec3 matchers · 18dcf32e
      Stefan Schulte authored
      Running the specs with rspec3 leads to the following deprecation
      warning:
      
          Using `should` from rspec-expectations' old `:should` syntax without
          explicitly enabling the syntax is deprecated. Use the new `:expect`
          syntax or explicitly enable `:should` instead
      
      So switch to the new expect syntax
      18dcf32e
  4. 04 Apr, 2014 2 commits
  5. 23 Jun, 2013 1 commit
    • Stefan Schulte's avatar
      Use puppetlabs_spec_helper · 49c64c08
      Stefan Schulte authored
      PuppetLabs has released a seperate gem to make writing spec tests easier
      (puppetlabs_spec_helper). Using this gem makes a lot of files obsolete
      that were initially copied form the puppetlabs/puppet project.
      49c64c08
  6. 26 Jun, 2012 3 commits
    • Stefan Schulte's avatar
      Handle the case where no key is installed · 6a15db32
      Stefan Schulte authored
      If there is currently no key present in the RPM keyring rpm -q returns
      with a non-zero exitcode. This case is now handled properly so no
      error message is shown when running puppet.
      6a15db32
    • Stefan Schulte's avatar
      Remove unnecessary stubbing · 320758b6
      Stefan Schulte authored
      Because we never really execute rpm and are only testing the provider we
      are never asked suitable? so we can just drop a few stubs of FileTest
      320758b6
    • Stefan Schulte's avatar
      FIX specdirs · 53283d37
      Stefan Schulte authored
      The rpm_key type was renamed to rpmkey pretty early but the spec
      directories should also reflect the new name.
      53283d37
  7. 25 Jun, 2012 1 commit
  8. 24 Jun, 2012 1 commit
    • Stefan Schulte's avatar
      Initial commit · ba5f26cb
      Stefan Schulte authored
      Add README and copy the necessary testframework from the puppet codebase
      ba5f26cb