cookbook 'ppa_kernel', '= 0.1.0'
ppa_kernel (3) Versions 0.1.0 Follow0
Installs/Configures ppa_kernel
cookbook 'ppa_kernel', '= 0.1.0', :supermarket
knife supermarket install ppa_kernel
knife supermarket download ppa_kernel
ppa_kernel Cookbook
This cookbook installs and maintains upstream kernel debians maintained on the ppa kernel website.
These are not installable via the usual aptitude modules.
Requirements
e.g.
Platforms
- Debian
- Ubuntu
Chef
- Chef 12.0 or later
Syntax
A ppa_kernel_version resource block manages the kernel on a node, typically by installing it. The simplest use of the dpkg_package resource is:
ppa_kernel_version 'version'
which will install the named version of the kernel from the ppa repository using all of the default options and the default action (:add).
The full syntax for all of the properties that are available to the ppa_kernel_version resource is:
ppa_kernel_version 'kernel_version' do version String # defaults to 'kernel_version' if not specified type String # defaults to 'generic' if not specified headers Boolean # defaults to 'true' if not specified reboot_on_install Boolean # defaults to 'false' if not specified action Symbol # defaults to :add if not specified end
where
* ppa_kernel_version tells the chef-client to manage a kernel version
* 'kernel_version' is the major.minor.increment version of the kernel release tree
* action identifies which steps the chef-client will take to bring the node into the desired state
* type, headers and reboot_on_install are properties of this resource, with the Ruby type shown. See "Properties" section below for more information about all the properties that may be used with this resource.
Actions
This resource has the following actions:
:add
    Default. Installs a kernel verion.
Properties
This resource has the following properties:
type
    Ruby Type: String
Specifies the type of kernel to be installed (typically included are 'generic' and 'lowlatency')
headers
    Ruby Types: TrueClass, FalseClass
Optionally install the associated Kernel Headers package for this kernel version. Default value: `true`
reboot_on_install
    Ruby Types: TrueClass, FalseClass
Optionally reboot the system immediately on install or update of kernel verion. Default value: `false`
Examples
Install a given kernel version without headers
ruby
ppa_kernel_version '4.1.2' do
  action :add
  headers false
end
Install a give kernel version and trigger a reboot
ruby
ppa_kernel_version '4.4.2' do
  action :add
  reboot_on_install true
end
Contributing
- Fork the repository on Github
- Create a named feature branch (like add_component_x)
- Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
Authors: Stuart Harland essjayhch@gmail.com, Livelink Technology ltd infra@livelinktechnology.net
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
ppa_kernel CHANGELOG
This file is used to list changes made in each version of the ppa_kernel cookbook.
0.1.0
- [your_name] - Initial release of ppa_kernel
Check the Markdown Syntax Guide for help with Markdown.
The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.
Collaborator Number Metric
        
            0.1.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.1.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 contain a CONTRIBUTING.md file
        
      Foodcritic Metric
        
            0.1.0 passed this metric
        
      License Metric
        
            0.1.0 passed this metric
        
      No Binaries Metric
        
            0.1.0 passed this metric
        
      Testing File Metric
        
            0.1.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 contain a TESTING.md file
        
      Version Tag Metric
        
            0.1.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.1.0 failed this metric
            0.1.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 contain a CONTRIBUTING.md file
Foodcritic Metric
        
            0.1.0 passed this metric
        
      License Metric
        
            0.1.0 passed this metric
        
      No Binaries Metric
        
            0.1.0 passed this metric
        
      Testing File Metric
        
            0.1.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 contain a TESTING.md file
        
      Version Tag Metric
        
            0.1.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.1.0 passed this metric
            0.1.0 passed this metric
        
      No Binaries Metric
        
            0.1.0 passed this metric
        
      Testing File Metric
        
            0.1.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 contain a TESTING.md file
        
      Version Tag Metric
        
            0.1.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.1.0 passed this metric
            0.1.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 contain a TESTING.md file
Version Tag Metric
        
            0.1.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.1.0 failed this metric