- From: Nikhil Shah <
>
- To: "
" <
>
- Cc: "
" <
>
- Subject: [chef] Re: Re: Re: Re: nagios plugins
- Date: Mon, 2 Sep 2013 13:20:36 -0400
Matt,
I will be touching base with you! I think you may have really helped me out. Thanks,
Nikhil Shah On Sep 2, 2013, at 10:10 AM, Mat Davies <
">
> wrote: Nikhil
on the NSClient++ try using the chocolatey cookbook I use that with a quick custom cookbook
the main recipe is
"include_recipe "chocolatey"
if node['kernel']['machine'] == "x86_64"
chocolatey "NSClientPlusPlus.x64"
else
chocolatey "NSClientPlusPlus.x86"
end
template "#{node['chocolatey-base-packages']['nsclientpath']}NSC.ini" do
source "NSC.ini.erb"
action :create
notifies :restart, "service[NSClientpp]", :immediately
end
service "NSClientpp" do
service_name "NSClientpp"
supports :start => true, :stop => true, :restart => true
action [:restart, :enable] end"
then just create a template NSC.ini.erb
haven't bothered putting it up on community yet as I was planning on putting some reasonable attributes in the template first but haven't had a chance.
-Mat
|
Archive powered by MHonArc 2.6.16.