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

apache: sync options and add tests #798

Merged
merged 1 commit into from May 31, 2018

Conversation

sileht
Copy link
Contributor

@sileht sileht commented May 25, 2018

apache: sync options and add tests

This change adds test coverage for the apache plugins.

And two missing options SSLCiphers and Timeout.

content: content_instance_file,
path: "#{options[:plugin_conf_dir]}/25-apache-instance-site2.conf"
)
end
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you add another test to verify that it compiles with all dependencies?

Copy link
Contributor Author

@sileht sileht May 25, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have added check that required classes are included, is that enough ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add a is_expected.to compile.with_all_deps

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gotcha, done


it 'Will not manage collectd-apache' do
is_expected.not_to contain_package('collectd-apache').with(ensure: 'present',
name: 'collectd-apache')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@bastelfreak bastelfreak added enhancement New feature or request needs-work not ready to merge just yet labels May 25, 2018
@bastelfreak
Copy link
Member

Hi @sileht, thanks for the PR. Can you take a look at the inline comments and the failing travis job?

@sileht sileht force-pushed the sileht/apache-plugin branch 3 times, most recently from cf1287a to 01f9211 Compare May 25, 2018 10:57
@sileht
Copy link
Contributor Author

sileht commented May 29, 2018

Any update ?

This change adds test coverage for the apache plugins.

And two missing options SSLCiphers and Timeout.
@bastelfreak bastelfreak removed the needs-work not ready to merge just yet label May 31, 2018
@bastelfreak bastelfreak merged commit bf21a78 into voxpupuli:master May 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants