Help us understand the problem. What is going on with this article?

zabbixのcookbookで`could not find recipe database for cookbook zabbix`といわれる

More than 5 years have passed since last update.

https://github.com/laradji/zabbix

ここに書いてあるとおり以下のように書くとうまく動かない

"recipe[database::mysql]",
"recipe[mysql::server]",
"recipe[zabbix]",
"recipe[zabbix::database]",
"recipe[zabbix::server]"

こんなエラーがでる。

Chef::Exceptions::RecipeNotFound
--------------------------------
could not find recipe database for cookbook zabbix

これはドキュメントが古くて、zabbix::databasezabbix::mysql_setupとすればうごくようになる

また、db関連の設定もdatabase以下ではなくserver以下にかく

{
    "recipes":[
        "database::mysql",
        "mysql::server",
        "mysql::client",
        "zabbix",
        "zabbix::mysql_setup",
        "zabbix::server",
        "zabbix::web"

    ],
    "zabbix": {
        "agent": {
            "branch": "ZABBIX%20Latest%20Stable",
            "version": "2.2.1",
            "source_url": null,
            "install": true,
            "install_method": "prebuild",

            "servers":  ["localhost"]
        },
        "server": {
            "branch": "ZABBIX%20Latest%20Stable",
            "version": "2.2.1",
            "source_url": null,
            "install": true,
            "install_method": "source",
            "db_install_method": "mysql",
            "dbname": "zabbix",
            "dbuser": "zabbix",
            "dbhost": "localhost",
            "dbpassword": "zabbixpass",
            "dbport": "3306"
        },
        "web": {
            "install": true,
            "fqdn":  "localhost"
        }
    },
    "mysql": {
        "server_root_password": "iloverandompasswordsbutthiswilldo",
        "server_repl_password": "iloverandompasswordsbutthiswilldo",
        "server_debian_password": "iloverandompasswordsbutthiswilldo"
    }
}
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away