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

Apt key add gets called every run #77

Closed
fnoop opened this issue Oct 30, 2017 · 1 comment
Closed

Apt key add gets called every run #77

fnoop opened this issue Oct 30, 2017 · 1 comment

Comments

@fnoop
Copy link

fnoop commented Oct 30, 2017

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 5.2.0
  • Ruby: 2.3.3.p222
  • Distribution: Ubuntu 17.04
  • Module version: 4.0.2

How to reproduce (e.g Puppet code you use)

class { "::grafana": 
    cfg => {
        app_mode => 'production',
        server   => {
          http_port     => $webport,
          root_url      => "%(protocol)s://%(domain)s:${rootpath}",
        },
  },
  install_method        => "repo",
  manage_package_repo   => true,
}

What are you seeing

Notice: /Stage[main]/Grafana::Install/Apt::Source[grafana]/Apt::Key[Add key: 418A7F2FB0E1E6E7EABF6FE8C2E73424D59097AB from Apt::Source grafana]/Apt_key[Add key: 418A7F2FB0E1E6E7EABF6FE8C2E73424D59097AB from Apt::Source grafana]/ensure: created

What behaviour did you expect instead

For the apt key to be added once and then silent on subsequent run

Any additional information you'd like to impart

It's really cold tonight.

@fnoop
Copy link
Author

fnoop commented Nov 8, 2017

This needed an update to puppetlabs-apt module. The current released version (4.0.2) isn't good enough, it needs the latest git code.

@fnoop fnoop closed this as completed Nov 8, 2017
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

1 participant