Git Product home page Git Product logo

Comments (6)

sahilsk avatar sahilsk commented on July 21, 2024

Even though i've specified puppet_apt_repo: "https://apt.puppetlabs.com/puppetlabs-release-trusty.deb" , it's picking puppetlabs-release-pc1-wheezy.deb.1 from somewhere. It got version part correct though which is for puppet _apply. However, it's trying to install puppet_agent of that version.

from kitchen-puppet.

neillturner avatar neillturner commented on July 21, 2024

try removing the setting
require_puppet_collections: true
this is taking priority over the
puppet_apt_repo:
and it is using the default value for
puppet_apt_collections_repo
which is:
"http://apt.puppetlabs.com/puppetlabs-release-pc1-wheezy.deb"

puppet collections is for puppet version 4.

from kitchen-puppet.

sahilsk avatar sahilsk commented on July 21, 2024

Yes, thanks:

I read the script... sorry for the trouble.
https://github.com/neillturner/kitchen-puppet/blob/master/lib/kitchen/provisioner/puppet_apply.rb#L729

from kitchen-puppet.

neillturner avatar neillturner commented on July 21, 2024

No trouble.
should really have more error checking of parameters that are specified that are inconsistent. ie if you specify
require_puppet_repo: true
puppet_apt_repo: "https://apt.puppetlabs.com/puppetlabs-release-trusty.deb"
and
require_puppet_collections: true
should issue a warning or error saying
require_puppet_repo and puppet_apt_repo parameters ignored as require_puppet_collections specified
maybe i will get around to doing this one day to make the product easier to configure.

from kitchen-puppet.

gargmukku07 avatar gargmukku07 commented on July 21, 2024

Hi,

i am facing same problem.

my kitchen.yml file:

**_---
driver:
name: docker
use_sudo: false
provisioner:
name: puppet_apply
mainfests_path: manifests
modules_path: modules

puppet_debug: true
puppet_verbose: true
require_puppet_collections: true
puppet_version: 4.5.2

platforms:

  • name: ubuntu

suites:

  • name: default
    manifest: site.pp_**

Please suggest.

from kitchen-puppet.

gargmukku07 avatar gargmukku07 commented on July 21, 2024

Solved.
I used latest puppet version.

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.