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

value does not work; must use val #8

Open
ayohrling opened this issue Apr 9, 2016 · 3 comments
Open

value does not work; must use val #8

ayohrling opened this issue Apr 9, 2016 · 3 comments

Comments

@ayohrling
Copy link

When working with 2.0.2 release, receive error:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: no parameter named 'value'

Example code:

sysctl { 'vm.swappiness':
  ensure => 'present',
  value   => '10',
}
@domcleal
Copy link
Contributor

Perhaps you have another sysctl native or defined type?

@ayohrling
Copy link
Author

Nope, no other sysctl types in the environment.

@ghost
Copy link

ghost commented Jul 25, 2017

Hey,

same problem here.

sysctl { 'vm.swappiness':
  ensure  => present,
  value   => '1',
  comment => 'Minimum amount of swapping without disabling it entirely.',
}

Received error:
Server Error: no parameter named 'value'

Trying this:

sysctl { 'vm.swappiness':
  ensure  => present,
  val     => '1',
  comment => 'Minimum amount of swapping without disabling it entirely.',
}

Next error:
Server Error: no parameter named 'comment'

Next try:

sysctl { 'vm.swappiness':
  ensure  => present,
  val     => '1',
}

No error.

I'm using version 2.2.0.

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