文件操作 - module.rb
返回文件管理
返回主菜单
删除本文件
文件: /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/face/module.rb
编辑文件内容
# frozen_string_literal: true require_relative '../../puppet/face' require_relative '../../puppet/module_tool' require_relative '../../puppet/util/colors' Puppet::Face.define(:module, '1.0.0') do extend Puppet::Util::Colors copyright "Puppet Inc.", 2012 license _("Apache 2 license; see COPYING") summary _("Creates, installs and searches for modules on the Puppet Forge.") description <<-EOT This subcommand can find, install, and manage modules from the Puppet Forge, a repository of user-contributed Puppet code. It can also generate empty modules, and prepare locally developed modules for release on the Forge. EOT display_global_options "environment", "modulepath" end
修改文件时间
将文件时间修改为当前时间的前一年
删除文件