Ensure the host owner in The Foreman exists with SSH keys

The Foreman



1,250 latest version

5.0 quality score

Version information

  • 0.1.0 (latest)
released Oct 18th 2019
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
  • Puppet >= 5.5.0 < 7.0.0
  • RedHat
    , Archlinux,

Start using this module

Tags: foreman, user


theforeman/foreman_simple_user — version 0.1.0 Oct 18th 2019

Puppet Forge Build Status

Foreman Simple User module for Puppet

Every host in The Foreman has an owner which is either a user or a group. This module enables you to ensure the user exists with their SSH keys. Old SSH keys are purged from managed users. This makes it easy to get your infrastructure up and running with centralized logins similar to LDAP.

This requires use of the Foreman ENC and version 1.15+.

Note this module doesn't purge old users. That means that changing owners only adds users.


Include the top level foreman_simple_user class to create the users.

include foreman_simple_user


  • Fork the project
  • Commit and push until you are happy with your contribution
  • Send a pull request with a description of your changes

See the file for much more information.

More info

See or at #theforeman irc channel on freenode

Copyright (c) 2017 Ewoud Kohl van Wijngaarden

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.