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

issue when setting manage_user, manage_group flags to false #340

Open
amooorsy opened this issue Jan 11, 2023 · 0 comments
Open

issue when setting manage_user, manage_group flags to false #340

amooorsy opened this issue Jan 11, 2023 · 0 comments

Comments

@amooorsy
Copy link

amooorsy commented Jan 11, 2023

This file resource has dependency on both group/users resources where it cause issues when you choose to not manage users or groups:

  file { $log_dir:
    ensure  => directory,
    owner   => $user_name,
    group   => $group_name,
    require => [
      Group[$group_name],
      User[$user_name],
    ],
  }
Error:
 Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Could not find resource 'Group[kafka]' in parameter 'require' (file: /etc/puppetlabs/code/environments/productionmodules/kafka/manifests/init.pp, line: 151)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant