Git Product home page Git Product logo

puppet-module-grubby's Introduction

puppet-module-grubby

Table of Contents

  1. Description
  2. Setup - The basics of getting started with grubby
  3. Usage - Configuration options and additional functionality
  4. Limitations - OS compatibility, etc.
  5. Development - Guide for contributing to the module

Description

The Grubby Puppet module allows for managing the GRUB configuration using Grubby

Setup

What grubby affects

This module can be used to manage the boot loader configuration like setting default kernel, add or remove kernel arguments.

It modifies mostly the files under /boot.

Beginning with grubby

include ::grubby

Usage

Examples are provided in the REFERENCE.md

Reference

Please check REFERENCE.md

Limitations

This module should work with all platforms that can use grubby for managing their configuration, but is primary developed for and tested on RHEL 8.

Development

Please use Puppet Development kit (pdk)

Validate syntax

pdk validate

Run unit tests

pdk test unit

For details on how to add code comments and generate documentation with Strings, see the Puppet Strings documentation and style guide

Preparation for release: Please check CONTRIBUTING.md

puppet-module-grubby's People

Contributors

atsonkov avatar traylenator avatar

Watchers

 avatar

Forkers

traylenator

puppet-module-grubby's Issues

Rspec test issue when using the module

failed: rspec: ./spec/classes/base/grubby_spec.rb:10: error during compilation: /home/atsonkov/projects/puppet5/profile/spec/fixtures/modules/grubby/data/common.yaml: file does not contain a valid yaml hash on node XXX
profile::base::linux::grubby on redhat-6-x86_64 with default parameters is expected to compile into a catalogue without dependency cycles
Failure/Error:
let(:facts) { os_facts }

      it { is_expected.to compile }
      it {
        is_expected.to contain_class('grubby')

Seems to be easily fixable by completely emptying data/common.yaml (or add valid yaml if needed)

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.