When setting up OpenNebula one has to configure many steps.
Since I do not like manual work and due to the reason that we already had the OpenNebula Puppet module available as OpenSource on GitHub, I started working on OpenNebula types and Providers.
You now can declare your OpenNebula infrastructure in Puppet DSL:
Thursday, August 7, 2014
Tuesday, July 1, 2014
undefined method parent for nil:NilClass
Funny puppet errors:
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Variable failed with error NoMethodError: undefined method `parent' for nil:NilClass at /etc/puppet/environments/foo/modules/util/manifests/init.pp:23 on node foo.bar.baz
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
And: it breaks always somewhere different.
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Variable failed with error NoMethodError: undefined method `parent' for nil:NilClass at /etc/puppet/environments/foo/modules/util/manifests/init.pp:23 on node foo.bar.baz
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
And: it breaks always somewhere different.
Location:
Berlin, Germany
Tuesday, May 20, 2014
Puppet rspec testing with automatic hiera lookups (implicit hiera lookup like puppet 3.x)
This article is an add-on to my other article regarding puppet & rspec.
This article only covers automatic hiera lookups used during rspec puppet runs.
Many thanks to Jan (janwaech<at>gmail<dot>com) who spend the time digging into rspec-puppet code finding this nice solution.
This article only covers automatic hiera lookups used during rspec puppet runs.
Many thanks to Jan (janwaech<at>gmail<dot>com) who spend the time digging into rspec-puppet code finding this nice solution.
Thursday, May 8, 2014
Debian on MacBook
There is a very good blog article which only lacks some minor information: http://www.adventuresinoss.com/?p=2516
This article adds the required information on how to get grub-efi to work in case of troubles.
This article adds the required information on how to get grub-efi to work in case of troubles.
Thursday, January 16, 2014
Puppet and Hiera Hashes
Hiera data is great for separating code and data.
Within hiera one can put different types of variables:
- text
- arrays
- hashes
Working with text and arrays is easy for most Puppet users.
Hashes still seem to have some kind of magic.
This post tries to show you an idea on how to work with hashes in hiera.
Within hiera one can put different types of variables:
- text
- arrays
- hashes
Working with text and arrays is easy for most Puppet users.
Hashes still seem to have some kind of magic.
This post tries to show you an idea on how to work with hashes in hiera.
Location:
Berlin, Germany
Monday, December 23, 2013
Puppet rspec testing and hiera
Rspec testing your puppet modules supports you in having stable and functional modules.
For a couple of weeks there is hiera integration in rspec-puppet.
For a couple of weeks there is hiera integration in rspec-puppet.
Wednesday, November 13, 2013
OpenNebula Puppet Module
Within my actual project we implemented OpenNebula on CentOS.
The big picture is a self service where developers can startup virtual machines by themselves.
The team that worked on the OpenNebula implementation is heavily using automation for many tasks. Therefore we decided to also automate the OpenNebula installation and configuration using Puppet.
The big picture is a self service where developers can startup virtual machines by themselves.
The team that worked on the OpenNebula implementation is heavily using automation for many tasks. Therefore we decided to also automate the OpenNebula installation and configuration using Puppet.
Subscribe to:
Posts (Atom)