Bug #16239
closed
Recommend bash-completion package with rudder-agent
Added by Florian Heigl about 5 years ago.
Updated about 4 years ago.
Severity:
Minor - inconvenience | misleading | easy workaround
User visibility:
First impressions of Rudder
Description
I remember to have had tab completion for rudder* commands.
In my current testing round, it seems there is none.
I logged out and back in, the dependencies are there.
root@svc-debian9-687:~# dpkg -l | grep rudder
ii rudder-agent 6.0.0~beta1-debian9 amd64 Configuration management and audit tool - agent
root@svc-debian9-687:~# cat /etc/debian_version
9.5
root@svc-debian9-687:~# aptitude search bash-com
i bash-completion - programmable completion for the bash shell
So I suspect it was a contrib bit that hasn't made it into the agent or got lost or something.
Or I dreamed up the whole thing? (don't think so)
It makes quite the difference in usability though.
Hi Florian, completion files are still packaged under /etc/bash_completion.d/.
We do not set the bash-completion as a dependency since it is not mandatory to run rudder.
But we should definitely put it as a recommended dependency
Installing the bash-completion package should make it works as you expect it to :)
- Target version set to 5.0.15
- Status changed from New to In progress
- Assignee set to Félix DALLIDET
- Status changed from In progress to Pending technical review
- Assignee changed from Félix DALLIDET to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder-packages/pull/2150
- Status changed from Pending technical review to Pending release
- Subject changed from bash completion to Recommend bash-completion package with rudder-agent
- Name check changed from To do to Reviewed
Hi,
please have a look at my first post - i had bash completion installed, but it didn't kick in for 'rudder<tab>'
does it work for you like this?
correction - it's there it's working, it just works a bit odd.
root@svc-debian9-687:~# rudder age<tab>
agent directive help relay remote server
Here it should resolv to rudder agent already. It works quite badly that's why i thought it doesn't work. But maybe that's just how bash does it, i have been on other equipment for a lot of time recently.
So i think they apt-recommend solution is good! Not sure what is wrong with the completion.
- Fix check changed from To do to Checked
This bug has been fixed in Rudder 5.0.15 which was released today.
- Related to Bug #16250: Rudder autocompletion does not complete automatically the inputs added
- Status changed from Pending release to Released
- Priority changed from 80 to 69
Also available in: Atom
PDF