Skip to content

Ensure the host owner in The Foreman exists with SSH keys

Notifications You must be signed in to change notification settings

theforeman/puppet-foreman_simple_user

Repository files navigation

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.

Usage

Include the top level foreman_simple_user class to create the users.

include foreman_simple_user

Contributing

  • 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 CONTRIBUTING.md file for much more information.

More info

See https://theforeman.org/support

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

https://www.apache.org/licenses/LICENSE-2.0

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.