lib/modulesync.rb in modulesync-0.0.3 vs lib/modulesync.rb in modulesync-0.1.0
- old
+ new
@@ -52,10 +52,10 @@
managed_modules = self.managed_modules("#{options[:configs]}/managed_modules.yml")
managed_modules.each do |puppet_module|
puts "Syncing #{puppet_module}"
- Git.pull(options[:namespace], puppet_module)
+ Git.pull(options[:git_user], options[:git_provider_address], options[:namespace], puppet_module)
module_configs = Util.parse_config("#{PROJ_ROOT}/#{puppet_module}/#{MODULE_CONF_FILE}")
files_to_manage = module_files | defaults.keys | module_configs.keys
files_to_delete = []
files_to_manage.each do |file|
file_configs = (defaults[file] || {}).merge(module_configs[file] || {})