lib/cicd/builder/chefrepo-manifest.rb in chefrepo-manifest-builder-0.1.4 vs lib/cicd/builder/chefrepo-manifest.rb in chefrepo-manifest-builder-0.1.5
- old
+ new
@@ -32,12 +32,13 @@
end
# ---------------------------------------------------------------------------------------------------------------
def setup()
$stdout.write("ChefRepoManifestBuilder v#{CiCd::Builder::ChefRepoManifest::VERSION}\n")
- @default_options[:env_keys].select{|key| key !~ /^CLASSES/} << %w(
+ @default_options[:env_keys] << %w(
REPO_PRODUCTS
)
+ @default_options[:env_keys] = @default_options[:env_keys].select{|key| key !~ /^CLASSES/}
super
end
end
end