GithubHelp home page GithubHelp logo

puppet-repoforge's Introduction

RPM Forge Puppet Module Build Status

This module aims to declare and enable rpm forge repositories

Usage

Simple Usage

include repoforge

Custom Usage

class {'repoforge' :
  enabled     => ['rpmforge', 'extras'],
  baseurl     => 'http://apt.sw.be/redhat/el6/en/${::architecture}',
  includepkgs => { 'extras' => 'memcached' },
  exclude     => { 'rpmforge' => 'nagios*', 'testing' => 'perl*' },
}

License

Apache License v2

Contact

Yanis Guenane - [email protected]

Support

Please log tickets and issues at our Projects site

puppet-repoforge's People

Contributors

spredzy avatar antoineco avatar hakamadare avatar

Stargazers

Baptist BENOIST avatar Alaric Hartmann avatar Jesse White avatar Florin Broasca avatar Ian Young avatar Peter Eisentraut avatar

Watchers

James Cloos avatar  avatar

puppet-repoforge's Issues

Always tries to import key on every puppet run

  class {'repoforge':
    enabled => ['rpmforge', 'extras'],
  }
[root(prod1)@cloud1 ~]# puppet agent -t
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Info: Caching catalog for cloud1.example.com.au
Info: Applying configuration version '1460358569'
Notice: /Stage[main]/Repoforge/Repoforge::Rpm_gpg_key[RPM-GPG-KEY-rpmforge-dag]/Exec[import-RPM-GPG-KEY-rpmforge-dag]/returns: executed successfully
Notice: /Stage[main]/Puppetlabs_yum/Puppetlabs_yum::Rpm_gpg_key[RPM-GPG-KEY-puppetlabs]/Exec[import-RPM-GPG-KEY-puppetlabs]/returns: executed successfully
Notice: Finished catalog run in 2.80 seconds

Does this every single puppet run!

Need to add 'exclude' option to rpmforge.pp

Greetings,

For CentOS6, I need to exclude the following package as it has a conflict..
perl-XML-SAX-Base (conflicts with perl-XML-SAX in base).

I have added this manually to 'yumrepo.pp' and it works.
exclude => 'perl-XML-SAX-Base',
but it should probably be something that can be added to params.pp

(I am a puppet newbie.)

gpg key import exec check broken?

https://github.com/Mylezeem/puppet-repoforge/blob/f90996e6c7d98bb6ea80a616a2550e590262e605/manifests/rpm_gpg_key.pp
Line 26 - the unless condition
Actual outcome running puppet 3.7.3 on CentOS 7:
[root@zeus:~] # rpm -q gpg-pubkey-$(echo $(gpg --throw-keyids < /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag) | cut --characters=11-18 | tr [A-Z] [a-z]) -bash: 6b8d79e6: command not found package gpg-pubkey- is not installed

Desired outcome:
`[root@zeus:~] # rpm -q gpg-pubkey-$(echo $(gpg --throw-keyids < /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag) | cut --characters=11-18 | tr [A-Z] [a-z])
gpg-pubkey-6b8d79e6-3f49313d``

Puppet adds the backtick which make the whole check fail and results in the repeated import of the gpg key.

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.