Hi Daniel,

It is a bit tricky to automate.

While this isn't a solution for Puppet, I created a Chef cookbook [0] that creates a CS admin user, populates the proper configuration files, and restarts services. We make use of this cookbook in our Vagrant Riak CS cluster project [1] [2].

Hopefully this is useful in trying to produce a solution for Puppet.

-- 
Hector

[0] https://github.com/hectcastro/chef-riak-cs-create-admin-user
[1] http://docs.basho.com/riakcs/latest/tutorials/fast-track/Building-a-Virtual-Test-Environment/
[2] https://github.com/basho/vagrant-riak-cs-cluster

On August 29, 2013 at 11:38:07 AM, Sajner, Daniel G ([email protected]) wrote:

Hi.

 

I’m creating Puppet configs for a Riak/Riak-CS/Stanchion stack.  Ideally I want the stack to come up with some predefined users and buckets already created.  This is all predicated on having an admin user created in Riak-CS which is problematic in the Puppet automation realm given this value has to be generate via a POST to a running Riak-CS application and then set in the app.config file.

 

Is it possible to bootstrap Riak-CS with an admin user some other way than POST’ing to a running app?

 

Thanks,

Dan

 

Confidentiality Notice: This electronic message transmission, including any attachment(s), may contain confidential, proprietary, or privileged information from Chemical Abstracts Service (“CAS”), a division of the American Chemical Society (“ACS”). If you have received this transmission in error, be advised that any disclosure, copying, distribution, or use of the contents of this information is strictly prohibited. Please destroy all copies of the message and contact the sender immediately by either replying to this message or calling 614-447-3600.

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to