Subscribe error when requirements.txt is in a git clone

Đang mở
#374 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
devops

Hướng nghiên cứu

Start by tracing the class handling manage_requirements and the requirements.txt resource relationship. Reproduce the catalog failure with requirements.txt supplied by a git clone and manage_requirements => false; done means the catalog compiles without subscribing to an absent File resource.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

I cannot set the parameter manage_requirements => false when I expect the file to be cloned from git. The class looks for a file resource named requirements.txt and when it doesn't find it the catalog fails.

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Invalid relationship: Exec[python_requirements/usr/local/src/zookeeper_browser/requirements.txt] { subscribe => File[/usr/local/src/zookeeper_browser/requirements.txt] }, because File[/usr/local/src/zookeeper_browser/requirements.txt] doesn't seem to be in the catalog
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
root@zookeeper-03:~#

Ngôn ngữ chính
Ruby
Star
196
Fork
371
Merge trung bình
5 giờ 54 phút
Pull request đã merge (30 ngày)
5

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của voxpupuli/puppet-python

Tất cả issue của voxpupuli/puppet-python

Issue tương tự

Thêm issue về Ruby

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.