From 992f22fbc4bb72887b24eddd0e573f37151426e8 Mon Sep 17 00:00:00 2001 From: Les Aker Date: Mon, 2 Dec 2024 22:01:01 -0500 Subject: [PATCH] fix naming --- manifests/setting.pp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/manifests/setting.pp b/manifests/setting.pp index bfb94b1..39bd480 100644 --- a/manifests/setting.pp +++ b/manifests/setting.pp @@ -1,15 +1,15 @@ # @summary Create a sysctl setting # -# @param key sets the sysctl setting name # @param value sets the desired value +# @param key sets the sysctl setting name define sysctl::setting ( - String $value - String $name = $title, + String $value, + String $key = $title, ) { include sysctl - file { "/etc/sysctl.d/${name}": + file { "/etc/sysctl.d/${key}": ensure => file, - content => "${name}=${value}", + content => "${key}=${value}", } }