Bugs item #313018, was changed at 2011-02-23 09:21 by Todd Zullinger
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=313018&group_id=100114

Status: Open
Priority: 3
Submitted By: Mathieu Parent (sathieu)
Assigned to: Nobody (None)
Summary: completion for puppet  
Distribution: --Distribution-Agnostic--
Originally reported in: None
Milestone: None
Status: None
Original bug number: 


Initial Comment:
The attached file adds completion for puppet and related (puppetmasterd puppetd 
puppetca ralsh puppetrun puppetqd filebucket puppetdoc puppet)

It has been tested on Debian Squeeze.

----------------------------------------------------------------------

Comment By: Todd Zullinger (tmz-guest)
Date: 2011-02-23 10:55

Message:
I'm a bit unfamiliar with alioth, as I can't figure out how to add a new 
attachment.  But I think the cert_list command can be simplified.  I replaced 
the sed command (which did not work properly in my testing) with: awk '/^[+-] / 
{print $2}'

That's a little easier on the eyes and gets the proper certs in my case.  To be 
most accurate, for --revoke actions, only entries beginning with + should be 
included, as revoking already revoked certs is a bit pointless. ;)

Thanks for working on this Mathieu.

----------------------------------------------------------------------

Comment By: Mathieu Parent (sathieu)
Date: 2011-02-23 10:21

Message:
Here is a new version which should handle puppet 0.25.

Only tested on squeeze.

----------------------------------------------------------------------

Comment By: Todd Zullinger (tmz-guest)
Date: 2011-02-23 09:39

Message:
Looks like it could be handy.  Using puppetca --revoke <tab> with puppet-0.25.x 
yields "invalid option: --all" because it calls puppet cert, which doesn't 
exist until puppet-2.6.  I don't know if it's worth trying to handle that 
better or not.

----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=313018&group_id=100114

_______________________________________________
Bash-completion-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel

Reply via email to