GithubHelp home page GithubHelp logo

puppet-robottelo_slave's People

Contributors

ehelms avatar elyezer avatar ifireball avatar omaciel avatar sthirugn avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

ehelms ifireball

puppet-robottelo_slave's Issues

'Robottelo_slave::Config' class contradicts git configuration by 'Slave' class

Both configure '/home/jenkins/.gitconfig', but in a different manner, so it is not detected at compile time and instead causes configuration to never converge at runtime.
This, in turn, causes false-positive changes in Puppet and prevents detection wither a node is fully configured.
Here is an excerpt from Puppet logs showing the issue:

Notice: /Stage[main]/Slave/File[/home/jenkins/.gitconfig]/content: content changed '{md5}7b2e0a20b9a4f007389e15d53d0d6927' to '{md5}947ecd2ca48489a210b9d6d64fa7d1ca'
Notice: /Stage[main]/Robottelo_slave::Config/Git::Config[http.sslVerify]/Git_config[http.sslVerify]/value: value changed '' to 'false'

librarian-puppet is (wrongly) assumed to be installed in path after gem install

The apply.sh script tries to install librarian-puppet with gem and then assumes that it is in path.
Since gem installs librarian-puppet at /usr/local/bin/librarian-puppet, and apply.sh should probably be run as root, this may not be the case because some distros do not place /usr/local/bin in the path for the root user.

Code in this repo does not work on a host without a 'jenkis' user or a '/home/jenkins'

Following is an example of some of the Puppet errors yielded:

Notice: /Stage[main]/Slave/Package[mysql-dev]/ensure: created
Error: Cannot create /home/jenkins/pr_tests; parent directory /home/jenkins does not exist
Error: /Stage[main]/Slave/File[/home/jenkins/pr_tests]/ensure: change from absent to directory failed: Cannot create /home/jenkins/pr_tests; parent directory /home/jenkins does not exist
Notice: /Stage[main]/Slave/Package[libxslt1-dev]/ensure: created
Error: Could not set 'file' on ensure: No such file or directory - /home/jenkins/.katello-ca.cert20160118-689-1ln5jkv at 296:/root/src/puppet-robottelo_slave/modules/slave/manifests/init.pp
Error: Could not set 'file' on ensure: No such file or directory - /home/jenkins/.katello-ca.cert20160118-689-1ln5jkv at 296:/root/src/puppet-robottelo_slave/modules/slave/manifests/init.pp
Wrapped exception:
No such file or directory - /home/jenkins/.katello-ca.cert20160118-689-1ln5jkv
Error: /Stage[main]/Slave/File[/home/jenkins/.katello-ca.cert]/ensure: change from absent to file failed: Could not set 'file' on ensure: No such file or directory - /home/jenkins/.katello-ca.cert20160118-689-1ln5jkv at 296:/root/src/puppet-robottelo_slave/modules/slave/manifests/init.pp

This might back traced back to code from the theforeman/foreman-infra

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.