[request-tracker-maintainers] Bug#594982: Bug#594982: Bug#594982: Bug#594982: rt3.8-clients: no way to manage watchers of queues

Dominic Hargreaves dom at earth.li
Tue Sep 7 20:20:00 UTC 2010


On Wed, Sep 01, 2010 at 09:02:32PM +0200, Tollef Fog Heen wrote:

> Another annoying thing is that rt(1) exits 0 even when operations fail,
> leading me to have chef recipes that do:
> 
>   execute "create queue" do
>     command "rt create -t queue set name='#{queue}' set CorrespondAddress=#{queue}@#{node[:domain]} set CommentAddress=#{queue}-comment@#{node[:domain]}"
>     environment({ "RTCONFIG" => "/etc/request-tracker3.8/rt_root.conf" })
>     not_if "rt show queue/#{queue} | grep -q '^Name: #{queue}$'", :environment => { "RTCONFIG" => "/etc/request-tracker3.8/rt_root.conf" }
>   end
> 
>   execute "verify queue existence" do
>     command "rt show queue/#{queue} | grep -q '^Name: #{queue}$'"
>     environment({ "RTCONFIG" => "/etc/request-tracker3.8/rt_root.conf" })
>   end
> 
> which is a bit silly.
> 
> Do you want a separate bug report for that?

Yeah, that's more definitely a (minor) bug.

Cheers,
Dominic.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)





More information about the pkg-request-tracker-maintainers mailing list