by Alex Harvey | Jan 2, 2016 | blogs
In yesterday’s post I showed how you can compile a Puppet catalog from a bundle on a laptop. Today I’m going to show how you can use Zack Smith’s catalog diff tool to assist with complex refactoring changes.
Code examples
For the purpose of describing how to use the catalog diff tool, it will be better to use an artificially simple code example. Imagine we have all of our code in site.pp as follows:
node 'myhost.example.com' {
file { '/tmp/myfile':
ensure => file,
content => "My hostname is ${::hostname}\n",
}
}
read more
by Alex Harvey | Dec 31, 2015 | blogs
From time to time I have wished that I could easily compile a Puppet catalog from my laptop. Use cases that spring to mind include, "hey, wouldn't it be great if I could see what this super-complicated Puppet Forge module is actually doing without having to spin up a VM and 'puppet apply' it". Othertimes it has just been curiosity.
by admin | Dec 14, 2015 | blogs
According to research by Computer Associates with Vanson Bourne, 88% of 1,425 IT executives already have or plan to adopt DevOps sometime within the next five years, while 55 per cent were looking to work with new partners with DevOps expertise. read more
by admin | Sep 25, 2015 | blogs
Are you earning $150K or more as an IT professional in Sydney or Melbourne? read more
Recent Comments