Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
pdksync_heads/master-0-g34e3266
[puppet-modules/puppetlabs-apt.git]
/
spec
/
spec_helper_acceptance.rb
diff --git
a/spec/spec_helper_acceptance.rb
b/spec/spec_helper_acceptance.rb
index 67bf096d830ae1c1b6449edf69773ca0a897772b..258116c5629d4b5bddd33958cc3552fd22027cda 100644
(file)
--- 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)
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'
DEFAULT_PASSWORD = if default[:hypervisor] == 'vagrant'
'vagrant'
@@
-27,7
+27,8
@@
def puppet_version
(on default, puppet('--version')).output.chomp
end
(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
on(master, puppet('access', 'login', '--username', user, '--lifetime', lifetime), stdin: password)
end