pcfens/puppet-filebeat

Problems installing filebeat on Windows

Closed this issue · 4 comments

Hey,

I'm trying to install the module on Windows, we use foreman for all the classes on the puppet. I've downloaded the github code to our system. But when I try to run puppet agent -t this error appears: Error: Failed to apply catalog: Parameter provider failed on Exec [unzip filebeat-6.2.4-windows-x86_64]: Invalid exec provider 'powershell' (file: /modules/filebeat/manifest/install/windows. pp, line: 40)

I've also installed the module powershell https://forge.puppet.com/puppetlabs/powershell.

I don't know what I should do next, can you help me?

Thanks,
Berta

Everything should work once you have the powershell module installed, so I'm not really sure what might be happening.

Can you confirm that the provider is sync-ing to the client as expected?

When I run the puppet agent -t this shows:

image

Also if I try to install the powershell module again it displays that is already installed.

image

Do you need more information?
The OS is Windows Server 2016 64-bits
The puppet agent is version 5.x

Thank you!
Berta

It looks like you're installing the powershell module in yourproduction environment but running the agent in your devbertafacter environment.

Thanks!! It was for environment.
I will close the issue then!