Code Monkey home page Code Monkey logo

puppet-cgroups's Introduction

cgroups

This is the cgroups module.

Requirements

  • Puppetlabs/stdlib

Installation

puppet module install seattle-biomed/cgroups

Synopsis

Install and manage cgroups service.

Parameters

  • config_ensure (Default: 'present')
  • config_options (Default: Empty)
  • package_ensure (Default: 'true')
  • service_ensure (Default: 'running')
  • service_enable (Default: 'true')

Examples

Basic Installation

include '::cgroups'

Parameterized Installation

$config_options = { option => value }

class { '::cgroups': config_ensure => 'present', config_options => $config_options, package_ensure => 'true', service_ensure => 'running', service_enable => 'true', }

Installation with Hiera


class: - cgroups cgroups::config::ensure: 'present' cgroups::config::options: option: value cgroups::package::ensure: 'true' cgroups::service::ensure: 'running' cgroups::service::enable: 'true'

License

See LICENSE

Contact

Support

Please log tickets and issues at our Projects site

puppet-cgroups's People

Contributors

apowers avatar

Watchers

 avatar  avatar  avatar

Forkers

apowers

puppet-cgroups's Issues

cgroups::config::options wrong type?

So according to documentation "cgroups::config::options" should be as a hash.

  cgroups::config::options:
    blabla: 1
    ssadas: 5

but in the config.pp I see this

validate_array($options)

and of course I'm getting following error:

==> default: Error: {"cfs_period_us"=>"2"} is not an Array.  It looks to be a Hash at /tmp/vagrant-puppet/modules-be897c4d40d9e94dadf022aab51dab05/cgroups/manifests/config.pp:12 on node monitor01.us-east-1b.public
==> default: Error: {"cfs_period_us"=>"2"} is not an Array.  It looks to be a Hash at /tmp/vagrant-puppet/modules-be897c4d40d9e94dadf022aab51dab05/cgroups/manifests/config.pp:12 on node monitor01.us-east-1b.public

Is the documentation is deprecated?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.