Closed ghost closed 7 years ago
Hi @rafaelfc-olx let us review this issue, thanks for report the issue
@rafaelfc-olx @jnarvaezp fixed this issue in the pull request #33, can you test please?
@jlruizmlg unfortunately its breaking for me:
root@stg-wazuhmanager-i-0abf49180f901767f:~# puppet agent -vt
Info: Using configured environment 'staging'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Syntax error at 'server' at /etc/puppetlabs/code/environments/staging/modules/wazuh/manifests/repo.pp:15:9 on node stg-wazuhmanager-i-0abf49180f901767f.my.domain.
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
There's a comma missing at line 12 in https://github.com/wazuh/wazuh-puppet/pull/33/files. After putting the comma, it works in a backwards-compatible way :)
Thanks for the quick response.
Hi @rafaelfc-olx
Thanks for the revision, the syntax error has been fixed in the repository.
JN
Using puppetlabs/apt version 4 I get this issue when
include wazuh::server
:If I force the installation of puppetlabs/apt version 2.4.0, everything works properly: