Giter Club home page Giter Club logo

Comments (4)

domcleal avatar domcleal commented on June 23, 2024

It looks like a different provider is being used ("ProviderParsed") but with the sysctl type from augeasproviders, perhaps check for any other conflicting modules that supply a sysctl provider. You could try setting the provider explicitly to "augeas" too.

from puppet-augeasproviders.

jhoblitt avatar jhoblitt commented on June 23, 2024

I suspect your right and some part of the provider from duritong/puppet-sysctl, which I was previously using, is hanging around but I'm at a total loss to find it.

# locate Sysctl.rb sysctl.rb
/var/lib/puppet/lib/puppet/type/sysctl.rb

# grep -Ril sysctl /var/lib/puppet/lib
/var/lib/puppet/lib/puppet/type/sysctl.rb
/var/lib/puppet/lib/puppet/provider/sysctl/augeas.rb

# head /var/lib/puppet/lib/puppet/type/sysctl.rb
# Manages entries in /etc/sysctl.conf
#
# Copyright (c) 2012 Dominic Cleal
# Licensed under the Apache License, Version 2.0

Puppet::Type.newtype(:sysctl) do
  @doc = "Manages entries in /etc/sysctl.conf."

  ensurable

from puppet-augeasproviders.

domcleal avatar domcleal commented on June 23, 2024

Looking at the pids in the initial logs, it appears you have one long running process (daemonised?) and perhaps a puppet agent -t run too. Have you restarted the daemon since switching providers? It's likely it still has the old code loaded.

Other thoughts: if the agent is on the puppetmaster, check the module directories are clear of the old provider, since it could be loading the provider from here. Also check other environments, since there's no separation of plugins between environments. You could also try adding --trace to the command line, which might point out the file it's loading from.

from puppet-augeasproviders.

domcleal avatar domcleal commented on June 23, 2024

Closing, hopefully that fixed it.

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.