103 reputation
6
bio website
location Cheshire, United Kingdom
age 25
visits member for 1 year, 9 months
seen Mar 8 at 22:24

Feb
28
comment Linode setup via Chef
I ended up moving to Ansible for my server automation. Works really nicely.
Feb
28
awarded  Scholar
Feb
28
awarded  Supporter
Feb
28
accepted Linode setup via Chef
Feb
27
awarded  Citizen Patrol
Feb
22
awarded  Commentator
Nov
11
comment Linode setup via Chef
Sorry, I meant put it in a recipe. I have a cookbook called main and have started to put it in a recipe within main. You said to create a template and overwrite a file but if I make a template with the hostname stuff in it then surely it'll overwrite what is already in that file? How do I deal with that? Basically my aim is to create a chef setup which will pretty much follow this: rubysource.com/deploying-a-rails-application plus the steps on linode.com on securing the server. Thats all I want it to do for now and yes maybe chef is overkill for one server but there we go! :-)
Nov
10
comment Linode setup via Chef
ok, Just for an example, could you show me how I would write this as part of my solo.rb file? echo "plato" > /etc/hostname hostname -F /etc/hostname If it exists, edit the file /etc/default/dhcpcd to comment out the SET_HOSTNAME directive: File excerpt:/etc/default/dhcpcd #SET_HOSTNAME='yes'
Nov
9
asked Linode setup via Chef
Oct
12
awarded  Custodian
Oct
12
awarded  Editor