Created
May 14, 2018 21:18
-
-
Save dhollinger/39a9380dc9858b589e8deacfa5b796e7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'spec_helper_cleanup' | |
require 'beaker-rspec' | |
require 'beaker/module_install_helper' | |
RSpec.configure do |c| | |
c.before :suite do | |
install_module_on(hosts) | |
install_module_dependencies_on(hosts) | |
hosts.each do |host| | |
on(host, '<package installer> install puppet') | |
scp_to(hosts, csr, | |
'/etc/puppetlabs/puppet/csr_attributes.yaml') | |
on(hosts, "puppet cert generate #{host}") | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment