277 | | |
278 | | |
279 | | |
280 | | |
281 | | |
| 277 | Client setup: |
| 278 | {{{ |
| 279 | # SERVER |
| 280 | server> sudo knife bootstrap bpc012.eine.deter.isi.deterlab.net -x root -P 6ab35c67f0 |
| 281 | # or use sudoable account (but that account will not exist at boot time, so...) |
| 282 | # server> sudo knife bootstrap [nodename] -x [user] -P [pass] --sudo |
| 283 | # CLIENT - need to install mysql2 for recipes - chef can do this, but I've not integrated it yet. |
| 284 | client> sudo apt-get install libmysqlclient-dev |
| 285 | client> cd /tmp && cp ~/mysql2-0.3.16.gem . |
| 286 | client> sudo /opt/chef/embedded/bin/gem install /tmp/mysql2-0.3.16.gem |