Well, a follow-up of sorts on the raspberry pi and puppet posting from a while back
Thought I would post the code up on my github account, https://github.com/bilsch.
Tried rebuilding from a fresh image. Other than burning a lot of cpu time on puppet installation itself ( think I have a fix for this one, don't generate rdoc/ri ) the fresh install to a running pi where I essentially want it. Everything worked fine except for the fimware/boot rom update which is just another git clone/copy.
Showing posts with label puppet. Show all posts
Showing posts with label puppet. Show all posts
Sunday, December 9, 2012
Friday, November 23, 2012
Raspberry pi puppet
So, I decided I really wanted to have an easy way to get my raspberry pi images to a somewhat sane state but I did not really want to write shell scripts to do this.
I've been using puppet at work for over a year now and its pretty simple really - most of the time I spend on puppet configs is debugging various isms ( like, for an ssh authorized keys manipulation, you can't throw an array to user :-< )
Planning to test out my image process soon-ish. Still need to get mcollective working properly - think its about the last module still erroring out on me.
So far, I have:
I've been using puppet at work for over a year now and its pretty simple really - most of the time I spend on puppet configs is debugging various isms ( like, for an ssh authorized keys manipulation, you can't throw an array to user :-< )
Planning to test out my image process soon-ish. Still need to get mcollective working properly - think its about the last module still erroring out on me.
So far, I have:
- ssh configuration
- various package installations
- rasp-config, ruby-shadow, python-pip, ruby-dev
- ruby packages: builder ( for gem installs ), wiringpi
- pip ( python ) package rpi.gpio
- rsync backup, just a simple backup to my fileserver
- /boot/config.txt so I can preserve any modifications I may want
- locales config
- user maint, putting my ssh key in place, forcing pi's password to be maintained/not raspberry
- automate git clone of remote repos
( So I don't have to remember to do those by hand though updates/pull will be manual )
Only down side is that I'll still need a bootstrap script to put a few packages on the box - puppet/facter gems and puppet.conf, then I should just need to run puppet agent and everything should magically appear
I may upload the puppet configs to github but most of the configurations are going to be local
Wednesday, November 7, 2012
puppetlabs dist for arm
W: Failed to fetch http://apt.puppetlabs.com/dists/precise/Release Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)
Bummer! I guess I can't use the puppet dist from puppet labs directly :-< May be worth the time to compile/install manually but for now - meh :->
Bummer! I guess I can't use the puppet dist from puppet labs directly :-< May be worth the time to compile/install manually but for now - meh :->
Subscribe to:
Posts (Atom)