-
Notifications
You must be signed in to change notification settings - Fork 581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Puppet apply provisioner #291
[WIP] Puppet apply provisioner #291
Conversation
@ChrisLundquist I cloned this, swapped in a shell script I use to install PE 3.1.1 as opposed to the calls to apt, and was able to get it working. Two issues:
...Not having that mkdir resulted in my modules getting copied into /tmp/kitchen/ntp, /tmp/kitchen/stdlib on the first run. On the second run, (kitchen converge default-centos-6-64 would fail the first run and work the second run) they would get to /tmp/kitchen/modules/ntp. It seemed net::scp was creating one dir in the path. I looked into patching net::scp or openssh but essentially gave up when I saw the OpenSSH team's FAQ saying they will not add anything to scp. Anyway thanks for the PR and I hope this gets some traction! |
@ericsakowski can you gist the shell script you used to bootstrap it on centos? I was thinking if we cover ubuntu and centos bootstrapping we're doing alright. Adding that P.S. I'm really happy to hear that this helped you! |
Since the script is for enterprise I should probably make sure I'm not On Wed, Jan 8, 2014 at 6:39 PM, Chris Lundquist notifications@github.comwrote:
Eric Sakowski |
@ChrisLundquist OK here you go: https://gist.github.com/ericsakowski/8338474 |
…isioner Conflicts: lib/kitchen/provisioner/chef_base.rb
Is this needed anymore with https://github.com/neillturner/kitchen-puppet ? |
two years is a long time. |
Totally, we've got some new maintainers so we're trying to clean house as part of the process. Apologies that it took so long for us to get back to you. |
❤️ I might have done some of what I needed in neillturner/kitchen-puppet#1 |
Support Windows 2016
After looking at #83 and #197
I wanted to take a stab at a lower impact / more contained provisioner. After writing a shell provisioner it seemed like it could be done.
Currently this only sets up puppet 2.7 on ubuntu. It seems like moving to an omnibus installer would fix that up.
This works with hiera, but expects a
hiera.yaml
file somewhere in the directory tree. I wasn't sure if moving that to a template would be better.The provisioner stanza in my
.kitchen.yml
looks like thismanifests_path
andmodules_path
first look in the currently directory tree, but I'm testing this on another code base so it is a little wonky. Note, you can't seem to use~/path/puppet
. If you do, nothing gets copied./cc @fnichol @jfryman
Do either of you know a good way to omnibus install puppet to fix this up?
What are your thought?
Are there use cases that I have overlooked?
What can we cleanup to make it more idiomatic?