diff options
| author | Franck Cuny <franck.cuny@gmail.com> | 2014-02-05 21:00:30 -0800 |
|---|---|---|
| committer | Franck Cuny <franck.cuny@gmail.com> | 2014-02-05 21:00:30 -0800 |
| commit | 1ff71086fe337a47cc5242328f42dd1cc0e9fbd4 (patch) | |
| tree | 8c81c3f3cba6b406df65bb9e30da533b8a9a1a6e /_drafts/looking-at-chronos.md | |
| parent | Insert a picture. (diff) | |
| download | lumberjaph-1ff71086fe337a47cc5242328f42dd1cc0e9fbd4.tar.gz | |
Update some drafts.
Diffstat (limited to '_drafts/looking-at-chronos.md')
| -rw-r--r-- | _drafts/looking-at-chronos.md | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/_drafts/looking-at-chronos.md b/_drafts/looking-at-chronos.md new file mode 100644 index 0000000..9c27259 --- /dev/null +++ b/_drafts/looking-at-chronos.md @@ -0,0 +1,56 @@ +--- +layout: post +title: Looking at Chronos +summary: In which I take a look at Chronos +--- + +# Looking at Chronos + +I've decided to look at Chronos, a cron replacement running on Mesos. + +Mesos + +## Getting an environment + +First I need to get an environment to play with it. Let's do that quickly with Vagrant and Ansible: + +```ruby +Vagrant.configure("2") do |config| + config.ssh.forward_agent = true + + config.vm.provision :ansible, :playbook => 'playbook.yml' + + config.vm.provider :virtualbox do |vb, override| + override.vm.box = "precise64" + override.vm.box_url = "http://files.vagrantup.com/precise64.box" + end + +end +``` + +And the playbook for Ansible: + +```yaml + - hosts: all + sudo: yes + tasks: + - name: Install a bunch of packages + apt: pkg={{ item }} state=installed + with_items: + - autoconf + - make + - gcc + - cpp + - patch + - python-dev + - git + - libtool + - default-jdk + - default-jre + - gzip + - libghc-zlib-dev + - libcurl4-openssl-dev + +``` + +Now I can run `vagrant up` and wait to get the VM build with everything I need. |
