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

Hiera nrpe::plugins and hiera:commands not working on ubuntu 20.04 and 22.04 #67

Open
dadez73 opened this issue Dec 15, 2022 · 0 comments · May be fixed by #68
Open

Hiera nrpe::plugins and hiera:commands not working on ubuntu 20.04 and 22.04 #67

dadez73 opened this issue Dec 15, 2022 · 0 comments · May be fixed by #68

Comments

@dadez73
Copy link

dadez73 commented Dec 15, 2022

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 2019.8.12
  • Ruby:
  • Distribution:
  • Module version: 5.0.0

How to reproduce (e.g Puppet code you use)

declare commands or plugins with hiera
nrpe::commands:
check_users:
ensure: 'present'
command: 'check_users $ARG1$'

What are you seeing

no error nor entries are shown on ubuntu 20.04 & 22.04

What behaviour did you expect instead

resource created in the system

Output log

Centos

Info: Using environment 'dev'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Info: Loading facts
Info: Caching catalog for XXXX
Info: Applying configuration version '1671102348'
Notice: /Stage[main]/Nrpe/Nrpe::Command[check_users]/File[/etc/nrpe.d/check_users.cfg]/ensure: defined content as '{md5}f48dde678157903de217c52714a7638a' (corrective)
Info: Nrpe::Command[check_cpu_stats]: Scheduling refresh of Class[Nrpe::Service]
Info: Class[Nrpe::Service]: Scheduling refresh of Service[nrpe]

Ubuntu
Info: Using environment 'dev'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Info: Loading facts
Info: Caching catalog for XXXX
Info: Applying configuration version '1671102464'
Notice: /Stage[main]/Nrpe::Install/Package[nagios-plugins]/ensure: created (corrective)

@dadez73 dadez73 linked a pull request Dec 20, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant