文件操作 - resource_instance.rb
返回文件管理
返回主菜单
删除本文件
文件: /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/resource_instance.rb
编辑文件内容
# frozen_string_literal: true # A simple container for a parameter for an object. Consists of a # title and a set of parameters. # class Puppet::Parser::AST::ResourceInstance < Puppet::Parser::AST::Branch attr_accessor :title, :parameters def initialize(argshash) Puppet.warn_once('deprecations', 'AST::ResourceInstance', _('Use of Puppet::Parser::AST::ResourceInstance is deprecated')) super(argshash) end end
修改文件时间
将文件时间修改为当前时间的前一年
删除文件