Skip to content

Commit

Permalink
Add vim modelines to everything and change PC->VP. Fixes #150.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Yaworski committed May 13, 2016
1 parent 93412c4 commit 3c4a407
Show file tree
Hide file tree
Showing 19 changed files with 39 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2015 Puppet Community
# Copyright 2016 Vox Pupuli
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -24,3 +24,4 @@ group :development do
gem 'travis'
gem 'travis-lint'
end
# vim: syntax=ruby
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ $ msync update -f {module_name} --noop
$ cd modules/{module_name}
# edit then git commit/push
```
# vim: syntax=markdown
3 changes: 2 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2015 Puppet Community
# Copyright 2016 Vox Pupuli
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -14,3 +14,4 @@
require 'rubocop/rake_task'

RuboCop::RakeTask.new
# vim: syntax=ruby
2 changes: 1 addition & 1 deletion config_defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@ Rakefile:
- 'lint'
- 'syntax'
- 'spec'

...
# vim: syntax=yaml
2 changes: 2 additions & 0 deletions managed_modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@
- puppet-windows_power
- puppet-windowsfeature
- puppet-zabbix
...
# vim: syntax=yaml
1 change: 1 addition & 0 deletions moduleroot/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,4 @@ can use `BEAKER_DESTROY=no` and `BEAKER_PROVISION=no`. On the first run you will
at least need `BEAKER_PROVISION` set to yes (the default). The Vagrantfile
for the created virtual machines will be in `.vagrant/beaker_vagrant_fies`.

# vim: syntax=markdown
2 changes: 1 addition & 1 deletion moduleroot/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ end
ENV['PUPPET_VERSION'].nil? ? puppetversion = '<%= @configs['puppet_version'] || '~> 4.0' %>' : puppetversion = ENV['PUPPET_VERSION'].to_s
gem 'puppet', puppetversion, :require => false, :groups => [:test]
# vim:ft=ruby
# vim: syntax=ruby
1 change: 1 addition & 0 deletions moduleroot/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ task test: [
:<%= t %>,
<% end -%>
]
# vim: syntax=ruby
3 changes: 3 additions & 0 deletions moduleroot/spec/acceptance/nodesets/centos-511-x64.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
HOSTS:
centos-511-x64:
roles:
Expand All @@ -7,3 +8,5 @@ HOSTS:
hypervisor: vagrant
CONFIG:
type: foss
...
# vim: syntax=yaml
3 changes: 3 additions & 0 deletions moduleroot/spec/acceptance/nodesets/centos-66-x64-pe.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
HOSTS:
centos-66-x64:
roles:
Expand All @@ -9,3 +10,5 @@ HOSTS:
hypervisor: vagrant
CONFIG:
type: pe
...
# vim: syntax=yaml
3 changes: 3 additions & 0 deletions moduleroot/spec/acceptance/nodesets/centos-66-x64.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
HOSTS:
centos-66-x64:
roles:
Expand All @@ -7,3 +8,5 @@ HOSTS:
hypervisor: vagrant
CONFIG:
type: foss
...
# vim: syntax=yaml
3 changes: 3 additions & 0 deletions moduleroot/spec/acceptance/nodesets/centos-72-x64.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
HOSTS:
centos-72-x64:
roles:
Expand All @@ -7,3 +8,5 @@ HOSTS:
hypervisor: vagrant
CONFIG:
type: foss
...
# vim: syntax=yaml
3 changes: 3 additions & 0 deletions moduleroot/spec/acceptance/nodesets/debian-78-x64.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
HOSTS:
debian-78-x64:
roles:
Expand All @@ -7,3 +8,5 @@ HOSTS:
hypervisor: vagrant
CONFIG:
type: foss
...
# vim: syntax=yaml
3 changes: 3 additions & 0 deletions moduleroot/spec/acceptance/nodesets/debian-82-x64.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
HOSTS:
debian-82-x64:
roles:
Expand All @@ -7,3 +8,5 @@ HOSTS:
hypervisor: vagrant
CONFIG:
type: foss
...
# vim: syntax=yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
HOSTS:
ubuntu-server-1204-x64:
roles:
Expand All @@ -7,3 +8,5 @@ HOSTS:
hypervisor: vagrant
CONFIG:
type: foss
...
# vim: syntax=yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
HOSTS:
ubuntu-server-1404-x64:
roles:
Expand All @@ -7,3 +8,5 @@ HOSTS:
hypervisor: vagrant
CONFIG:
type: foss
...
# vim: syntax=yaml
1 change: 1 addition & 0 deletions moduleroot/spec/classes/coverage_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require 'rspec-puppet'

at_exit { RSpec::Puppet::Coverage.report! }
# vim: syntax=ruby
1 change: 1 addition & 0 deletions moduleroot/spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
<%- [@configs['spec_overrides']].flatten.compact.each do |line| -%>
<%= line %>
<%- end -%>
# vim: syntax=ruby
2 changes: 2 additions & 0 deletions modulesync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ git_base: 'git@github.com:'
namespace: voxpupuli
branch: modulesync
message: "Update from voxpupuli modulesync_config"
...
# vim: syntax=yaml

0 comments on commit 3c4a407

Please sign in to comment.