Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions malboxes/malboxes.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,10 @@ def prepare_profile(template, config):

fd = create_cachefd('profile-{}.ps1'.format(profile_name))

if "package" in profile:
for package_mod in profile["package"]:
package(profile_name, package_mod["package"], fd)

if "registry" in profile:
for reg_mod in profile["registry"]:
registry(profile_name, reg_mod, fd)
Expand All @@ -483,10 +487,6 @@ def prepare_profile(template, config):
for doc_mod in profile["document"]:
document(profile_name, doc_mod["modtype"], doc_mod["docpath"], fd)

if "package" in profile:
for package_mod in profile["package"]:
package(profile_name, package_mod["package"], fd)

if "packer" in profile:
packer = profile["packer"]
if "provisioners" in packer:
Expand Down