ファイル/etc/fstab
のを/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