<commit_before>Feature: cli/package
  Puppet librarian needs to package modules

  Scenario: Packaging a module and its dependencies
    Given a file named "Puppetfile" with:
    """
    forge "http://forge.puppetlabs.com"

    mod 'puppetlabs/apt'
    """
    When I run `librarian-puppet package --verbose`
    Then the exit status should be 0
    And the file "modules/apt/Modulefile" should match /name *'puppetlabs-apt'/
    And the file "modules/stdlib/Modulefile" should match /name *'puppetlabs-stdlib'/<commit_msg>Set explicit version to fix test<commit_after>Feature: cli/package
  Puppet librarian needs to package modules

  Scenario: Packaging a module and its dependencies
    Given a file named "Puppetfile" with:
    """
    forge "http://forge.puppetlabs.com"

    mod 'puppetlabs/apt', '1.4.0'
    """
    When I run `librarian-puppet package --verbose`
    Then the exit status should be 0
    And the file "modules/apt/Modulefile" should match /name *'puppetlabs-apt'/
    And the file "modules/stdlib/Modulefile" should match /name *'puppetlabs-stdlib'/
{'fraction_non_alphanumeric': 0.09776536312849161, 'fraction_numerical': 0.004655493482309125, 'mean_word_length': 3.4605809128630707, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4086663', 'n_tokens_mistral': 363, 'n_tokens_neox': 342, 'n_words': 113}