Bug 1117016
| Summary: | RFE: Unable to CSV import or export 'Access Policy' for Beaker hosts | ||
|---|---|---|---|
| Product: | [Retired] Beaker | Reporter: | Keith Fryklund <kfryklun> |
| Component: | inventory | Assignee: | beaker-dev-list |
| Status: | CLOSED WONTFIX | QA Contact: | tools-bugs <tools-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 0.16 | CC: | aigao, asaha, dcallagh, rmancy |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-07-09 05:04:11 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: | |||
|
Description
Keith Fryklund
2014-07-07 19:54:52 UTC
Can you use the bkr client in a bash loop? For example:
while read fqdn ; do
bkr policy-grant --system=$fqdn --permission=reserve --group=colonel
bkr policy-grant --system=$fqdn --permission=edit_system --group=colonel
done <new-systems.txt
We are trying to move towards using the bkr client rather than CSV files for data automation, since it is generally more flexible, simpler to use, and simpler for us to implement. Especially for something like system access policies which don't really map well to a tabular format like CSV.
(In reply to Dan Callaghan from comment #2) > Can you use the bkr client in a bash loop? For example: > > while read fqdn ; do > bkr policy-grant --system=$fqdn --permission=reserve --group=colonel > bkr policy-grant --system=$fqdn --permission=edit_system > --group=colonel > done <new-systems.txt > > We are trying to move towards using the bkr client rather than CSV files for > data automation, since it is generally more flexible, simpler to use, and > simpler for us to implement. Especially for something like system access > policies which don't really map well to a tabular format like CSV. Awesome, I was unaware bkr client had the capability to do this. I much prefer bkr client over CSV as well. Thank you for your help, feel free to close this ticket. WONTFIX since bkr client is preferred over CSV. |