Tehmasp Chaudhri | @tehmaspc
Technical Reasons:
Business Reasons:
Shoutout to Phil Zimmerman's Puppet Testing For The Win
...
def write_emptydirs
empty_directory target.join('files')
empty_directory target.join('manifests')
empty_directory target.join('templates')
empty_directory target.join('spec')
empty_directory target.join('serverspec/spec')
empty_directory target.join('.vagrant_puppet')
end
def write_modulefile
template 'puppet/ModuleFile.erb', target.join('ModuleFile')
end
...
name '<%= module_name %>'
version '0.1.0'
source 'UNKNOWN'
author '<%= maintainer_email %>'
license '<%= license_name %>'
summary 'UNKNOWN'
description 'UNKNOWN'
project_page 'UNKNOWN'
## Add dependencies, if any:
# dependency 'username/name', '>= 1.2.0'
./git/gitignore.erb
./git/puppet-git-hooks-pre-commit.erb
./licenses/apachev2.erb
./licenses/mit.erb
./licenses/reserved.erb
./puppet/init.pp.erb
./puppet/ModuleFile.erb
./README.md.erb
./spec/fixtures.yml.erb
./spec/rspec/init_spec.rb.erb
./spec/rspec/spec_helper.rb.erb
./spec/serverspec/init_spec.rb.erb
./spec/serverspec/spec_helper.rb.erb
./util/Gemfile.erb
./util/Rakefile.erb
./vagrant/init.pp.erb
./vagrant/Vagrantfile.erb
Magnum (our custom Thor based tool)