Skip to content
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

add support for puppet agent -t #12

Closed
lmayorga1980 opened this issue May 17, 2014 · 3 comments
Closed

add support for puppet agent -t #12

lmayorga1980 opened this issue May 17, 2014 · 3 comments

Comments

@lmayorga1980
Copy link

Just for vagrant network environments with a puppet master.

@neillturner
Copy link
Owner

test kitchen current only support one server for testing and pushs the puppet repository to that server. Test Kitchen support chef server with chef zero but there is not puppet equivalent.
Currently the only way to do this would be to install a puppet master on the server as well as a puppet client. I guess this is feasible as we could create a puppet_master.rb in kitchen_puppet to do this. My guess is this would take about 3 days of work.
Currently what i do is use puppet_apply to do my development and unit testing.
I use custom_facts to set the server_type and have a site.pp that sets the require based on the custom fact. If no custom fact is specified i then use the way puppet_master determines the server_type.
Then when i deploy to a puppet_master it will work.

@neillturner
Copy link
Owner

just getting back on puppet. Should the code create own puppet master inside itself or just connect to external puppet master?

@neillturner
Copy link
Owner

Implemented in version 0.0.15. You pass the hostname of the puppet master as a parameter puppet_server and it runs puppet agent against that server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants