Bug 1450949
| Summary: | [Bug]Executing "puppet agent disable" and it's not throwing any error message | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | rakesh kumar <rakumar> | ||||
| Component: | Puppet | Assignee: | satellite6-bugs <satellite6-bugs> | ||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | Katello QA List <katello-qa-list> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 6.2.8 | CC: | bbuckingham, jcallaha, misterbonnie, nshaik, riehecky | ||||
| Target Milestone: | Unspecified | Keywords: | Triaged | ||||
| Target Release: | Unused | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| URL: | https://tickets.puppetlabs.com/browse/PUP-4776 | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-06-02 09:39:56 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: | |||||||
| Attachments: |
|
||||||
|
Description
rakesh kumar
2017-05-15 12:50:08 UTC
Created attachment 1283623 [details]
agent.rb patch
Created patch from upstream MR, and applied works on puppet version puppet-3.8.6
To apply the patch follow below steps
1) Download the patch attached to this Bugzilla to /tmp location
2) Execute following commands on the puppet client
# /usr/share/ruby/vendor_ruby/puppet/application
# patch -p1 agent.rb < /tmp/agent.rb.patch
3) Verify
# puppet agent disable
Error: Could not prepare for execution: The puppet agent command does not take parameters
# echo $?
1
# puppet agent --disable
# echo $?
0
-- nagoor
Step2, there is a typo in my command # cd /usr/share/ruby/vendor_ruby/puppet/application # patch -p1 agent.rb < /tmp/agent.rb.patch |