example42 / tinydata

Tiny Data for Tiny Puppet & C.
7 stars 12 forks source link

cannot deploy environments after latest master update #48

Closed fb-tricent closed 2 years ago

fb-tricent commented 2 years ago

Expected Behavior

When running puppet code deploy --all --wait all environments should be updated

Actual Behavior

get the following error: "errored-deploys": [], "timeout": 300, "unsynced-deploys": [ { "deploy-signature": "bd69e516a0399f50c7d298de7b81fe837715ab78", "environment": "dev_fb", "file-sync": { "code-commit": "d8eaaddb41a19193718291c8c42060bc80cdb1bd", "environment-commit": "354046f7eda9e64e4988eb608a910b49160b8dba" }, "id": 4, "status": "complete", "sync-clients-status": { "": { "cause": { "last_check_in_time": "2022-05-16T10:29:11.981981Z", "last_sync": { "puppet-code": { "cause": "org.eclipse.jgit.api.errors.JGitInternalException: Checkout conflict with files: \nmodules/tinydata/data/puppet-agent/default.yaml\nmodules/tinydata/data/puppet-agent/hiera.yaml\nmodules/tinydata/data/puppet-agent/osfamily\nmodules/tinydata/data/puppet-agent/osfamily/Debian.yaml\nmodules/tinydata/data/puppet-agent/osfamily/RedHat.yaml\nmodules/tinydata/data/puppet-agent/osfamily/windows.yaml", "kind": ":puppetlabs.enterprise.file-sync-errors/sync-error", "live-dir": "/etc/puppetlabs/code", "live-dir-diff": null, "msg": "Error while sync'ing live code directory", "repo-name": "puppet-code", "repo-path": "/opt/puppetlabs/server/data/puppetserver/filesync/client/puppet-code.git" } } }, "status": "error"

Steps to Reproduce the Problem

  1. Run the deploy command.
  2. In Puppetfile I have mod 'example42/tinydata', :git => 'https://github.com/example42/tinydata', :branch => 'master'

Specifications

Please add this info:

  1. Output of facter -p on the failing node (at least the OS related facts)
  2. Version of Puppet and of the module
  3. The relevant Puppet code and eventually Hiera data
alvagante commented 2 years ago

So @fb-tricent , is it now ok? I removed the symlink from tiny data