Git Product home page Git Product logo

Comments (7)

matt-cahill avatar matt-cahill commented on July 17, 2024

Is this because the forge package has the .git config included in it?
My setup is trying to initialise it as a git submodule because of this which leaves the deployed elastic_stack directory empty on my puppet servers.

from puppet-elastic_stack.

jadestorm avatar jadestorm commented on July 17, 2024

My elastic_stack directory wasn't coming up empty -- but it was being deleted and recreated over and over. =) (which meant that the unluckily timed clients would error out since they were not able to find the module) I hadn't noticed the git config before though! I bet that has something to do with it and maybe we have different (something) versions that is causing you to have an empty directory where I don't.

from puppet-elastic_stack.

matt-cahill avatar matt-cahill commented on July 17, 2024

I'm not using r10k on my production system just a monolithic Git repo, but I can test if I get the same result as you with r10k.
What r10k command do you use to deploy?

from puppet-elastic_stack.

jadestorm avatar jadestorm commented on July 17, 2024

I use: r10k deploy environment -pv
(with an appropriately set up control repo and Puppetfile -- most important part of the Puppetfile being:
mod 'elastic/elastic_stack', '6.2.4'

from puppet-elastic_stack.

jadestorm avatar jadestorm commented on July 17, 2024

Oh yeah -- and an r10k.yaml of:

---
:postrun: ["/usr/local/sbin/r10k_postrun.sh"]
:cachedir: /opt/puppetlabs/puppet/cache/r10k
:sources:
  chass:
    basedir: /etc/puppetlabs/code/environments
    prefix: true
    remote: MY_GIT_REPO

:deploy:
  purge_whitelist:
  - ".resource_types"
  - ".resource_types/**"

:git:
  private_key: "/etc/pki/git/github"
  provider: shellgit
  username: MY_GIT_USERNAME

from puppet-elastic_stack.

antaflos avatar antaflos commented on July 17, 2024

This is definitely because the release tarball for 6.2.4 contains a local .git directory, as @matt-cahill noticed. This confuses r10k, especially when running r10k deploy environment -p.

from puppet-elastic_stack.

jadestorm avatar jadestorm commented on July 17, 2024

Can confirm this is fixed in 6.3.1. Closing issue.

from puppet-elastic_stack.

Related Issues (17)

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.