lib/templates/Rakefile.erb in logical-construct-0.0.5 vs lib/templates/Rakefile.erb in logical-construct-0.1.0
- old
+ new
@@ -1,14 +1,22 @@
require 'logical-construct/target'
+#This is where a global platform declaration would go
+
include LogicalConstruct
include LogicalConstruct::Platform()
provision = Provision.new
provision.in_namespace do
resolution = ResolveConfiguration.new(provision)
chef_config = ChefConfig.new(provision, resolution)
chef_solo = ChefSolo.new(chef_config)
+end
+
+bake = Bake.new
+bake.in_namespace do
+ resolution = ResolveConfiguration.new(bake)
+ baker = BakeSystem.new(bake, resolution)
end
task :default => :provision