# File lib/simp/cli/config/items/action/copy_simp_to_environments_action.rb, line 63 def enable_copy # Simply overwrite this file. This will blow away any existing target_directory # setting, but, realistically, the rest of the logic in simp config won't work # unless the default value for target_directory is used. File.open(@adapter_config, 'w') do |file| file.puts "---\n# Target directory\n# May be set to a fully qualified path or 'auto'\n# If set to 'auto', the directory will be determined from puppet itself\n\n# target_directory : 'auto'\n\n# Copy the RPM data to the target directory\n\n# copy_rpm_data : false\ncopy_rpm_data : true\n" end end