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

repo key gets added on every run #15

@ingardm

Description

@ingardm

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions