Displaying 2 results from an estimated 2 matches for "target_version".
2007 Aug 13
2
package versions and external checks
Hi all,
I''m looking into a way to centrally manage installed packages on a
fairly fine-grained level. We prefer not to blindly install every new
update, but when a mechanism in which we can "approve" of a certain
version or not. At first I was thinking about something external to
puppet, but then I remembered that it''s possible in puppet to tell
which version needs to
2010 Mar 07
6
some love for migrations
...nce it never reached consensus I
figured I''d try another approach that''s worked well for Pivotal Labs''
Desert system (we''ve been doing things that way for several years).
The basic idea is to add a method to the Migration class:
migrate_engine(engine_name, target_version). You have to manually add
a migration to the app''s migrations, but that''s nice and explicit the
way we want it to be. The migration looks something like this:
class UpgradeToMarchRelease < ActiveRecord::Migration
def self.up
migrate_engine(''...