patcadelina / puppet-ci Goto Github PK
View Code? Open in Web Editor NEWCI - Jenkins behind Nginx
CI - Jenkins behind Nginx
Running puppet apply --modulepath=/etc/puppet/ext_modules:/etc/puppet/modules /etc/puppet/manifests/site.pp
the first time results in the error below. Re-running seems to fix the issue.
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(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.
Warning: Scope(Concat::Fragment[default-500-6666cd76f96956469e7be39d750cc7d9]): The $ensure parameter to concat::fragment is deprecated and has no effect.
Notice: Compiled catalog for vagrant-ubuntu-trusty-64 in environment production in 0.78 seconds
Error: Could not set 'file' on ensure: No such file or directory - /etc/nginx/sites-available/default.conf20160705-4489-1atkgbk.lock
Error: Could not set 'file' on ensure: No such file or directory - /etc/nginx/sites-available/default.conf20160705-4489-1atkgbk.lock
Wrapped exception:
No such file or directory - /etc/nginx/sites-available/default.conf20160705-4489-1atkgbk.lock
Error: /Stage[main]/Ci/Nginx::Resource::Vhost[default]/Concat[/etc/nginx/sites-available/default.conf]/File[/etc/nginx/sites-available/default.conf]/ensure: change from absent to file failed: Could not set 'file' on ensure: No such file or directory - /etc/nginx/sites-available/default.conf20160705-4489-1atkgbk.lock
Notice: /Stage[main]/Java/Package[java-common]/ensure: ensure changed 'purged' to 'present'
Notice: /Stage[main]/Java/Package[java]/ensure: ensure changed 'purged' to 'present'
Notice: /Stage[main]/Nginx::Package::Debian/Apt::Source[nginx]/Apt::Key[Add key: 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62 from Apt::Source nginx]/Apt_key[Add key: 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62 from Apt::Source nginx]/ensure: created
Notice: /Stage[main]/Apt/Apt::Setting[conf-update-stamp]/File[/etc/apt/apt.conf.d/15update-stamp]/content: content changed '{md5}b9de0ac9e2c9854b1bb213e362dc4e41' to '{md5}0962d70c4ec78bbfa6f3544ae0c41974'
Notice: /Stage[main]/Apt/File[preferences]/ensure: created
Notice: /Stage[main]/Jenkins::Repo::Debian/Apt::Source[jenkins]/Apt::Key[Add key: 150FDE3F7787E7D11EF4E12A9B7D32F2D50582E6 from Apt::Source jenkins]/Apt_key[Add key: 150FDE3F7787E7D11EF4E12A9B7D32F2D50582E6 from Apt::Source jenkins]/ensure: created
Notice: /Stage[main]/Jenkins::Repo::Debian/Apt::Source[jenkins]/Apt::Setting[list-jenkins]/File[/etc/apt/sources.list.d/jenkins.list]/ensure: created
Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install jenkins' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
Package jenkins is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'jenkins' has no installation candidate
Error: /Stage[main]/Jenkins::Package/Package[jenkins]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install jenkins' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
Package jenkins is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'jenkins' has no installation candidate
Notice: /Group[jenkins]: Dependency Package[jenkins] has failures: true
Warning: /Group[jenkins]: Skipping because of failed dependencies
Notice: /User[jenkins]: Dependency Package[jenkins] has failures: true
Warning: /User[jenkins]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins]: Dependency Package[jenkins] has failures: true
Warning: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins/plugins]: Dependency Package[jenkins] has failures: true
Warning: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins/plugins]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins/jobs]: Dependency Package[jenkins] has failures: true
Warning: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins/jobs]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Service/Service[jenkins]: Dependency Package[jenkins] has failures: true
Warning: /Stage[main]/Jenkins::Service/Service[jenkins]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins/Anchor[jenkins::end]: Dependency Package[jenkins] has failures: true
Warning: /Stage[main]/Jenkins/Anchor[jenkins::end]: Skipping because of failed dependencies
Notice: /Stage[main]/Nginx::Package::Debian/Apt::Source[nginx]/Apt::Setting[list-nginx]/File[/etc/apt/sources.list.d/nginx.list]/ensure: created
Notice: /Stage[main]/Apt::Update/Exec[apt_update]: Triggered 'refresh' from 1 events
Notice: /Stage[main]/Nginx::Package::Debian/Package[nginx]/ensure: ensure changed 'purged' to 'present'
Notice: /Stage[main]/Nginx::Config/File[/var/nginx]/ensure: created
Notice: /Stage[main]/Nginx::Config/File[/var/nginx/client_body_temp]/ensure: created
Notice: /Stage[main]/Nginx::Config/File[/var/nginx/proxy_temp]/ensure: created
Notice: /Stage[main]/Nginx::Config/File[/etc/nginx/nginx.conf]/content: content changed '{md5}f7984934bd6cab883e1f33d5129834bb' to '{md5}073e6e856ce9ecaa369b58cdb47e9ff5'
Notice: /Stage[main]/Nginx::Config/File[/etc/nginx/conf.stream.d]/ensure: created
Notice: /Stage[main]/Nginx::Config/File[/etc/nginx/conf.mail.d]/ensure: created
Notice: /Stage[main]/Nginx::Config/File[/etc/nginx/sites-enabled]/ensure: created
Notice: /Stage[main]/Ci/Nginx::Resource::Vhost[default]/File[default.conf symlink]: Dependency File[/etc/nginx/sites-available/default.conf] has failures: true
Warning: /Stage[main]/Ci/Nginx::Resource::Vhost[default]/File[default.conf symlink]: Skipping because of failed dependencies
Notice: /Stage[main]/Nginx::Config/File[/etc/nginx/sites-available]/ensure: created
Notice: /Stage[main]/Nginx::Config/File[/etc/nginx/conf.d/default.conf]/ensure: removed
Notice: /Stage[main]/Nginx::Service/Service[nginx]: Dependency File[/etc/nginx/sites-available/default.conf] has failures: true
Warning: /Stage[main]/Nginx::Service/Service[nginx]: Skipping because of failed dependencies
Notice: /Stage[main]/Nginx::Service/Service[nginx]: Triggered 'refresh' from 1 events
Notice: /Stage[main]/Nginx/Anchor[nginx::end]: Dependency File[/etc/nginx/sites-available/default.conf] has failures: true
Warning: /Stage[main]/Nginx/Anchor[nginx::end]: Skipping because of failed dependencies
Notice: Finished catalog run in 1438.02 seconds
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.