Bug 1313634
Summary: | [RFE] Warning message while pulp-puppet-module-builder overwrites existing module files. | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Kamudini Gazdikova <kshirsal> |
Component: | Pulp | Assignee: | satellite6-bugs <satellite6-bugs> |
Status: | CLOSED ERRATA | QA Contact: | Lukas Pramuk <lpramuk> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.1.7 | CC: | bbuckingham, bkearney, bmbouter, cwelton, daviddavis, dkliban, ggainey, ipanova, jcallaha, mhrivnak, mlele, pcreech, rchan, riehecky, ttereshc, xdmoon |
Target Milestone: | Unspecified | Keywords: | FutureFeature, Triaged |
Target Release: | Unused | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-02-21 12:34:46 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Comment 5
pulp-infra@redhat.com
2016-11-21 18:54:47 UTC
The Pulp upstream bug priority is at Low. Updating the external tracker on this bug. The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug. The Pulp upstream bug status is at POST. Updating the external tracker on this bug. The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug. All upstream Pulp bugs are at MODIFIED+. Moving this bug to POST. The Pulp upstream bug status is at ON_QA. Updating the external tracker on this bug. The Pulp upstream bug status is at VERIFIED. Updating the external tracker on this bug. The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug. VERIFIED. @satellite-6.3.0-22.0.el7sat.noarch pulp-puppet-tools-2.13.4-3.el7sat.noarch by the manual reproducer described in comment#0: 1. # mkdir -p /tmp/example-output 2. # cd /tmp/ 3. # puppet module generate support-example We need to create a metadata.json file for this module. Please answer the following questions; if the question is not applicable to this module, feel free to leave it blank. Puppet uses Semantic Versioning (semver.org) to version modules. What version is this module? [0.1.0] --> Who wrote this module? [support] --> What license does this module code fall under? [Apache 2.0] --> How would you describe this module in a single sentence? --> Where is this module's source code repository? --> Where can others go to learn more about this module? --> Where can others go to file issues about this module? --> ---------------------------------------- { "name": "support-example", "version": "0.1.0", "author": "support", "summary": null, "license": "Apache 2.0", "source": "", "project_page": null, "issues_url": null, "dependencies": [ {"name":"puppetlabs-stdlib","version_requirement":">= 1.0.0"} ] } ---------------------------------------- About to generate this metadata; continue? [n/Y] --> Notice: Generating module at /tmp/support-example... Notice: Populating templates... Finished; module generated in support-example. support-example/Gemfile support-example/Rakefile support-example/manifests support-example/manifests/init.pp support-example/spec support-example/spec/classes support-example/spec/classes/init_spec.rb support-example/spec/spec_helper.rb support-example/tests support-example/tests/init.pp support-example/README.md support-example/metadata.json 4. # cd /tmp/support-example 5. # pulp-puppet-module-builder --output-dir=/tmp/example-output cd /tmp/support-example git status find . -name Modulefile -o -name metadata.json puppet module build . mkdir -p /tmp/example-output cp ./pkg/support-example-0.1.0.tar.gz /tmp/example-output cd /tmp/example-output cd /tmp/support-example cd /tmp/support-example 6. # sha1sum /tmp/example-output/support-example-0.1.0.tar.gz ddc688bd04b2da02299b815d8860e1131c94684c /tmp/example-output/support-example-0.1.0.tar.gz # vim /tmp/support-example/manifests/init.pp (added a new line/space) 7. # cd /tmp/support-example 8. # pulp-puppet-module-builder --output-dir=/tmp/example-output cd /tmp/support-example git status find . -name Modulefile -o -name metadata.json puppet module build . mkdir -p /tmp/example-output Skipping support-example-0.1.0.tar.gz as the file exists cd /tmp/example-output cd /tmp/support-example cd /tmp/support-example 9. # sha1sum /tmp/example-output/support-example-0.1.0.tar.gz ddc688bd04b2da02299b815d8860e1131c94684c /tmp/example-output/support-example-0.1.0.tar.gz >>> module remained untouched - if there the module exists already in a location then the tool skips overwriting it Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:0336 |