Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

luigi (1) Versions 0.1.4

Installs/Configures luigi

Berkshelf
Policyfile
Knife
cookbook 'luigi', '~> 0.1.4'
cookbook 'luigi', '~> 0.1.4', :supermarket
knife cookbook site install luigi
knife cookbook site download luigi
README
Dependencies
Changelog
Quality 38%

luigi Cookbook

This cookbook installs and configures luigi.

Requirements

Cookbooks

  • python - luigi needs python cookbook to run.

Attributes

luigi::default

The main attributes are: <table> <tr> <th>Key</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> <tr> <td><tt>['luigi']['version']</tt></td> <td>String</td> <td>luigi version to be installed</td> <td><tt>'2.5.0'</tt></td> </tr> <tr> <td><tt>['luigi']['config_dir']</tt></td> <td>String</td> <td>Directory for luigi configuration</td> <td><tt>'/etc/luigi'</tt></td> </tr> <tr> <td><tt>['luigi']['setup_user']</tt></td> <td>Boolean</td> <td>If true it will create a luigi Unix user</td> <td><tt>true</tt></td> </tr> <tr> <td><tt>['luigi']['user']</tt></td> <td>String</td> <td>Unix user name</td> <td><tt>'luigi'</tt></td> </tr> <tr> <td><tt>['luigi']['setup_group']</tt></td> <td>Boolean</td> <td>If true it will create a luigi Unix group</td> <td><tt>true</tt></td> </tr> <tr> <td><tt>['luigi']['group']</tt></td> <td>String</td> <td>Unix group name</td> <td><tt>'luigi'</tt></td> </tr> <tr> <td><tt>['luigi']['shell']</tt></td> <td>String</td> <td>Unix user shell for luigi user</td> <td><tt>'/bin/false'</tt></td> </tr> <tr> <td><tt>['luigi']['server']['auto_start']</tt></td> <td>Boolean</td> <td>If true the luigid service will auto start</td> <td><tt>true</tt></td> </tr> <tr> <td><tt>['luigi']['server']['log_dir']</tt></td> <td>String</td> <td>The luigid log directory</td> <td><tt>'/var/log/luigi'</tt></td> </tr> <tr> <td><tt>['luigi']['server']['pid_file']</tt></td> <td>String</td> <td>The luigid pid file</td> <td><tt>'/var/run/luigid.pid'</tt></td> </tr> </table>

All the configuration of luigi are written to default['luigi']['config_dir']/luigi.cfg file. The pattern is: [mysection] option=hello intoption=123

and you can add them through chef as follows:

default['luigi']['luigi_cfg'] = {
  mysection => {
    'option' = 'hello',
    'intoption' = 123
  }
}

In order to load ENV variables when running your service, you can add them as: default['luigi']['server']['env']['VARIABLE'] = 'value'

In order to create a default luigid directory you can add: default['luigi']['server']['dir'] = '/var/luigi' If present, it will create this directory and it's present by default.

Please check attributes/default.rb for the entire list of attributes.

Usage

luigi::default

In order to install luigi, add this in you machine configuration recipe: include_recipe 'luigi'

Or just include luigi in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[luigi]"
  ]
}

Contributing

Feel free to fork this repository and use it the way you like. If you want to propose any improvements, just create a pull request from you forked branch.

License and Authors

The full list of contributors is here.

MIT © Chaordic

Dependent cookbooks

python >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

luigi CHANGELOG

This file is used to list changes made in each version of the luigi cookbook.

0.1.4

  • Made the luigi user shell configurable through attribute node['luigi']['shell']

0.1.3

  • Changed to luigi.cfg since client.cfg will be deprecated in future releases

0.1.2

  • Changed how user/group resource is handled by Chef

0.1.1

  • Added support for specifying luigi version

0.1.0

  • Initial release of luigi

Collaborator Number Metric
            

0.1.4 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.1.4 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 contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.1.4 failed this metric

FC056: Ensure maintainer_email is set in metadata: luigi/metadata.rb:1
FC064: Ensure issues_url is set in metadata: luigi/metadata.rb:1
FC065: Ensure source_url is set in metadata: luigi/metadata.rb:1
FC066: Ensure chef_version is set in metadata: luigi/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: luigi/metadata.rb:1
Run with Foodcritic Version 14.0.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.1.4 passed this metric

Publish Metric
            

0.1.4 passed this metric

Supported Platforms Metric
            

0.1.4 failed this metric

luigi should declare what platform(s) it supports.

Testing File Metric
            

0.1.4 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 contain a TESTING.md file

Version Tag Metric
            

0.1.4 passed this metric