This project is mirrored from Pull mirroring updated .
  1. 19 Oct, 2021 4 commits
  2. 18 Oct, 2021 6 commits
    • Kenyon Ralph's avatar
      remove unneeded tests; provide error message for raise_error · f93a331a
      Kenyon Ralph authored
      Tests for wrong parameter data types aren't really needed since Puppet
      will do the type checking itself. These tests also caused warnings
      because they didn't provide specific error messages to the
      `raise_error` matcher.
      Also, provide error messages to the remaining `raise_error` matches
      that lacked error messages, to avoid warnings like this:
      WARNING: Using the `raise_error` matcher without providing a specific
      error or message risks false positives, since `raise_error` will match
      when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`,
      potentially allowing the expectation to pass without even executing
      the method you are intending to call. Actual error raised was
      a Resource Statement, Postfix::... expects a match for Enum['absent',
      'present'], got Tuple (line: 5) on node>.
      Instead consider provi ding a specific error class or message. This
      message can be suppressed by setting:
      `RSpec::Expectations.configuration.on_potential_false_positives =
      :nothing`. Called from /home/kenyon/git/
      puppet-postfix/spec/defines/postfix_virtual_spec.rb:88:in `block (5
      levels) in <top (required)>'.
    • Kenyon Ralph's avatar
      map: handle regexp type · 0d4e6ad4
      Kenyon Ralph authored
      The `regexp` map type is similar to the `pcre` type in that it doesn't
      need a database generated by `postmap`.
      Also some cleanup of the parameter formatting.
    • Kenyon Ralph's avatar
    • Kenyon Ralph's avatar
      postfix_spec: use better test descriptions · 35dae1f6
      Kenyon Ralph authored
    • Kenyon Ralph's avatar
      init.pp: fix indentation · 1ed71c94
      Kenyon Ralph authored
    • Kenyon Ralph's avatar
      init.pp: correct param numbers and use of optional · 5608bb63
      Kenyon Ralph authored
      Parameters used for generating resources should be plural.
      Remove incorrect usage of Optional.
      Also, use loops instead of `create_resources()`.
  3. 14 Oct, 2021 1 commit
  4. 13 Oct, 2021 1 commit
  5. 11 Oct, 2021 1 commit
  6. 10 Oct, 2021 3 commits
  7. 04 Oct, 2021 2 commits
  8. 03 Oct, 2021 3 commits
  9. 02 Oct, 2021 2 commits
  10. 18 Sep, 2021 2 commits
  11. 30 Aug, 2021 2 commits
  12. 26 Aug, 2021 6 commits
  13. 25 Aug, 2021 7 commits