文件操作 - memory.rb
返回文件管理
返回主菜单
删除本文件
文件: /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/node/memory.rb
编辑文件内容
# frozen_string_literal: true require_relative '../../../puppet/node' require_relative '../../../puppet/indirector/memory' class Puppet::Node::Memory < Puppet::Indirector::Memory desc "Keep track of nodes in memory but nowhere else. This is used for one-time compiles, such as what the stand-alone `puppet` does. To use this terminus, you must load it with the data you want it to contain; it is only useful for developers and should generally not be chosen by a normal user." end
修改文件时间
将文件时间修改为当前时间的前一年
删除文件