[chef] Appending to an existing file, i.e nginx site


Chronological Thread 
  • From: Marcelo de Moraes Serpa < >
  • To:
  • Subject: [chef] Appending to an existing file, i.e nginx site
  • Date: Fri, 15 Mar 2013 01:20:24 -0600

Hi list,

I have a use case where I need to append a location to an existing nginx site (in /etc/nginx/sites-enabled/sitename), this site was also deployed by another recipe of mine. 

Why? Well, basically it's a static site componente that should be accessed as a path, but the main app should remain intact. They *should share the same domain*.

I should be pretty straightforward to do, but I'd like to know if anyone else had a similar use case before? If so, how did you approach it?

Thanks in advance!

M>



Archive powered by MHonArc 2.6.16.

§