salt.modules.riak

Riak Salt Module

salt.modules.riak.cluster_commit()

Commit Cluster Changes

Changed in version 2015.8.0.

CLI Example:

salt '*' riak.cluster_commit
salt.modules.riak.cluster_join(username, hostname)

Join a Riak cluster

Changed in version 2015.8.0.

CLI Example:

salt '*' riak.cluster_join <user> <host>

username - The riak username to join the cluster hostname - The riak hostname you are connecting to

salt.modules.riak.cluster_leave(username, hostname)

Leave a Riak cluster

New in version 2015.8.0.

CLI Example:

salt '*' riak.cluster_leave <username> <host>

username - The riak username to join the cluster hostname - The riak hostname you are connecting to

salt.modules.riak.cluster_plan()

Review Cluster Plan

Changed in version 2015.8.0.

CLI Example:

salt '*' riak.cluster_plan
salt.modules.riak.member_status()

Get cluster member status

Changed in version 2015.8.0.

CLI Example:

salt '*' riak.member_status
salt.modules.riak.services()

List available services on a node

New in version 2015.8.0.

CLI Example:

salt '*' riak.services
salt.modules.riak.start()

Start Riak

CLI Example:

salt '*' riak.start
salt.modules.riak.status()

Current node status

New in version 2015.8.0.

CLI Example:

salt '*' riak.status
salt.modules.riak.stop()

Stop Riak

Changed in version 2015.8.0.

CLI Example:

salt '*' riak.stop
salt.modules.riak.test()

Runs a test of a few standard Riak operations

New in version 2015.8.0.

CLI Example:

salt '*' riak.test