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

Warning: You cannot collect exported resources without storeconfigs being set #340

Closed
siebrand opened this issue Nov 14, 2022 · 3 comments
Closed

Comments

@siebrand
Copy link

I'm seeing this output in puppetserver.log with module version 10.0.0:

2022-11-14T15:50:51.706+02:00 WARN  [qtp578288908-126] [puppetserver] Puppet You cannot collect exported resources without storeconfigs being set; the export is ignored (file: /etc/puppetlabs/code/environments/production/modules/ssh/manifests/hostkeys.pp, line: 68, column: 7)
2022-11-14T15:50:51.708+02:00 WARN  [qtp578288908-126] [puppetserver] Puppet You cannot collect exported resources without storeconfigs being set; the export is ignored (file: /etc/puppetlabs/code/environments/production/modules/ssh/manifests/hostkeys.pp, line: 61, column: 7)
2022-11-14T15:50:51.709+02:00 WARN  [qtp578288908-126] [puppetserver] Puppet You cannot collect exported resources without storeconfigs being set; the export is ignored (file: /etc/puppetlabs/code/environments/production/modules/ssh/manifests/hostkeys.pp, line: 61, column: 7)
2022-11-14T15:50:51.711+02:00 WARN  [qtp578288908-126] [puppetserver] Puppet You cannot collect exported resources without storeconfigs being set; the export is ignored (file: /etc/puppetlabs/code/environments/production/modules/ssh/manifests/hostkeys.pp, line: 61, column: 7)
2022-11-14T15:50:51.721+02:00 WARN  [qtp578288908-126] [puppetserver] Puppet You cannot collect exported resources without storeconfigs being set; the collection will be ignored (file: /etc/puppetlabs/code/environments/production/modules/ssh/manifests/knownhosts.pp, line: 18, column: 7)

I just updated from module version 8.0.0. That had the same 5 warnings, just on different line numbers.

@slauger
Copy link
Contributor

slauger commented Nov 17, 2022

You just have to enable the storeconfigs feature on your puppetserver. This is not a bug related to the module.

@deric
Copy link
Contributor

deric commented Feb 16, 2023

See Puppet server documentation, basically you need to have a PuppetDB instance (or something that implements the interface).

If you don't want to use this feature, disable storeconfigs_enabled:

ssh::storeconfigs_enabled: false

@saz
Copy link
Owner

saz commented Feb 16, 2023

Yep. As this is not related to this module, I'll close the issue

@saz saz closed this as completed Feb 16, 2023
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

4 participants