I can certainly adjust it to do so, though it works under Chef 11 without.
But if using the AND is more correct, I'm all for that :) Will try to do
later today.

--Morgan

On Wed, May 29, 2013 at 1:40 PM, Joshua Timberman
<notifications@github.com>wrote:

> In recipes/server.rb:
>
> > @@ -51,7 +51,7 @@
> >  # find nagios web interface users from the users data bag
> >  group = node['nagios']['users_databag_group']
> >  begin
> > -  sysadmins = search(:users, "groups:#{group}")
> > +  sysadmins = search(:users, "groups:#{group} NOT action:remove")
>
> I believe we need AND NOT; the users_manage provider has that syntax.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/opscode-cookbooks/nagios/pull/158/files#r4444600>
> .
>