MogileFS Puppet module

23 views
Skip to first unread message

Jon Skarpeteig

unread,
May 6, 2013, 10:52:52 AM5/6/13
to mogile
Hi all,

I've created a puppet module for MogileFS, and I've put it up on
GitHub. In case someone finds it useful: https://github.com/Yuav/puppet-mogilefs

It's only been tested on Ubuntu 12.04 - but should be fairly easy to
extend to other platforms (mainly init scripts that's incompatible
atm. afaik)

I've also added a quick hack to mimic the "Creating a MogileFS Test
Setup in 15 Minutes" guide at: https://code.google.com/p/mogilefs/wiki/QuickStartGuide

The (hopefully) quicker version of QuickStartGuide

sudo apt-get install git puppet -y
git clone git://github.com/Yuav/puppet-mogilefs.git mogilefs
sudo puppet apply --modulepath=. -e "include mogilefs::dev"

This will produce a dev setup more or less identical to the guide,
however;
* Using SQLite database instead of mysql by default
* Mogstored init script created in /etc/init.d/mogstored.dev
* Local environment for the logged on user not modified, and still
need manual labor:
echo "trackers = 127.0.1.5:7001
domain = toast" >> ~/.mogilefs.conf

Feedback welcome!

- Jon Skarpeteig
Reply all
Reply to author
Forward
0 new messages