Giter Club home page Giter Club logo

Comments (8)

domcleal avatar domcleal commented on September 25, 2024

Try removing "cgroup_enable=" from the value, i.e.

kernel_parameter { "cgroup_enable":
  ensure   => present,
  value    => "memory",
  bootmode => "normal",
}

from puppet-augeasproviders.

deric avatar deric commented on September 25, 2024

Still the same error. How can I get some debug output?

from puppet-augeasproviders.

domcleal avatar domcleal commented on September 25, 2024

Sorry, I didn't read the entire error.. that indicates there's something already in your /etc/default/grub file that it can't parse. It looks like that's all the debug we're printing at the moment.

from puppet-augeasproviders.

deric avatar deric commented on September 25, 2024

Raphnik suggested another solution, with using directly shellvar

shellvar { 'GRUB_CMDLINE_LINUX':
  ensure   => present,
  target   => '/etc/default/grub',
  value    => 'cgroup_enable=memory',
  quoted   => 'double',
}

See: http://serverfault.com/questions/554092/how-to-update-grub-with-puppet/557032?noredirect=1

from puppet-augeasproviders.

domcleal avatar domcleal commented on September 25, 2024

Yeah, it's just complex to append to existing options as you need augeasfacter.

What's in your grub file when it throws the parse error?

from puppet-augeasproviders.

deric avatar deric commented on September 25, 2024

It was just an empty string

GRUB_CMDLINE_LINUX=""

from puppet-augeasproviders.

raphink avatar raphink commented on September 25, 2024

#62 will allow to append without using augeasfacter.

from puppet-augeasproviders.

raphink avatar raphink commented on September 25, 2024

I think this issue can be closed as it ends up being a duplicate of #62.

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.