Comments (12)
Are you using a master at all? Or can you post the command line you're running? I have a theory, but would like to confirm.
@rtyler I suspect it's the lack of plugin sync on a direct apply..
from puppet-jenkins.
Thks !
sudo FACTER_env='prod' FACTER_server='forge' puppet apply /home/admin/puppet/current/manifests/default.pp --modulepath=/etc/puppet/modules:/home/admin/puppet/current/modules
from puppet-jenkins.
And how I include Jenkins
class { 'jenkins':
version => 'latest',
repo => false
}
jenkins::plugin { "ansicolor" : ; }
jenkins::plugin { "role-strategy" : ; }
jenkins::plugin { "gravatar" : ; }
jenkins::plugin { "thinBackup" : ; }
jenkins::plugin { "timestamper" : ; }
jenkins::plugin { "simple-theme-plugin" : ; }
jenkins::plugin { "git-client" : ; }
jenkins::plugin { "scm-api" : ; }
jenkins::plugin { "git" : ; }
from puppet-jenkins.
And no, I d'ont use a master.
I make an "apply" on the server itself
from puppet-jenkins.
@leopoiroux How did you install the module? A normal puppet module install rtyler-jenkins
should properly autoload things for Facter.
That said, I'm somewhat surprised to see that you're using Facter 2.0.1 and Puppet 2.7, quite an odd combination
from puppet-jenkins.
Honestly, I'm not sure how the masterless puppet works w/ loading facts in a version of puppet that old, especially w/ a new facter.
In truth, i'm not too familiar w/ using masterless puppet - but here is where the issue is being raised, for either @rtyler or someone else who may be able to help.
https://github.com/jenkinsci/puppet-jenkins/blob/master/lib/facter/jenkins.rb#L7
(also, @rtyler , should we be using the puppetx namespace, vs puppet? )
from puppet-jenkins.
Sorry @rtyler, I use Facter "1.6.10" (debian wheezy)
And Yes I did a standard installation with puppet module install rtyler-jenkins
from puppet-jenkins.
Thks for your help.
I managed to install Puppet 3.5.1 and Facter 2.0.1 on Debian 7.4.
And it's work fine
from puppet-jenkins.
But this does not close the issue when working with 2.7. is there any thing we can do to fix it when using masterless on puppet 2.7 ?
from puppet-jenkins.
Hmm.. Not sure there is anything. Also, 2.7 is officially end of life from Puppetlabs.
We probably should update our README with minimum requirements, once we confirm the hard limits.
from puppet-jenkins.
Having the same warning with Puppet 3.6.2 and Facter 2.1.0 running puppet agent --test
Warning: Could not load fact file /etc/puppet/modules/jenkins/lib/facter/jenkins.rb: no such file to load -- puppet/jenkins/facts
Using module 1.1.0 from the forge
When running puppet apply
it works fine, there's an example at https://registry.hub.docker.com/u/maestrodev/jenkins-slave/build_id/10159/code/bptkuys26k7ihfstjeecat6/ with no warning
from puppet-jenkins.
Upgrading to 3.5 from 2.7 resolved this issue. Probably as said you might want to update the README with the same. Save time for new users.
from puppet-jenkins.
Related Issues (20)
- Plugin download / installation not idempotent HOT 1
- Add a way to set the open files limit in systemd service HOT 1
- Error HOT 1
- Error HOT 1
- Support: casc HOT 1
- Jenkins is no longer forking (--daemon has been removed) HOT 2
- Does no longer work with jenkins 2.332.1 or 2.335 onwards
- Support for Jenkins < 2.332 HOT 1
- Fact 'jenkins_plugins' can exceed value length limit: 4096 HOT 2
- Convert Terminology to match current Jenkins Terminology
- Puppet removes plugin when plugin was installed using the Jenkins ui
- How to install jenkins on a mounted partition HOT 1
- Jenkins not installing on Centos 7 due to gpg key HOT 5
- function hiera_array is deprecated HOT 2
- Puppet enterprise error line 425 Could not find class ::java HOT 1
- Jenkins Redhat repo certificate has expired HOT 2
- undefined method strip HOT 8
- jenkins_plugins fact is locale-dependent which can cause a plugin installation loop HOT 2
- jenkins-cli.jar has been renamed in the jenkins rpm. HOT 6
- jenkins present.pp does not fix single-quotes for xml 1.1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-jenkins.