diff options
Diffstat (limited to '_drafts/looking-at-chronos.md')
| -rw-r--r-- | _drafts/looking-at-chronos.md | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/_drafts/looking-at-chronos.md b/_drafts/looking-at-chronos.md deleted file mode 100644 index 9c27259..0000000 --- a/_drafts/looking-at-chronos.md +++ /dev/null @@ -1,56 +0,0 @@ ---- -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. |
