Version information
This version is compatible with:
- Puppet Enterprise 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 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
Add this module to your Puppetfile:
mod 'davispuh-systemd', '1.0.1'
Learn more about managing modules with a PuppetfileDocumentation
systemd
Table of Contents
- Overview
- Setup - The basics of getting started with systemd
- Requirements - Module requirements
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Unlicense - This module is Unlicensed
- 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 inpuppet.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
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.
Contributing
Feel free to improve anything.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - 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.