craigdunn.org
couchdb – Craig Dunn's Blog
http://www.craigdunn.org/tag/couchdb
Craig Dunn's Blog. Puppet data from CouchDB using hiera-http. I started looking at various places people store data, and ways to fetch it and realized that a lot of data storage applications are RESTful, yet there doesn’t seem to be any support in Hiera to query these things, so I whipped up hiera-http. Hiera-http is available as a rubygem, or from GitHub: http:/ github.com/crayfishx/hiera-http. Next I populate my common and dev documents with some variables. Common document populated with data. Backends...
craigdunn.org
Internet – Craig Dunn's Blog
http://www.craigdunn.org/category/internet
Craig Dunn's Blog. I’ve been looking around lately for something that can handle command-and-control automation across an estate of Linux servers. My requirements are to be able to run jobs and tasks remotely, either ad-hoc or at specified times and capture the results in a meaningful and useful way. I’ve come across some of the “Enterprise” solutions touted by a few proprietary vendors (. Cough, Control M, cough. My own requirements are fairly specific, I want a GUI. Java -jar launcher.jar. RunDeck has ...
craigdunn.org
Puppet – Craig Dunn's Blog
http://www.craigdunn.org/tag/puppet
Craig Dunn's Blog. Puppet data from CouchDB using hiera-http. I started looking at various places people store data, and ways to fetch it and realized that a lot of data storage applications are RESTful, yet there doesn’t seem to be any support in Hiera to query these things, so I whipped up hiera-http. Hiera-http is available as a rubygem, or from GitHub: http:/ github.com/crayfishx/hiera-http. Next I populate my common and dev documents with some variables. Common document populated with data. Backends...
craigdunn.org
News – Craig Dunn's Blog
http://www.craigdunn.org/category/linux/news
Craig Dunn's Blog. I’ve been looking around lately for something that can handle command-and-control automation across an estate of Linux servers. My requirements are to be able to run jobs and tasks remotely, either ad-hoc or at specified times and capture the results in a meaningful and useful way. I’ve come across some of the “Enterprise” solutions touted by a few proprietary vendors (. Cough, Control M, cough. My own requirements are fairly specific, I want a GUI. Java -jar launcher.jar. RunDeck has ...
craigdunn.org
Linux – Craig Dunn's Blog
http://www.craigdunn.org/category/linux
Craig Dunn's Blog. Introducing hiera-mysql MySQL Backend for Hiera. Some time ago I started looking at Hiera. A configuration datastore with pluggable back ends that also plugs seamlessly into Puppet for managing variables. When I wrote hiera-gpg. Hiera-mysql is available as a ruby gem and can be installed with:. Note: this depends on the Ruby mysql gem, so you’ll need gcc, ruby-devel and mysql-devel packages installed. Alternativley the source can be Downloaded here. In the scope of live. Root@dev1 ]# h...
craigdunn.org
Scripts – Craig Dunn's Blog
http://www.craigdunn.org/category/linux/scripts
Craig Dunn's Blog. Remote control with expect-lite. I’ve recently been playing around with expect-lite. A wrapper for expect that allows you to automatically login to hosts with telnet or ssh to run commands on remote hosts without getting too much under the bonnet of expect syntax. But for my purposes I needed to do a little tweaking to get it to do what I wanted to do. Expect-lite 2010-07-06 15:21:06.271119000 0000. Expect-lite.new 2010-07-06 15:34:04.490118000 0000. 416,6 416,8 @. Secondly, in order t...
craigdunn.org
Howtos – Craig Dunn's Blog
http://www.craigdunn.org/category/linux/howtos
Craig Dunn's Blog. Preventing users from changing their password with PAM. Blocking AD users from using passwd. I had to design a system recently for a client which has a mixture of local users and remote users that are authenticated using LDAP against Active Directory (actually, with Quest Authentication Services running in between). One of the requirements was that AD users should not be able to change their password using the passwd. Edit /etc/pam.d/passwd and change it to read :-. March 31, 2011.
craigdunn.org
http – Craig Dunn's Blog
http://www.craigdunn.org/tag/http
Craig Dunn's Blog. Puppet data from CouchDB using hiera-http. I started looking at various places people store data, and ways to fetch it and realized that a lot of data storage applications are RESTful, yet there doesn’t seem to be any support in Hiera to query these things, so I whipped up hiera-http. Hiera-http is available as a rubygem, or from GitHub: http:/ github.com/crayfishx/hiera-http. Next I populate my common and dev documents with some variables. Common document populated with data. Backends...
craigdunn.org
Puppet – Craig Dunn's Blog
http://www.craigdunn.org/category/puppet
Craig Dunn's Blog. Composite namevars in Puppet. An advanced look at everything you never wanted to know about composite namevars in Puppet resource types. In this post I’m going to look at some of the more advanced concepts around Puppet resource types known as composite namevars. I’m going to assume you have a reasonable understanding of types and providers at this point, if not, you should probably go and read Fun with providers part 1. And Seriously, what is this provider doing. In this example, we&#...
craigdunn.org
Puppet data from CouchDB using hiera-http – Craig Dunn's Blog
http://www.craigdunn.org/2012/11/puppet-data-from-couchdb-using-hiera-http
Craig Dunn's Blog. Puppet data from CouchDB using hiera-http. I started looking at various places people store data, and ways to fetch it and realized that a lot of data storage applications are RESTful, yet there doesn’t seem to be any support in Hiera to query these things, so I whipped up hiera-http. Hiera-http is available as a rubygem, or from GitHub: http:/ github.com/crayfishx/hiera-http. Next I populate my common and dev documents with some variables. Common document populated with data. Backends...