cookbook 'dunst', '= 0.2.0'
dunst (4) Versions 0.2.0 Follow1
Installs/Configures dunst
cookbook 'dunst', '= 0.2.0', :supermarket
knife supermarket install dunst
knife supermarket download dunst
dunst Cookbook |
This cookbook installs and configures dunst.
Requirements
platforms
The following platforms and versions are tested and supported using Opscode's test-kitchen.
- Debian 9
Attributes
Default values are the default setup of dunst 1.1.0
.
Look at /usr/share/doc/dunst/dunst.example.qz
for more details about dunst configuration. Configuration example is also available in the repository.
Some configuration variables may change with dunst version 1.2.0
and 1.3.0
. Read the ChangeLog for more details.
dunst::package
Key | Type | Description |
---|---|---|
[dunst][package] |
String | Package name to install (default: dunst ) |
dunst::compile
Key | Type | Description |
---|---|---|
[dunst][compile][dependencies] |
Array | Build dependencies list (default: See [attributes](attributes/default.rb)) |
[dunst][compile][build_dir] |
String | Build directory (default: /opt/dunst ) |
[dunst][compile][repository] |
String | Git repository (default: https://github.com/dunst-project/dunst.git ) |
[dunst][compile][version] |
String | Git branch or tag name (default: v1.3.1 ) |
dunst::config
Key | Type | Description |
---|---|---|
[dunst][user] |
String | When non-nil, deploy dunstrc template for user (default: nil ) |
[dunst][group] |
String | User's group for file permission (default: node[dunst][user] ) |
[dunst][home] |
String | User's home directory (default: /home/node[dunst][user] ) |
[dunst][config] |
Hash | Configuration hash to provision dunstrc file (default: See [attributes](attributes/default.rb)) |
[dunst][rules] |
Hash | Rules list to add to dunstrc file (default: {} ) |
Usage
dunst::default
This recipe do nothing.
dunst::package
This recipe install Dunst from package.
{ "name":"my_node", "run_list": [ "recipe[dunst::package]" ] }
dunst::compile
This recipe clone Dunst repository, install build dependencies and build Dunst project.
{ "name":"my_node", "run_list": [ "recipe[dunst::compile]" ], "attributes": { "dunst": { "compile": { "build_dir": "/tmp/dunst-build" } } } }
dunst::config
This recipe deploy the dunstrc configuration file for a user. node[dunst][user]
is required (default is nil
) for this recipe.
{ "name":"my_node", "run_list": [ "recipe[dunst::config]" ], "attributes": { "dunst": { "config": { "global": { ... }, ... }, "rules": { "espeak":{ "summary": "*", "script": "dunst_espeak.sh" } } } } }
Testing
See [TESTING.md](TESTING.md)
Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md)
License and Authors
Authors: Sliim sliim@mailoo.org
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
dunst CHANGELOG
This file is used to list changes made in each version of the dunst cookbook.
0.2.0
- Breaking changes: Dunst configuration attributes now located at
node[dunst][config]
- Split
dunst::default
recipe into multiple recipes:-
dunst::default
- Empty recipe -
dunst::package
- Package installation -
dunst::compile
- Build the project from sources -
dunst::config
- Configure user's dunstrc file
-
- Improve
dunstrc.erb
template - Improve CI
0.1.0
- Initial release of dunst cookbook
Collaborator Number Metric
0.2.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.2.0 passed this metric
Foodcritic Metric
0.2.0 passed this metric
License Metric
0.2.0 passed this metric
No Binaries Metric
0.2.0 passed this metric
Testing File Metric
0.2.0 passed this metric
Version Tag Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.2.0 failed this metric
0.2.0 passed this metric
Foodcritic Metric
0.2.0 passed this metric
License Metric
0.2.0 passed this metric
No Binaries Metric
0.2.0 passed this metric
Testing File Metric
0.2.0 passed this metric
Version Tag Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.2.0 passed this metric
0.2.0 passed this metric
No Binaries Metric
0.2.0 passed this metric
Testing File Metric
0.2.0 passed this metric
Version Tag Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.2.0 passed this metric
0.2.0 passed this metric
Version Tag Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.2.0 failed this metric