You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would seem that yumrepo[runner_gitlab-runner] can be created afterpackage[gitlab-runner].
What behaviour did you expect instead
I expected yumrepo[runner_gitlab-runner] to be created beforepackage[gitlab-runner] and successfully install gitlab.
Output log
Error: Execution of '/bin/yum -d 0 -e 0 -y install gitlab-runner' returned 1: Error: Nothing to do
Error: /Stage[main]/Gitlab::Cirunner/Package[gitlab-runner]/ensure: change from purged to present failed: Execution of '/bin/yum -d 0 -e 0 -y install gitlab-runner' returned 1: Error: Nothing to do
Notice: /Stage[main]/Gitlab::Cirunner/File_line[gitlab-runner-concurrent]: Dependency Package[gitlab-runner] has failures: true
Warning: /Stage[main]/Gitlab::Cirunner/File_line[gitlab-runner-concurrent]: Skipping because of failed dependencies
Notice: /Stage[main]/Gitlab::Cirunner/Exec[gitlab-runner-restart]: Dependency Package[gitlab-runner] has failures: true
Warning: /Stage[main]/Gitlab::Cirunner/Exec[gitlab-runner-restart]: Skipping because of failed dependencies
Notice: /Stage[main]/Gitlab::Cirunner/Gitlab::Runner[teng4317-gitlabci-docker-5790]/Exec[Register_runner_teng4317-gitlabci-docker-5790]: Dependency Package[gitlab-runner] has failures: true
Warning: /Stage[main]/Gitlab::Cirunner/Gitlab::Runner[teng4317-gitlabci-docker-5790]/Exec[Register_runner_teng4317-gitlabci-docker-5790]: Skipping because of failed dependencies
Notice: /Stage[main]/Gitlab::Cirunner/Yumrepo[runner_gitlab-runner]/ensure: created
Info: changing mode of /etc/yum.repos.d/runner_gitlab-runner.repo from 600 to 644
Any additional information you'd like to impart
It's not very elegant, but I've just gone ahead and cloned the repository and placed the package declarations inside of the if/case statement for repo management/osfamily. It works.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
It would seem that
yumrepo[runner_gitlab-runner]can be created afterpackage[gitlab-runner].What behaviour did you expect instead
I expected
yumrepo[runner_gitlab-runner]to be created beforepackage[gitlab-runner]and successfully install gitlab.Output log
Any additional information you'd like to impart
It's not very elegant, but I've just gone ahead and cloned the repository and placed the package declarations inside of the if/case statement for repo management/osfamily. It works.
Edits:
User['gitlab-runner']fromrequirearray infile { $directories: }; didn't want to muddy the waters in addressing the problem discussed in Add a feature to make gitlab-runner member of docker group #150The text was updated successfully, but these errors were encountered: