systemd

Configure system (hostname, locale, timezone) using Systemd

Dāvis

davispuh

9,658 downloads

5,501 latest version

5.0 quality score

Version information

  • 1.0.1 (latest)
  • 1.0.0
  • 0.1.0
released Nov 25th 2016
This version is compatible with:
  • Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 3.0.0
  • Archlinux, Gentoo

Start using this module

Documentation

davispuh/systemd — version 1.0.1 Nov 25th 2016

systemd

Table of Contents

  1. Overview
  2. Setup - The basics of getting started with systemd
  3. Requirements - Module requirements
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Unlicense - This module is Unlicensed
  8. Contributing - Guide for contributing to the module

Overview

This module aims to automate all systemd related functionality. Currently implemented is only configuration for hostname, locale, timezone.

Setup

What systemd affects

Systemd module makes sure that systemd is installed and allows configuring hostname, locale and timezone.

Requirements

  • Puppet 3.5 or later
  • trusted_node_data = true set in puppet.conf

Usage

For just installing systemd, use include systemd

To configure hostname: include systemd::hostname

To configure locale: include systemd::locale

To set timezone: include systemd::timezone

All options can be specified with Hiera

systemd::hostname::hostname: somehost
systemd::locale::locale: en_US.utf8
systemd::locale::keymap: us
systemd::timezone::timezone: America/New_York
systemd::timezone::local_rtc: false
systemd::timezone::use_ntp: true

Reference

  • manifests/init.pp
  • manifests/params.pp
  • manifests/hostname.pp
  • manifests/locale.pp
  • manifests/timezone.pp

Limitations

Currently have been tested only on Archlinux and Gentoo

Unlicense

Copyright-Free

All text, documentation, code and files in this repository are in public domain (including this text, README). It means you can copy, modify, distribute and include in your own work/code, even for commercial purposes, all without asking permission.

About Unlicense

Contributing

Feel free to improve anything.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Warning: By sending pull request to this repository you dedicate any and all copyright interest in pull request (code files and all other) to the public domain. (files will be in public domain even if pull request doesn't get merged)

Also before sending pull request you acknowledge that you own all copyrights or have authorization to dedicate them to public domain.

If you don't want to dedicate code to public domain or if you're not allowed to (eg. you don't own required copyrights) then DON'T send pull request.