This module ensures the oddjobd package is installed, service is running and configures oddjob-mkhomedir.
See REFERENCE.md for API details.
This module will ensure oddjob is installed and the service is running. Additionally, it will use a custom template to create the mkhomedir oddjob enforcing umask.
simp/oddjob
requires simp/simplib
if using the mkhomedir class.
include 'oddjob'
include 'oddjob'
include 'oddjob::mkhomedir'
With Hieradata:
oddjob::mkhomedir::umask: '0077'
SIMP Puppet modules are generally intended to be used on a Red Hat Enterprise Linux-compatible distribution.
Please read our Contribution Guide.
If you find any issues, they can be submitted to our JIRA.
To run the system tests, you need Vagrant
installed.
You can then run the following to execute the acceptance tests:
bundle exec rake beaker:suites
Some environment variables may be useful:
BEAKER_debug=true
BEAKER_provision=no
BEAKER_destroy=no
BEAKER_use_fixtures_dir_for_modules=yes
BEAKER_debug
: show the commands being run on the STU and their output.BEAKER_destroy=no
: prevent the machine destruction after the tests finish so you can inspect the state.BEAKER_provision=no
: prevent the machine from being recreated. This can save a lot of time while you're writing the tests.BEAKER_use_fixtures_dir_for_modules=yes
: cause all module dependencies to be loaded from thespec/fixtures/modules
directory, based on the contents of.fixtures.yml
. The contents of this directory are usually populated bybundle exec rake spec_prep
. This can be used to run acceptance tests to run on isolated networks.