[postgis-tickets] [PostGIS] #3387: Chef is not baking my updates

PostGIS trac at osgeo.org
Sun Mar 13 10:08:25 PDT 2016


#3387: Chef is not baking my updates
----------------------+----------------------------
  Reporter:  robe     |      Owner:  robe
      Type:  defect   |     Status:  reopened
  Priority:  medium   |  Milestone:  Management 2.0
 Component:  website  |    Version:  trunk
Resolution:           |   Keywords:
----------------------+----------------------------

Comment (by robe):

 okay this was still an issue if I have  even rm -rf _counter/* in there ,
 it goes south and blog entries don't come back.

 I'm going to assume that this is a bug in chef or the extra duplication we
 have of junk from chef.  So I revised the script to bake twice after
 _counter remove stuff, so it now looks like this:


 {{{
 cd /var/www/postgis_website
 rm -rf _counter/*
 /usr/bin/svn -q update
 #rm -rf _counter/*
 ./_piecrust_1.2.0/bin/chef bake
 #for some reason baking once is not enough to bring back _counter
 ./_piecrust_1.2.0/bin/chef bake
 chown -R www-data:www-data _cache _counter
 }}}


 running manually seems to work okay.  I'll close this out if on regular
 run it doesn't screw things up again.

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3387#comment:14>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list