Usually if you create a Vagrant VM an insecure private key gets injected into the VM, which is located at ~/.vagrant.d/insecure_private_key. In Ansible you can reference that key to ensure a passwordless login to the VM. Since Vagrant 1.8.5 this doesn’t work anymore, because of security reasons. That’s why I use now this shell provisionerContinue reading “Inject SSH pub key to Vagrant image”
Author Archives: Robert Reiz
Setting up a Server for Ansible
Ansible is a great tool for automation and configuration management. Maybe you heard already about Chef and Puppet. Ansible is in the same field, but with a much simpler approach. The big advantage of Ansible is that you don’t need a central master server for it and you don’t need to install an “Ansible” clientContinue reading “Setting up a Server for Ansible”
vagrant push => “error starting upload: upload: resource not found”
I’m just playing around with Vagrant and as soon I tried: I got this error message: Luckily there is already a ticket to that on GitHub. And the workaround is this export: After executing the export above the command worked for me.
Just found this cool infographic about bootstrap from blueberrylabs.
Ubuntu enforce memory freedom
Sometimes it occurs that a device runs full with memory. Simply deleting the files on the device doesn’t help. Ubuntu stills shows that the device is 100% full, even if there are no files on it anymore. This command usually helps to give free the memory. sudo tune2fs -m 0 /dev/sda5 If it doesn’t helpContinue reading “Ubuntu enforce memory freedom”
2014 in review
The WordPress.com stats helper monkeys prepared a 2014 annual report for this blog. Here’s an excerpt: Madison Square Garden can seat 20,000 people for a concert. This blog was viewed about 66,000 times in 2014. If it were a concert at Madison Square Garden, it would take about 3 sold-out performances for that many peopleContinue reading “2014 in review”
Docker is one of the most promising technologies these days. It is a container technology based on Linux. A very lightweight form of virtualization. Docker containers can be as small as 50 MB. Much smaller than traditional VMs. The Docker project was started in March 2013 by dotCloud. In the mean while the makers ofContinue reading “Docker Introduction”
Java HTTP Request with Basic Auth
This is how you do a simple HTTP request with Java. These code performs the actual HTTP request and saves the response in a String variable. If the HTTP server requires Baisc Auth this code will fail. To make it work for Basic Auth these 3 additional lines are required. The whole method looks likeContinue reading “Java HTTP Request with Basic Auth”
MongoDB Map & Reduce with Date filter
We are using MongoDB as primary DB at VersionEye, together with MongoID. Software package is a document in the “products” collection. These products collections has a subcollection with “versions”. Assume we want to know how many versions/artifacts existed for a given language to a given time? That is not a simple query in MongoDB. ThisContinue reading “MongoDB Map & Reduce with Date filter”
How to get notified about out-dated dependencies in build.sbt?
Scala SBT is the build tool for the programming language Scala. You can specify your project dependencies in the “build.sbt” file, similar to the pom.xml file in Maven. A build.sbt file can look like this. But how do you get notified about new versions of your dependencies? VersionEye now supports Scala SBT. VersionEye can monitorContinue reading “How to get notified about out-dated dependencies in build.sbt?”
Facebook Share Link
Global Variables with Ansible
Ansible is a great tool for IT automation. It’s similar to Chef and Puppet, just better! I wrote here already an introduction to Ansible. In Ansible you have roles and playbooks. A playbook can contain several roles. Inside a role you can have tasks, files, handlers and variables. But sometimes you want to use aContinue reading “Global Variables with Ansible”
Geek2Geek at Wikimedia Deutschland
Tomorrow I’m organizing again a Geek2Geek in Berlin. The topic this time is “NoSQL Ring Architecture”. Famous implementation are Cassandra and RIAK. We will have talks to both of them! The event is hosted by Wikimedia Germany in Kreuzberg. We will have free Beer and Pizza, thanks to our sponsors. Check out the MeetUp page and signup forContinue reading “Geek2Geek at Wikimedia Deutschland”
What is maven-compat ???
What is the maven-compat project? I was wondering. So I went to the official page of the project and found this: Maven2 classes maintained as compatibility layer. That is not very helpful! I would like to have a little bit more information! So clicked on the “Project Summary” link and got this. All right. SomeContinue reading “What is maven-compat ???”
Requirements for the perfect Crowd Software Testing Tool
The StartUp testCloud – a crowd software testing provider based in Berlin – is offering a service fro crowd software testing. Now they are working on a new Crowd Software Testing Tool, which is completely self-service. They prepared a 3 min survey to get known your needs for the perfect Tool: https://www.umfrageonline.com/s/d3d0f6b Everybody who finishes theContinue reading “Requirements for the perfect Crowd Software Testing Tool”
PDFKit – invalid byte sequence in US-ASCII
I’m using PDFKit at VersionEye to generate the PDF invoices. It’s a really awesome project. The idea behind PDFKit is that you generate the documents as HTML and CSS and then convert it to PDF. That works really well. Generating a PDF works like this: The first parameter “html” is the HTML as string. InContinue reading “PDFKit – invalid byte sequence in US-ASCII”
StartHQ is using VersionEye
StartHQ is using VersionEye for their Node.JS projects. They wrote a nice blog post about that.
VersionEye supports reference badges for open source projects now! A reference badge shows how many other projects depend on a selected software package. This here for example is the reference badge for PHPUnit. It shows immediately that 7704 PHP projects are using PHPUnit. Awesome! Right? The conclusion is that as more references a project hasContinue reading “Reference Badges”
Unified search about your fav. web apps with StartHQ
StartHQ is one of the few tools I’m using every day! It is my default Tab Launcher for Chrome. Everytime I open a new tab in Chrome I see my StartHQ dashboard. I wrote a longer blog about it on the VersionEye Blog.
Introduction to Ansible
Ansible is a great tool for IT automation. I’m using Ansible to manage the whole infrastructure for VersionEye. Currently I have 36 roles and 15 playbooks defined for VersionEye. I can setup the whole infrastructure with 1 single command! Or just parts of it. I even use Ansible for deployments. Deploying the VersionEye crawlers into the Amazon CloudContinue reading “Introduction to Ansible”