Code Monkey home page Code Monkey logo

cookbook-thruk's People

Contributors

cyberflow avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

kasen cyberflow

cookbook-thruk's Issues

Thruk v1.84-6 package depends problem

Latest version of Thruk (v1.84-6) use libmysqlclient18 package in depends.
Maybe use the attribute type %w with list of package in recipe debian?

Package does not seem to install and ubuntu 12.04

First I had to patch the libmysqlcleint16 and replace with libmysqlclient18 but now I am running into, the below.

[2013-11-13T05:17:12+00:00] FATAL: Net::HTTPServerException: remote_file[/var/chef/cache/thruk_1.72-2_debian12_amd64.deb](thruk::debian line 11) had an error: Net::HTTPServerException: 404 "Not Found"
vagrant@vagrant-jb-thruk-test:~$ dpkg-query -W thruk | grep -q '^thruk[[:blank:]]1.72-2$'

add thruk-default.erb template

Hi Martha,

Great cookbook, thank you for publishing this!! Having just implemented it on a server, it is a chance to submit feedback and a QA report to you at no charge. :-) The cookbook has worked fine. Here are some small items to possibly consider changing:

This template is only in the section "if node['thruk']['use_ssl']", however it could be added more globally, no? If the server name is customized then it needs to be present:

template '/etc/default/thruk' do
source 'thruk-default.erb'
mode '0644'
end

The cookbook currently requires you to set at least one thruk configuration, or this error occurs:

Chef::Mixin::Template::TemplateError (undefined method `each' for nil:NilClass) on line #9:

     7: # those from the thruk.conf
     8: ############################################
     9: <% node['thruk']['conf'].each do |k,v| %>
    10: <%= k %> = <%= v %>
    11: <% end %>

But will the thruk server really be broken if you just go with all defaults there? It ought to be permitted, right?

Feature enhancement:

Thruk mainly interfaces with Nagios, Icinga, Shinken and Naemon. Neither the Shinken cookbook nor the Thruk cookbook has chef code to automatically set up Thruk with Shinken. This is a gray area between the two cookbooks, you might say the code should actually go in the shinken cookbook. Anyway, to think about more, maybe just add a couple pointers in the docs, since it is related to the topic of Thruk.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.