OverviewPuppet requires ruby (with json) and facter. Puppet is basically a collection of ruby scripts, and just needs to be packaged for the DroboFS. PreparationMake sure you have a cross-compiling virtual machine properly setup. CompilationNo compilation is needed. The following steps are just making sure that the packaging is done right. export DEST=/mnt/DroboFS/Shares/DroboApps/puppet cd ~/code wget -O facter-1.6.13.tar.gz http://puppetlabs.com/downloads/facter/facter-1.6.13.tar.gz tar zxf facter-1.6.13.tar.gz cd facter-1.6.13/ ./install.rb --destdir=$DEST --bindir=/bin --sitelibdir=/lib/site_ruby --mandir=/share/man --ruby=/mnt/DroboFS/Shares/DroboApps/ruby/bin/ruby cd .. wget -O puppet-2.7.19.tar.gz http://puppetlabs.com/downloads/puppet/puppet-2.7.19.tar.gz tar zxf puppet-2.7.19.tar.gz cd puppet-2.7.19/ wget -O install.rb.patch http://www.droboports.com/app-repository/puppet-2-7-19/install.rb.patch patch install.rb install.rb.patch RUBYLIB=$DEST/lib/site_ruby ./install.rb --destdir=$DEST --bindir=/bin --sbindir=/sbin --configdir=/etc/puppet --sitelibdir=/lib/site_ruby --mandir=/share/man --ruby=/mnt/DroboFS/Shares/DroboApps/ruby/bin/ruby --quick Packagingcd $DEST chmod -R g+w etc ~/bin/package.sh InstallingDownload the TGZ file below and place it in you DroboApps share. If you do not have SSH access, reboot your Drobo. Otherwise, SSH in and type: /usr/bin/DroboApps.sh install Final remarksThis is not a conventional DroboApp in the sense that once installed, it is ready for use. This one just makes the puppet executables available for further use, and does not attempt to change the DroboFS configuration in any way. Configuration of puppet is a very complicated process, and the files in this DroboApp can be used to setup a puppet client or server. In particular, there are two important things missing:
export RUBYLIB=/mnt/DroboFS/Shares/DroboApps/puppet/lib/site_ruby Please visit the DroboSpace forums to leave your comments, suggestions and feedback. |

