ahelal / kitchen-ansiblepush

test-kitchen plugin to use ansible in push mode
41 stars 22 forks source link

Dependency on Omnibus_Chef still necessary? #7

Closed arielsalvo closed 8 years ago

arielsalvo commented 8 years ago

Hi, I'm currently using kitchen-ansible but kitchen-ansiblepush seems more appropriate if it weren't for its dependency on Chef.

I find in kitchen-ansible that they don't have it when using test-kitchen >= 1.4 and made installation optional:

NOTE: With Test-Kitchen 1.4 you no longer need chef install to run the tests. You just need ruby installed version 1.9 or higher and also add to the .kitchen.yml file

provisioner: name: ansible_playbook hosts: test-kitchen require_chef_for_busser: false require_ruby_for_busser: true

verifier: ruby_bindir: '/usr/bin' where /usr/bin is the location of the ruby command.

I wonder if this is also true for kitchen-ansiblepush

ahelal commented 8 years ago

Hi,

Well I did not have a chance to look into that yet, But you can disable installation of chef by adding chef_bootstrap_url : fasle to your .kitchen.yml I am not sure if any extra work is needed. Let me know if it works. if not I will look into it when I have time

arielsalvo commented 8 years ago

That worked beautifully.

Thanks!

ahelal commented 8 years ago

perect will close this issue. and in the next release will disable chef instalation by default