You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got a pretty simple Puppet config for Jenkins:
node 'default' {
include jenkins
jenkins::plugin { 'Workflow: Aggregator':
version => '1.12',
}
}
When applying this configuration with sudo puppet apply /etc/puppet/manifests/site.pp, Puppet complains that port 80 is not reachable on localhost, even though the default port should be 8080:
bgshacklett@trusty-server:/etc/puppet/manifests$ sudo puppet apply /etc/puppet/manifests/site.pp
Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
Warning: Scope(Apt::Source[jenkins]): $include_src is deprecated and will be removed in the next major release, please use $include => { 'src' => false } instead
Warning: Scope(Apt::Source[jenkins]): $key_source is deprecated and will be removed in the next major release, please use $key => { 'source' => http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key } instead.
Warning: Scope(Jenkins::Plugin[Workflow: Aggregator]): jenkins::plugin::create_user is deprecated and has no effect
Warning: Scope(Apt::Key[Add key: 150FDE3F7787E7D11EF4E12A9B7D32F2D50582E6 from Apt::Source jenkins]): $key_source is deprecated and will be removed in the next major release. Please use $source instead.
Notice: Scope(Archive::Download[Workflow: Aggregator.hpi]): No checksum for this archive
Notice: Compiled catalog for trusty-server in environment production in 0.56 seconds
Notice: /Stage[main]/Main/Node[default]/Jenkins::Plugin[Workflow: Aggregator]/Archive::Download[Workflow: Aggregator.hpi]/Exec[download archive Workflow: Aggregator.hpi and check sum]/returns: curl: (7) Failed to connect to localhost port 80: Connection refused
Notice: /Stage[main]/Main/Node[default]/Jenkins::Plugin[Workflow: Aggregator]/Archive::Download[Workflow: Aggregator.hpi]/Exec[download archive Workflow: Aggregator.hpi and check sum]/returns: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
Notice: /Stage[main]/Main/Node[default]/Jenkins::Plugin[Workflow: Aggregator]/Archive::Download[Workflow: Aggregator.hpi]/Exec[download archive Workflow: Aggregator.hpi and check sum]/returns: <html><head>
Notice: /Stage[main]/Main/Node[default]/Jenkins::Plugin[Workflow: Aggregator]/Archive::Download[Workflow: Aggregator.hpi]/Exec[download archive Workflow: Aggregator.hpi and check sum]/returns: <title>404 Not Found</title>
Notice: /Stage[main]/Main/Node[default]/Jenkins::Plugin[Workflow: Aggregator]/Archive::Download[Workflow: Aggregator.hpi]/Exec[download archive Workflow: Aggregator.hpi and check sum]/returns: </head><body>
Notice: /Stage[main]/Main/Node[default]/Jenkins::Plugin[Workflow: Aggregator]/Archive::Download[Workflow: Aggregator.hpi]/Exec[download archive Workflow: Aggregator.hpi and check sum]/returns: <h1>Not Found</h1>
Notice: /Stage[main]/Main/Node[default]/Jenkins::Plugin[Workflow: Aggregator]/Archive::Download[Workflow: Aggregator.hpi]/Exec[download archive Workflow: Aggregator.hpi and check sum]/returns: <p>The requested URL /download/plugins/Workflow: was not found on this server.</p>
Notice: /Stage[main]/Main/Node[default]/Jenkins::Plugin[Workflow: Aggregator]/Archive::Download[Workflow: Aggregator.hpi]/Exec[download archive Workflow: Aggregator.hpi and check sum]/returns: <hr>
Notice: /Stage[main]/Main/Node[default]/Jenkins::Plugin[Workflow: Aggregator]/Archive::Download[Workflow: Aggregator.hpi]/Exec[download archive Workflow: Aggregator.hpi and check sum]/returns: <address>Apache/2.2.14 (Ubuntu) Server at updates.jenkins-ci.org Port 443</address>
Notice: /Stage[main]/Main/Node[default]/Jenkins::Plugin[Workflow: Aggregator]/Archive::Download[Workflow: Aggregator.hpi]/Exec[download archive Workflow: Aggregator.hpi and check sum]/returns: </body></html>
Notice: /Stage[main]/Main/Node[default]/Jenkins::Plugin[Workflow: Aggregator]/Archive::Download[Workflow: Aggregator.hpi]/Exec[download archive Workflow: Aggregator.hpi and check sum]/returns: executed successfully
Notice: /Stage[main]/Jenkins::Service/Service[jenkins]: Triggered 'refresh' from 1 events
Notice: Finished catalog run in 4.80 seconds
The text was updated successfully, but these errors were encountered:
Hi @bgshacklett , the error message in the log you posted is caused by curl being unable to download a plugin which does not exist on the jenkins infrastructure. You should double check the name of the plugin you specified.
I've got a pretty simple Puppet config for Jenkins:
When applying this configuration with
sudo puppet apply /etc/puppet/manifests/site.pp
, Puppet complains that port 80 is not reachable on localhost, even though the default port should be 8080:The text was updated successfully, but these errors were encountered: