Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

revision => 'v1.3.4' is executed on every puppet run #112

Closed
igalic opened this issue Dec 12, 2013 · 3 comments
Closed

revision => 'v1.3.4' is executed on every puppet run #112

igalic opened this issue Dec 12, 2013 · 3 comments

Comments

@igalic
Copy link

igalic commented Dec 12, 2013

I'm running into idempotency problems with the following code change to puppet-gitlab

We have revision => '1.7.9' (which is a tag), with ensure => 'present', yet it's being executed on every puppet run:

igalic@git01 ~ % sudo puppet agent -t 
[sudo] password for igalic: 
Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/has_group_libvirtd.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in /var/lib/puppet/lib/facter/has_libvirtd.rb
Info: Caching catalog for git01.esat
Info: Applying configuration version '1386881409'
Notice: /Stage[main]/Gitlab::Package/Vcsrepo[/home/git/gitlab-shell]/revision: revision changed '9e00fb4078ca8a168687f876c1f6a98198a68155' to 'v1.7.9'
Notice: Finished catalog run in 10.65 seconds
sudo puppet agent -t  7,51s user 2,16s system 45% cpu 21,312 total
2 igalic@git01 ~ % sudo puppet agent -t 
Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/has_group_libvirtd.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in /var/lib/puppet/lib/facter/has_libvirtd.rb
Info: Caching catalog for git01.esat
Info: Applying configuration version '1386881409'
Notice: /Stage[main]/Gitlab::Package/Vcsrepo[/home/git/gitlab-shell]/revision: revision changed '9e00fb4078ca8a168687f876c1f6a98198a68155' to 'v1.7.9'
Notice: Finished catalog run in 8.95 seconds
sudo puppet agent -t  7,13s user 2,06s system 61% cpu 14,987 total
2 igalic@git01 ~ % 
@luisfdez
Copy link

I'm also affected by this issue :(

@jvoorhis
Copy link

jvoorhis commented Mar 7, 2014

👍

This makes vcsrepo practically unusable in situations where I want to refresh resources only when the content of the repo changes.

@chelnak
Copy link

chelnak commented Mar 8, 2022

Hello! We are doing some house keeping and noticed that this issue has been open for a long time.

We're going to close it but please do raise another issue if the issue still persists. 😄

@chelnak chelnak closed this as completed Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants