cookbook 'tomoyo', '= 0.1.5'
tomoyo (6) Versions 0.1.5 Follow0
Installs and configures TOMOYO Linux
cookbook 'tomoyo', '= 0.1.5', :supermarket
knife supermarket install tomoyo
knife supermarket download tomoyo
tomoyo-chef
Cookbook to install and configure TOMOYO Linux (version 2.5.0).
The cookbook does not reinstall the kernel, so the Linux kernel should already support TOMOYO Linux for it to work. The cookbook does the following.
- Install dependencies
- Install TOMOYO user tools
- Initialize TOMOYO Linux
- Setup GRUB to start kernel with
security=tomoyo
Cookbook usage
Just include tomoyo::default
to your recipe.
Vagrant usage
Dependencies
- Vagrant
- Virtualbox
- Ruby >=1.9 (for Berkshelf)
Automatic install
Just run
curl https://raw.github.com/tuvistavie/tomoyo-chef/master/install.sh | sh
and when everything is done cd
in the directory, restart the VM and you are done.
cd tomoyo-chef
vagrant reload
Manual install
Install berkshelf and vagrant plugins:
gem install berkshelf
vagrant plugin install vagrant-omnibus
vagrant plugin install vagrant-bindfs
vagrant plugin install vagrant-berkshelf
Clone the repository and launch the box. This can take a while the first time.
git clone https://github.com/tuvistavie/tomoyo-chef.git
cd tomoyo-chef
vagrant up
Then, reload the VM in order to have the Linux kernel loaded with proper options.
vagrant reload
Dependent cookbooks
apt >= 0.0.0 |
reboot >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
comoyo_chef CHANGELOG
This file is used to list changes made in each version of the comoyo_chef cookbook.
0.1.0
- [your_name] - Initial release of comoyo_chef
Check the Markdown Syntax Guide for help with Markdown.
The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.
Foodcritic Metric
0.1.5 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/fad146576df4a13045aac639/tomoyo/recipes/reboot.rb:11
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/fad146576df4a13045aac639/tomoyo/recipes/reboot.rb:12
0.1.5 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/fad146576df4a13045aac639/tomoyo/recipes/reboot.rb:12