文件操作 - hiera.yaml
返回文件管理
返回主菜单
删除本文件
文件: /etc/puppetlabs/code/environments/production/hiera.yaml
编辑文件内容
--- version: 5 defaults: # The default value for "datadir" is "data" under the same directory as the hiera.yaml # file (this file) # When specifying a datadir, make sure the directory exists. # See https://puppet.com/docs/puppet/latest/environments_about.html for further details on environments. # datadir: data # data_hash: yaml_data hierarchy: - name: "Per-node data (yaml version)" path: "nodes/%{::trusted.certname}.yaml" - name: "Other YAML hierarchy levels" paths: - "common.yaml"
修改文件时间
将文件时间修改为当前时间的前一年
删除文件