Giter Club home page Giter Club logo

Comments (12)

matthewbarr avatar matthewbarr commented on May 26, 2024

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.

leopoiroux avatar leopoiroux commented on May 26, 2024

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.

leopoiroux avatar leopoiroux commented on May 26, 2024

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.

leopoiroux avatar leopoiroux commented on May 26, 2024

And no, I d'ont use a master.
I make an "apply" on the server itself

from puppet-jenkins.

rtyler avatar rtyler commented on May 26, 2024

@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.

matthewbarr avatar matthewbarr commented on May 26, 2024

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.

leopoiroux avatar leopoiroux commented on May 26, 2024

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.

leopoiroux avatar leopoiroux commented on May 26, 2024

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.

paschdan avatar paschdan commented on May 26, 2024

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.

matthewbarr avatar matthewbarr commented on May 26, 2024

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.

carlossg avatar carlossg commented on May 26, 2024

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.

binoybcompany avatar binoybcompany commented on May 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.