Skip to content

Commit

Permalink
Added missing datatypes to riak_core.schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe DeVivo committed Jan 7, 2014
1 parent 878aed0 commit b01b152
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions priv/riak_core.schema
Original file line number Diff line number Diff line change
Expand Up @@ -45,24 +45,28 @@

%% @doc Default location of ringstate
{mapping, "ring.state_dir", "riak_core.ring_state_dir", [
{datatype, directory},
{default, "{{ring_state_dir}}"}
]}.

%% @doc Default cert location for https can be overridden
%% with the ssl config variable, for example:
{mapping, "ssl.certfile", "riak_core.ssl.certfile", [
{datatype, file},
{commented, "{{platform_etc_dir}}/cert.pem"}
]}.

%% @doc Default key location for https can be overridden with the ssl
%% config variable, for example:
{mapping, "ssl.keyfile", "riak_core.ssl.keyfile", [
{datatype, file},
{commented, "{{platform_etc_dir}}/key.pem"}
]}.

%% @doc Default signing authority location for https can be overridden
%% with the ssl config variable, for example:
{mapping, "ssl.cacertfile", "riak_core.ssl.cacertfile", [
{datatype, file},
{commented, "{{platform_etc_dir}}/cacertfile.pem"}
]}.

Expand All @@ -80,11 +84,13 @@
%% items concatenated together.)
{mapping, "handoff.ssl.certfile", "riak_core.handoff_ssl_options.certfile", [
%% {commented, "/tmp/erlserver.pem"},
{datatype, file},
{level, advanced}
]}.

%% @doc if you need a seperate keyfile for handoff
{mapping, "handoff.ssl.keyfile", "riak_core.handoff_ssl_options.keyfile", [
{datatype, file},
{level, advanced}
]}.

Expand All @@ -99,26 +105,31 @@

%% Platform-specific installation paths (substituted by rebar)
{mapping, "platform_bin_dir", "riak_core.platform_bin_dir", [
{datatype, directory},
{default, "{{platform_bin_dir}}"}
]}.

%% @see platform_bin_dir
{mapping, "platform_data_dir", "riak_core.platform_data_dir", [
{datatype, directory},
{default, "{{platform_data_dir}}"}
]}.

%% @see platform_bin_dir
{mapping, "platform_etc_dir", "riak_core.platform_etc_dir", [
{datatype, directory},
{default, "{{platform_etc_dir}}"}
]}.

%% @see platform_bin_dir
{mapping, "platform_lib_dir", "riak_core.platform_lib_dir", [
{datatype, directory},
{default, "{{platform_lib_dir}}"}
]}.

%% @see platform_bin_dir
{mapping, "platform_log_dir", "riak_core.platform_log_dir", [
{datatype, directory},
{default, "{{platform_log_dir}}"}
]}.

Expand Down

0 comments on commit b01b152

Please sign in to comment.