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

Add docker nodesets for acceptance tests #248

Merged
merged 2 commits into from
Oct 20, 2016

Conversation

jskarpe
Copy link
Contributor

@jskarpe jskarpe commented Oct 20, 2016

No description provided.

@dhoppe
Copy link
Member

dhoppe commented Oct 20, 2016

I think we should concentrate on releases we are already using for Vagrant. For example CentOS 5 and Debian 6 are not used anymore and regarding Ubuntu we only support LTS releases.

I also think we should use an .erb template for the nodesets, because we might need to get different packages installed.

@bastelfreak
Copy link
Member

Probably we should also add a comment into each file that it is managed by modulesync.

@jskarpe
Copy link
Contributor Author

jskarpe commented Oct 20, 2016

I'm fine with deprecating old distros, but I disagree that it should be templates. In my opinion the nodesets should be standardized, and any additional packages required can be installed using the acceptance test itself as Puppet code. (E.G adding package { 'git': ensure => present } in the test itself)

Doesn't seem to be comments in the other nodesets (or other files really) with regards to modulesync? It's not sufficient with the commit message from modulesync with gets displayed by GitHub?

@dhoppe
Copy link
Member

dhoppe commented Oct 20, 2016

This could be a good solution. @bastelfreak What do you think?

My bad. CentOS is not EOL until 2017-03-31. I just added some comments at the other nodesets to point to modulesync.

@dhoppe
Copy link
Member

dhoppe commented Oct 20, 2016

@yuav Could you please restore centos-511-x64.yml, add one for docker and copy the comments from the other nodesets?

I spoke to @bastelfreak and will merge your pr afterwards.

@jskarpe jskarpe force-pushed the docker_nodesets branch 2 times, most recently from 0559059 to 8af4667 Compare October 20, 2016 13:53
@jskarpe
Copy link
Contributor Author

jskarpe commented Oct 20, 2016

Fixed the CentOS-5 stuff. Why do we care about vim not understanding yml extension?

@@ -0,0 +1,16 @@
HOSTS:
Copy link
Member

Choose a reason for hiding this comment

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

Please prepend:

---
# This file is managed via modulesync
# https://github.com/voxpupuli/modulesync
# https://github.com/voxpupuli/modulesync_config

- 'sed -i -e "/mingetty/d" /etc/inittab'
CONFIG:
type: aio
log_level: debug
Copy link
Member

Choose a reason for hiding this comment

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

Please append:

...
# vim: syntax=yaml

@dhoppe
Copy link
Member

dhoppe commented Oct 20, 2016

Because we use that for other files as well.

dhoppe@macbook ..cts/puppet/voxpupuli/modulesync_config (git)-[master] % find . -type f | xargs grep vim
./config_defaults.yml:# vim: syntax=yaml
./Gemfile:# vim: syntax=ruby
./managed_modules.yml:# vim: syntax=yaml
./moduleroot/Gemfile:# vim: syntax=ruby
./moduleroot/Rakefile:# vim: syntax=ruby
./moduleroot/spec/acceptance/nodesets/centos-511-x64.yml:# vim: syntax=yaml
./moduleroot/spec/acceptance/nodesets/centos-66-x64-pe.yml:# vim: syntax=yaml
./moduleroot/spec/acceptance/nodesets/centos-66-x64.yml:# vim: syntax=yaml
./moduleroot/spec/acceptance/nodesets/centos-72-x64.yml:# vim: syntax=yaml
./moduleroot/spec/acceptance/nodesets/debian-78-x64.yml:# vim: syntax=yaml
./moduleroot/spec/acceptance/nodesets/debian-82-x64.yml:# vim: syntax=yaml
./moduleroot/spec/acceptance/nodesets/ubuntu-server-1204-x64.yml:# vim: syntax=yaml
./moduleroot/spec/acceptance/nodesets/ubuntu-server-1404-x64.yml:# vim: syntax=yaml
./moduleroot/spec/acceptance/nodesets/ubuntu-server-1604-x64.yml:# vim: syntax=yaml
./moduleroot/spec/classes/coverage_spec.rb:# vim: syntax=ruby
./moduleroot/spec/spec_helper.rb:# vim: syntax=ruby
./modulesync.yml:# vim: syntax=yaml
./Rakefile:# vim: syntax=ruby

@jskarpe
Copy link
Contributor Author

jskarpe commented Oct 20, 2016

I've updated as per requirements now, but let the record show I think this should be fixed in vim, not every single file that could possibly be edited by vim.

@dhoppe dhoppe merged commit f1bf677 into voxpupuli:master Oct 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants