文件操作 - environment.conf
返回文件管理
返回主菜单
删除本文件
文件: /etc/puppetlabs/code/environments/production/environment.conf
编辑文件内容
# Each environment can have an environment.conf file. Its settings will only # affect its own environment. See docs for more info: # https://puppet.com/docs/puppet/latest/config_file_environment.html # Any unspecified settings use default values; some of those defaults are based # on puppet.conf settings. # If these settings include relative file paths, they'll be resolved relative to # this environment's directory. # Allowed settings and default values: # modulepath = ./modules:$basemodulepath # manifest = (default_manifest from puppet.conf, which defaults to ./manifests) # config_version = (no script; Puppet will use the time the catalog was compiled) # environment_timeout = (environment_timeout from puppet.conf, which defaults to 0) # Note: unless you have a specific reason, we recommend only setting # environment_timeout in puppet.conf.
修改文件时间
将文件时间修改为当前时间的前一年
删除文件