Skip to content
This repository has been archived by the owner on May 14, 2021. It is now read-only.

repo key gets added on every run #15

Open
ingardm opened this issue Sep 27, 2013 · 0 comments
Open

repo key gets added on every run #15

ingardm opened this issue Sep 27, 2013 · 0 comments

Comments

@ingardm
Copy link

ingardm commented Sep 27, 2013

In manifests/repo/debian.pp "key" points to $repo_name (which is datastax).
This variable is used in the puppet check to see if the key is already added. Its wrong to use $repo_name here, it should instead be "B999A372" (taken from apt-key list).

From puppet agent -t -d :

debug: Exec3e80d8a73084e32336b872e39c3fe733b2dc8fd8: Executing check '/usr/bin/apt-key list | /bin/grep 'DATASTAX''
debug: Executing '/usr/bin/apt-key list | /bin/grep 'DATASTAX''
debug: Exec3e80d8a73084e32336b872e39c3fe733b2dc8fd8: Executing 'wget -q 'http://debian.datastax.com/debian/repo_key' -O- | apt-key add -'
debug: Executing 'wget -q 'http://debian.datastax.com/debian/repo_key' -O- | apt-key add -'
notice: /Stage[main]/Cassandra::Repo::Debian/Apt::Source[datastax]/Apt::Key[Add key: datastax from Apt::Source datastax]/Exec[3e80d8a73084e32336b872e39c3fe733b2dc8fd8]/returns: executed successfully
debug: /Stage[main]/Cassandra::Repo::Debian/Apt::Source[datastax]/Apt::Key[Add key: datastax from Apt::Source datastax]/Exec[3e80d8a73084e32336b872e39c3fe733b2dc8fd8]: The container Apt::Key[Add key: datastax from Apt::Source datastax] will propagate my refresh event
debug: Apt::Key[Add key: datastax from Apt::Source datastax]: The container Apt::Source[datastax] will propagate my refresh event
debug: Apt::Source[datastax]: The container Class[Cassandra::Repo::Debian] will propagate my refresh event
debug: Class[Cassandra::Repo::Debian]: The container Stage[main] will propagate my refresh event

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant