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

adding mirror for puppetlabs-pc1 #53

Open
pmelse opened this issue May 17, 2017 · 0 comments
Open

adding mirror for puppetlabs-pc1 #53

pmelse opened this issue May 17, 2017 · 0 comments

Comments

@pmelse
Copy link

pmelse commented May 17, 2017

Hi There,
I'm attempting to mirror the puppet4 AIO repo. below is my config:
class { 'aptly':
root_dir => '/srv/aptly/',
architectures => ['i386', 'amd64'],
ppa_codename => 'foo',
}

aptly::mirror { 'puppetlabs_pc1_jessie':
location => 'http://apt.puppetlabs.com',
distribution => 'jessie',
components => ['PC1'],
# architectures => ['amd64', 'i386'],
}
puppet runs successfully:
puppet agent --test
Info: Using configured environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Info: Caching catalog for aptly.fs.uwaterloo.ca
Info: Applying configuration version '1495042227'
Info: Creating Aptly Mirror puppetlabs_pc1_jessie
Info: Updating Aptly Mirror puppetlabs_pc1_jessie
Notice: /Stage[main]/Profile::Aptly/Aptly::Mirror[puppetlabs_pc1_jessie]/Aptly_mirror[puppetlabs_pc1_jessie]/ensure: created
Notice: Applied catalog in 1.44 seconds

However, when running

$ aptly mirror list

on the host, it claims no mirrors are found.

here's the aptly db log:
=============== May 17, 2017 (EDT) ===============
13:34:50.524939 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
13:34:50.525150 version@stat F·[] S·0B[] Sc·[]
13:34:50.525159 db@open opening
13:34:50.525194 journal@recovery F·1
13:34:50.525518 journal@recovery recovering @22
13:34:50.526885 version@stat F·[] S·0B[] Sc·[]
13:34:50.527270 db@janitor F·2 G·0
13:34:50.527292 db@open done T·2.123626ms
13:34:50.527342 db@close closing
13:34:50.528323 db@close done T·980.108µs
=============== May 17, 2017 (EDT) ===============
13:35:44.000241 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
13:35:44.000375 version@stat F·[] S·0B[] Sc·[]
13:35:44.000382 db@open opening
13:35:44.000411 journal@recovery F·1
13:35:44.000771 journal@recovery recovering @24
13:35:44.002153 version@stat F·[] S·0B[] Sc·[]
13:35:44.002463 db@janitor F·2 G·0
13:35:44.002493 db@open done T·2.09363ms
13:35:44.002533 db@close closing
13:35:44.003540 db@close done T·998.58µs
=============== May 17, 2017 (EDT) ===============
13:35:44.118859 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
13:35:44.118958 version@stat F·[] S·0B[] Sc·[]
13:35:44.118965 db@open opening
13:35:44.118993 journal@recovery F·1
13:35:44.119251 journal@recovery recovering @26
13:35:44.120549 version@stat F·[] S·0B[] Sc·[]
13:35:44.120818 db@janitor F·2 G·0
13:35:44.120841 db@open done T·1.868292ms
13:35:44.120893 db@close closing
13:35:44.121985 db@close done T·1.089975ms

Any ideas as to what I'm doing wrong?

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