Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- define sysctl::value(
- $value
- ){
- exec { "exec_sysctl_${name}":
- command => "/sbin/sysctl ${name}=${value}",
- refreshonly => true,
- }
- sysctl { $name:
- val => "$value",
- notify => Exec["exec_sysctl_${name}"],
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement