You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am looking to use this to set vm.swappiness so my setup is very simple.
Heira:
sysctl::base::values:
vm.swappiness:
ensure: '0'
class declaration:
include sysctl::base
The error:
puppet agent -t
Info: Using configured environment 'test'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Info: Caching catalog for test-node.marine.usf.edu
Error: Failed to apply catalog: Validation of File[/etc/sysctl.d/vm.swappiness.conf] failed: You cannot specify more than one of content, source, target at /etc/puppetlabs/code/environments/test/modules/sysctl/manifests/init.pp:57
Does the file resource declaration at L57 need to be updated? Or maybe there is some issue with default values? It looks to me like the defaults are set to undef though I don't see what the issue is.
I am looking to use this to set
vm.swappiness
so my setup is very simple.Heira:
class declaration:
include sysctl::base
The error:
Does the
file
resource declaration at L57 need to be updated? Or maybe there is some issue with default values? It looks to me like the defaults are set toundef
though I don't see what the issue is.env details:
The text was updated successfully, but these errors were encountered: