Giter Club home page Giter Club logo

Comments (4)

raphink avatar raphink commented on June 17, 2024 1

You should find other examples… See https://github.com/camptocamp/puppet-varnish or https://github.com/camptocamp/puppet-openldap

from puppet-augeasproviders.

gregswift avatar gregswift commented on June 17, 2024

So until this is done.. how do you test when using augeasproviders?

02:21:35   1) profile_compliance::controls::auditlog with defaults for all parameters should contain Class[auditd]
02:21:35      Failure/Error: it { should contain_class('auditd') }
02:21:35      Puppet::Error:
02:21:35        Could not autoload puppet/type/pam: Could not autoload puppet/provider/pam/augeas: undefined method `provider' for nil:NilClass on node cit-jenkins-n02.staging.ord1.cit.rackspace.net
02:21:35      # ./spec/fixtures/modules/augeasproviders_pam/lib/puppet/provider/pam/augeas.rb:6
02:21:35      # ./spec/fixtures/modules/augeasproviders_pam/lib/puppet/type/pam.rb:6
02:21:35      # ./spec/classes/controls/auditlog_spec.rb:16

from puppet-augeasproviders.

domcleal avatar domcleal commented on June 17, 2024

@gregswift check that you have the augeasproviders_core module present, the stack trace suggests it can't load the augeasproviders type.

This ticket's about refactoring ap's own tests.

from puppet-augeasproviders.

gregswift avatar gregswift commented on June 17, 2024

Ahh... that was it. and explains why i couldnt find any other examples... i saw that augeasproviders_pam was included.

For hijack, sorry I miss read the 'any module using augeasproviders can write type/provider specs using rspec-puppet-augeas' in the raphink's text.

from puppet-augeasproviders.

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.