Giter VIP home page Giter VIP logo

Comments (3)

neillturner avatar neillturner commented on July 24, 2024

in the logs you should see the puppet command that is being run
Going to invoke puppet apply with: xxxxxxxxxxxxxxxxxxxxxx
also try running with debug.
kitchen converge myserver-platform -l debug
you could try with a different driver ie kitchen-ec2 or vagrant and see if the hhps-proxy works then it might be something with docker (not saying the bug is in docker but maybe proxies don't work in the same way as you have a extra server layer).

from kitchen-puppet.

peterabbott avatar peterabbott commented on July 24, 2024

Tried Vagrant. Not so much an issue with EC2 as that runs outside our proxy. Get the same issue with Vagrant.

I have some changes that helps run the provision phase, at least for me, but I am not sure if it is something we should really need in general: https://github.com/peterabbott/kitchen-puppet/tree/feature/http_proxy_changes

The issue I now see is trying to get past the firewall to install Chef. The method #{sudo('sh')} /tmp/install.sh fails because the script does not know how to get the proxy.

With the changes above the only way I can get a successful run is with require_chef_for_busser: false and setting the verifier to name: dummy. Still need to workout solution for the verify stage.

At home all this works fine, it is just our "wonderful" corporate proxy that is not only inflexible but also decides to rewrite ssl certs :(

from kitchen-puppet.

peterabbott avatar peterabbott commented on July 24, 2024

A different solution that allows me to install chef is to add this to the platform (in this case kitchen-docker) provision phase:

  provision_command:
        - echo "export httpx_proxy=<%= ENV['http_proxy'] %>" | tee -a /etc/profile.d/proxy.sh
        - echo "export https_proxy=<%= ENV['http_proxy'] %>" | tee -a /etc/profile.d/proxy.sh

that gets me Chef but it fails on the install of busser and the plugins because of the SSL cert verification.

Again that is my environment issue so I'll close this

from kitchen-puppet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.