Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails on CentOS 6 #6

Closed
bastelfreak opened this issue Jul 8, 2015 · 2 comments
Closed

Fails on CentOS 6 #6

bastelfreak opened this issue Jul 8, 2015 · 2 comments

Comments

@bastelfreak
Copy link
Member

Hi,

I've got the following manifest:

  Kernel_parameter {
    ensure => present,
  }
  kernel_parameter { 'quiet':
  }
  kernel_parameter { 'elevator':
    value => 'deadline',
  }
  kernel_parameter {'LANG':
    value => 'en_US.UTF-8',
  }
  kernel_parameter {'KEYBOARDTYPE':
    value => 'pc',
  }

This is working fine on many nodes, but on two I get the following issue on an agent run:

Error: /Stage[main]/Profiles::Base/Kernel_parameter[quiet]: Could not evaluate: Augeas didn't load /boot/grub/menu.lst with Grub.lns from /var/lib/puppet/lib/augeas/lenses: Iterated lens matched less than it should (line:19, character:0)
Error: /Stage[main]/Profiles::Base/Kernel_parameter[elevator]: Could not evaluate: Augeas didn't load /boot/grub/menu.lst with Grub.lns from /var/lib/puppet/lib/augeas/lenses: Iterated lens matched less than it should (line:19, character:0)
Error: /Stage[main]/Profiles::Base/Kernel_parameter[LANG]: Could not evaluate: Augeas didn't load /boot/grub/menu.lst with Grub.lns from /var/lib/puppet/lib/augeas/lenses: Iterated lens matched less than it should (line:19, character:0)
Error: /Stage[main]/Profiles::Base/Kernel_parameter[KEYBOARDTYPE]: Could not evaluate: Augeas didn't load /boot/grub/menu.lst with Grub.lns from /var/lib/puppet/lib/augeas/lenses: Iterated lens matched less than it should (line:19, character:0)

Package Versions:

# rpm -qa | grep -E "puppet|augeas"
puppet-3.8.1-1.el6.noarch
puppetlabs-release-6-11.noarch
augeas-1.0.0-7.el6_6.1.x86_64
ruby-augeas-0.4.1-3.el6.x86_64
augeas-libs-1.0.0-7.el6_6.1.x86_64

Do you have any thoughts?

@domcleal
Copy link
Contributor

domcleal commented Jul 8, 2015

The error's stating that Augeas can't parse /boot/grub/menu.lst due to something on, or around line 19. It's either a bug in Augeas, or at least that version of it, or some invalid syntax in the file.

@bastelfreak
Copy link
Member Author

ah, just found that again. indeed it was an error in the menu.lst.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants