X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=spec%2Fspec_helper_acceptance.rb;h=258116c5629d4b5bddd33958cc3552fd22027cda;hb=e13204f91cf940a00cc54773adba963a045a1656;hp=67bf096d830ae1c1b6449edf69773ca0a897772b;hpb=cd413ee3930368785afc5af3c19347e74f7d99ac;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 67bf096..258116c 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -15,7 +15,7 @@ install_bolt_on(hosts) unless pe_install? install_module_on(hosts) install_module_dependencies_on(hosts) -UNSUPPORTED_PLATFORMS = %w[RedHat Suse windows AIX Solaris].freeze +UNSUPPORTED_PLATFORMS = ['RedHat', 'Suse', 'windows', 'AIX', 'Solaris'].freeze DEFAULT_PASSWORD = if default[:hypervisor] == 'vagrant' 'vagrant' @@ -27,7 +27,8 @@ def puppet_version (on default, puppet('--version')).output.chomp end -def run_puppet_access_login(user:, password: '~!@#$%^*-/ aZ', lifetime: '5y') +def run_puppet_access_login(user:, password: + '~!@#$%^*-/ aZ', lifetime: '5y') on(master, puppet('access', 'login', '--username', user, '--lifetime', lifetime), stdin: password) end