Я использую puppet 6.10.1 в Ubuntu 18.04.3, и когда я запускаю puppet agent -t на сервере, я получаю следующий вывод
Info: Using configured environment 'dev'
Info: Retrieving pluginfacts
Error: /File[/opt/puppetlabs/puppet/cache/facts.d]: Could not evaluate: Could not retrieve information from environment dev source(s) puppet:///pluginfacts
Info: Retrieving plugin
Error: /File[/opt/puppetlabs/puppet/cache/lib]: Could not evaluate: Could not retrieve information from environment dev source(s) puppet:///plugins
Notice: /File[/opt/puppetlabs/puppet/cache/lib/facter]: Dependency File[/opt/puppetlabs/puppet/cache/lib] has failures: true
Warning: /File[/opt/puppetlabs/puppet/cache/lib/facter]: Skipping because of failed dependencies
Warning: /File[/opt/puppetlabs/puppet/cache/lib/facter/facter_dot_d.rb]: Skipping because of failed dependencies
Warning: /File[/opt/puppetlabs/puppet/cache/lib/facter/package_provider.rb]: Skipping because of failed dependencies
Warning: /File[/opt/puppetlabs/puppet/cache/lib/facter/pe_version.rb]: Skipping because of failed dependencies
Warning: /File[/opt/puppetlabs/puppet/cache/lib/facter/puppet_settings.rb]: Skipping because of failed dependencies
...lots more skipping because of failed dependencies
Warning: /File[/opt/puppetlabs/puppet/cache/lib/puppet/type/file_line.rb]: Skipping because of failed dependencies
Info: Retrieving locales
Error: /File[/opt/puppetlabs/puppet/cache/locales]: Could not evaluate: Could not retrieve information from environment dev source(s) puppet:///locales
Notice: /File[/opt/puppetlabs/puppet/cache/locales/ja]: Dependency File[/opt/puppetlabs/puppet/cache/locales] has failures: true
Warning: /File[/opt/puppetlabs/puppet/cache/locales/ja]: Skipping because of failed dependencies
Warning: /File[/opt/puppetlabs/puppet/cache/locales/ja/puppetlabs-ntp.po]: Skipping because of failed dependencies
Warning: /File[/opt/puppetlabs/puppet/cache/locales/ja/puppetlabs-stdlib.po]: Skipping because of failed dependencies
Info: Loading facts
Info: Caching catalog for web-dev.domain.com
Info: Applying configuration version '1571827736'
Notice: Applied catalog in 0.01 seconds
Я запускаю с отладкой, и следующие удары какинтересно
Debug: HTTP GET https://puppetmaster01:8140/puppet/v3/file_metadata/pluginfacts returned 404 Not Found
Debug: HTTP GET https://puppetmaster01:8140/puppet/v3/file_metadata/plugins returned 404 Not Found
Debug: HTTP GET https://puppetmaster01:8140/puppet/v3/file_metadata/locales returned 404 Not Found
Мой сайт.pp
node 'default' {
include common
}
# agent
node /web[0-9]+-[a-zA-Z]+.domain.com/ {
package {
'openssh-server':
ensure => latest,
}
}
# not using regex to confirm that the FQDN is correct
node /web-dev.domain.com/ {
include common
}
Не уверен, куда идти и почему я получаю 404 ошибки