文件操作 - report.rb
返回文件管理
返回主菜单
删除本文件
文件: /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/reference/report.rb
编辑文件内容
# frozen_string_literal: true require_relative '../../puppet/reports' report = Puppet::Util::Reference.newreference :report, :doc => "All available transaction reports" do Puppet::Reports.reportdocs end report.header = " Puppet can generate a report after applying a catalog. This report includes events, log messages, resource statuses, and metrics and metadata about the run. Puppet agent sends its report to a Puppet master server, and Puppet apply processes its own reports. Puppet master and Puppet apply will handle every report with a set of report processors, configurable with the `reports` setting in puppet.conf. This page documents the built-in report processors. See [About Reporting](https://puppet.com/docs/puppet/latest/reporting_about.html) for more details. "
修改文件时间
将文件时间修改为当前时间的前一年
删除文件