Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create foreman_user module #296

Merged
merged 7 commits into from
Jun 18, 2019
Merged

Create foreman_user module #296

merged 7 commits into from
Jun 18, 2019

Commits on Jun 18, 2019

  1. Create foreman_user module

    Create a new module for managing users. In order to change password we
    need to force the `password` field to be sent during POST but that
    field is not included when doing GET, so we put it in `check_missing`.
    
    I noticed, though, that the value for `check_missing` was a variable
    from a separate loop which seems wrong. Instead I change it to get the
    value from the incoming desired dict. This makes the module behave as
    we want.
    
    To ensure that the new user works we do a minor API request as the
    newly created user.
    ephracis committed Jun 18, 2019
    Configuration menu
    Copy the full SHA
    e6abf8f View commit details
    Browse the repository at this point in the history
  2. Fix linting

    ephracis committed Jun 18, 2019
    Configuration menu
    Copy the full SHA
    0b30867 View commit details
    Browse the repository at this point in the history
  3. Set apypie cache path

    ephracis committed Jun 18, 2019
    Configuration menu
    Copy the full SHA
    9ae930a View commit details
    Browse the repository at this point in the history
  4. Rebase and fix name_map

    ephracis committed Jun 18, 2019
    Configuration menu
    Copy the full SHA
    6e31337 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ee22089 View commit details
    Browse the repository at this point in the history
  6. Removed unused import

    ephracis committed Jun 18, 2019
    Configuration menu
    Copy the full SHA
    41f04f0 View commit details
    Browse the repository at this point in the history
  7. Adapt to vars refactor

    ephracis committed Jun 18, 2019
    Configuration menu
    Copy the full SHA
    a025307 View commit details
    Browse the repository at this point in the history