Answer the question
In order to leave comments, you need to log in
How to add key to ubuntu repository using puppet?
I made my repository and the key to it. I'm trying to add this key with a directive:
apt::source { 'reposerv':
comment => '<i>comment</i>',
location => 'http://reposerv.localdomain',
release => 'stable',
repos => 'main',
architecture => 'amd64',
include_src => false,
key => <i>key_name</i>,
key_source => 'puppet:///modules/videoserver/repository-sign.key'
}
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: validate_re(): "puppet:///modules/videoserver/repository-sign.key" does not match ["\\Ahttps?:\\/\\/", "\\Aftp:\\/\\/", "\\A\\/\\w+"] at /etc/puppet/modules/apt/manifests/key.pp:68 on node puppettest2.localdomain
puppet:///modules/..
?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question