python::requirements manages file even if a directory resource tries to

Open
#273 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
devops

Research direction

Locate the implementation of the python::requirements resource and inspect how its file resource interacts with a recursive directory file resource. Confirm the reported case where nested requirements files are not updated; done means the directory resource can manage those file contents as described.

Written by the indexing model from the issue text.

Description

I manage a directory of requirements files with a file resource of type "directory" with recurse => true. But the file contents of those files don't get updated, because the python::requirements type manages the file with a file resource, which "overwrites" the ability of the directory to manage the file contents. (No error is produced, but the contents just don't update.)

Dominant language
Ruby
Stars
196
Forks
372
Avg merge
1d 18m
Merged PRs (30d)
4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from voxpupuli/puppet-python

All issues in voxpupuli/puppet-python

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.