Skip to content

Commit

Permalink
(squash) Rename PE_ONLY_PLATFORMS -> PE_ONLY_UPGRADES
Browse files Browse the repository at this point in the history
  • Loading branch information
caseywilliams committed Jan 24, 2019
1 parent af9b086 commit cac0723
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions acceptance/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module Helpers

# These platforms are only supported under Puppet Enterprise, and FOSS
# tests should be skipped on them.
PE_ONLY_PLATFORMS = %w[aix amazon sles solaris osx]
PE_ONLY_UPGRADES = %w[aix amazon sles solaris osx]

# Use `puppet module install` to install the puppet_agent module's
# dependencies on the target host, and then install the puppet_agent
Expand Down Expand Up @@ -213,7 +213,7 @@ def with_default_site_pp(site_pp_contents, master_opts = {})
# of puppet-agent or the name of a puppet collection to install on agent hosts
# @param [String] upgrade_manifest A manifest to apply to all agent nodes
def run_foss_upgrade_with_manifest(initial_package_version_or_collection, upgrade_manifest)
confine :except, platform: PE_ONLY_PLATFORMS
confine :except, platform: PE_ONLY_UPGRADES

logger.notify("Performing FOSS upgrade with default manifest:\n#{upgrade_manifest}")

Expand Down

0 comments on commit cac0723

Please sign in to comment.