Currently the dscreate command provides two options:
fromfile Create an instance of Directory Server from an inf answer file example Display an example ini answer file, with comments
Proposed changes:
1) Rename the "example" option to "create-template". Additionally, it should write the output directly to a file the user specifies, not to stdout. Proposed usage: $ dscreate create-instance /path/to/file.inf This allows admins to easily create config file without redirecting the content. Additionally, the current name (example) is not self-explaining.
2) Rename the "fromfile" option to "create-instance". This should explain better what the option does.
3) It would be great if the these options could be turned into real -- options (--create-template, --create-instance), same as --help and --verbose, which already exist.
Note: The file created by the --create-template option should create the file with mode 600, because users will edit it and the file can contain the password in plain text.
Metadata Update from @mreynolds: - Issue assigned to mreynolds
Metadata Update from @mreynolds: - Custom field component adjusted to None - Custom field origin adjusted to None - Custom field reviewstatus adjusted to None - Custom field type adjusted to None - Custom field version adjusted to None - Issue set to the milestone: 1.4.0
Used a slightly l different naming convention:
fromfile -> install example -> create-template
Fixed in https://pagure.io/389-ds-base/pull-request/49805
Metadata Update from @mreynolds: - Custom field reviewstatus adjusted to ack (was: None) - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Update docker file:
177f5c4..d881a4c master -> master
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in 389-ds-base's github repository.
This issue has been cloned to Github and is available here: - https://github.com/389ds/389-ds-base/issues/2850
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Metadata Update from @spichugi: - Issue close_status updated to: wontfix (was: fixed)
Login to comment on this ticket.