我试图在/etc/fstab
文件中将选项nosgid
附加到/dev/shm
安装。我怎样才能将这个值附加到文件中的现有选项?我尝试运行以下代码时出现错误。木偶安装类型:追加选项属性值
class osharden {
mount { "/dev/shm" :
device => 'tmpfs',
options +> 'nosgid',
fstype => tmpfs,
}
}
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Syntax error at '+>'; expected '}' at /etc/puppet/modules/osharden/manifests/init.pp:4 on node