Skip to content

rake task to gather modules from Puppetfile or .fixtures.yml #183

@logicminds

Description

@logicminds

Use Case

Our systems only use internal git repos, so installing the module with PMT doesn't satisfy the dependencies we have listed in fixtures.yml or Puppetfile for each module. All of our modules are on internal github/gitlab repositories.

Describe the Solution You Would Like

I would like to see a new rake task that runs the following:

  1. rake spec_prep
  2. tar -zcvf modules.tar.gz spec/fixtures
  3. scp this file to the SUT
  4. decompress under /etc/puppetlabs/code/production (or something similar)

Describe Alternatives You've Considered

  1. Use rsync to transfer same files
  2. Use a shared directory for vm or container
  3. use bolt to run the prep command

Additional Context

Systems are not allowed to access the forge directly. The meatadata.json file does not support git urls or anything besides forge modules.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions