I wish to set the 'frozen_directory = Share/Folder' setting on some folders that resides within the Greyhole storage.
Now, when I add the above setting to greyhole.yml below the line 'Other:', it will end up in errors.
Code: Select all
[root@hda config]# echo 'require "yaml"; YAML::load(File.open("greyhole.yml"))' | irb
require "yaml"; YAML::load(File.open("greyhole.yml"))
ArgumentError: syntax error on line 82, col -1: `'
from /usr/lib/ruby/1.8/yaml.rb:133:in `load'
from /usr/lib/ruby/1.8/yaml.rb:133:in `load'
from (irb):1
from /usr/lib/ruby/1.8/date.rb:247
From greyhole.yml:
Code: Select all
# special note about this field:
#
# * the format of this section is passed *raw*
# to he greyhole.conf file. i.e. use setting = value in greyhole
# style, not setting: value
# * do not use tabs in new lines below, use spaces. otherwise the
# yaml parser gets confused. (fwiw: vim does that automatically)
#
