ext/packaging/tasks/pe_rpm.rake in puppet-2.7.25 vs ext/packaging/tasks/pe_rpm.rake in puppet-2.7.26
- old
+ new
@@ -1,5 +1,5 @@
-if @build.build_pe
+if Pkg::Config.build_pe
namespace :pe do
desc "Build a PE rpm using rpmbuild (requires all BuildRequires, rpmbuild, etc)"
task :rpm => "package:rpm"
desc "Build rpms using ALL final mocks in build_defaults yaml, keyed to PL infrastructure, pass MOCK to override"