-
-
Notifications
You must be signed in to change notification settings - Fork 227
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
Add Windows support #657
Add Windows support #657
Conversation
Hi @bastelfreak , I've added some units tests for windows but not sure they are really used. The default value for |
@ljeromets thanks for all the updates. I propose that you add a selector block to the params.pp that sets diff --git a/manifests/params.pp b/manifests/params.pp
index 501eff7..11c9eaa 100644
--- a/manifests/params.pp
+++ b/manifests/params.pp
@@ -119,6 +119,11 @@ class zabbix::params {
}
# Zabbix overall params. Is used by all components.
+ $zabbix_version = downcase($facts['kernel']) ? {
+ 'windows' => '4.4.5',
+ default => '3.4',
+ }
+
$zabbix_package_state = 'present'
$zabbix_proxy = 'localhost'
$zabbix_proxy_ip = '127.0.0.1'
@@ -127,7 +132,6 @@ class zabbix::params {
$zabbix_template_dir = '/etc/zabbix/imported_templates'
$zabbix_timezone = 'Europe/Amsterdam'
$zabbix_url = 'localhost'
- $zabbix_version = '3.4'
$zabbix_web = 'localhost'
$zabbix_web_ip = '127.0.0.1'
$manage_database = true |
Also while running the tests I noticed the following error message multiple times:
You can also see that in the Travis Ci output: I assume some of the windows facts are broken :( I will have a closer look later at facterdb |
@bastelfreak I may have a idea about the json parsing issue.
I have update the metadata.json but I have now the message below:
|
Dear @ljeromets, thanks for the PR! This is pccibot, your friendly Vox Pupuli GitHub Bot. I noticed that your pull request contains merge conflict. Can you please rebase? You can find my sourcecode at voxpupuli/vox-pupuli-tasks |
1 similar comment
Dear @ljeromets, thanks for the PR! This is pccibot, your friendly Vox Pupuli GitHub Bot. I noticed that your pull request contains merge conflict. Can you please rebase? You can find my sourcecode at voxpupuli/vox-pupuli-tasks |
I would like help on the unit test ^^ |
@ljeromets thanks for the awesome work! I made two little inline comments. Can you please update the codebase and afterwards squash the commits down to one or a few? Afterwards we can merge and release this! |
Dear @ljeromets, thanks for the PR! This is pccibot, your friendly Vox Pupuli GitHub Bot. I noticed that your pull request contains merge conflict. Can you please rebase? You can find my sourcecode at voxpupuli/vox-pupuli-tasks |
Hum, I don't know why the tests have failed. |
Dear @ljeromets, thanks for the PR! This is pccibot, your friendly Vox Pupuli GitHub Bot. I noticed that your pull request contains merge conflict. Can you please rebase? You can find my sourcecode at voxpupuli/vox-pupuli-tasks |
1 similar comment
Dear @ljeromets, thanks for the PR! This is pccibot, your friendly Vox Pupuli GitHub Bot. I noticed that your pull request contains merge conflict. Can you please rebase? You can find my sourcecode at voxpupuli/vox-pupuli-tasks |
Hello @bastelfreak ,
source => https://travis-ci.org/voxpupuli/puppet-zabbix/jobs/653843178#L3867 |
We don't use it directly in this module. It *is* a dependency of at least one of our dependencies, so it needs to remain in .fixtures.yml. Fixes voxpupuli#658
Thanks for the work! We merged it in #675 |
Pull Request (PR) description
Hi,
This PR is based on the work done by @wardhus here #592
This Pull Request (PR) fixes the following issues: #175
This PR should give the possibility to install zabbix-agent on Windows with chocolatey.