-
Notifications
You must be signed in to change notification settings - Fork 40
Conversation
|
So... not sure why beaker isn't installing the inifile module. Its listed in both .fixtures.yaml and metadata.json. There is also a failure related to |
|
I suspect the problem is that we also need to update new module dependencies in spec/spec_helper_acceptance.rb |
|
@genebean The inifile module needs to be installed on the beaker machine in https://github.com/puppetlabs/puppet_metrics_dashboard/blob/master/spec/spec_helper_acceptance.rb#L29-L32. The acceptance spec helper could be better written with beaker-module_install_helper or rsyncing from the spec/fixtures, but that's a separate issue. |
71f1582
to
b5b9b63
Compare
|
@suckatrash & @jarretlavallee - the only failing test is the one that I believe is a known issue ( |
|
Thanks @genebean. It's up to @suckatrash. It seems that we can merge this and I will fix the gem update issue in another pr. |
|
The next version of the pdk should resolve that issue FWIW. |
|
@genebean - I'm fine with merging this and ignoring the build failure. Question though: How would the change in puppet_metrics_dashboard.conf vs telegraf.conf impact existing users? Will they end up with duplicate configuration? Will the service start if configured that way? Basically, could this be a breaking change? |
|
I believe that the conf.d files override the .conf file but am not 100% sure... let me test that and document the results |
dfb3252
to
82ec274
Compare
Parameters added: - influxdb_urls - telegraf_db_name - telegraf_agent_interval - http_response_timeout Global telegraf settings are now managed via ini_setting resources. Settings for this module are moved from telegraf.conf to telegraf.d/puppet_metrics_dashboard.conf. These changes allow configs other than the ones for this module to be set while still allowing this module to udpate its config. Update .fixtures and metadata (fixes puppetlabs#18) Also removed top scope references and replaced legacy facts
82ec274
to
c5bf5ff
Compare
|
Telegraf seems to be working just fine after migrating from the forge module to my pr. I updated the readme with a note about this change too. Here's how I tested: |
|
Thanks for the quick feedback @suckatrash and @jarretlavallee ! |
Parameters added:
Global telegraf settings are now managed via ini_setting resources.
Settings for this module are moved from telegraf.conf to
telegraf.d/puppet_metrics_dashboard.conf. These changes allow configs other
than the ones for this module to be set while still allowing this module
to udpate its config.
Update .fixtures and metadata (fixes #18)
Also removed top scope references and replaced legacy facts