From 875adf997656ba1860aac9c866605dda6c2c17f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Tarti=C3=A8re?= Date: Wed, 22 Nov 2023 16:35:48 -1000 Subject: [PATCH] Remove legacy top-scope syntax --- README.md | 2 +- templates/nscd.conf.epp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1de55ba..724160d 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Configures `/etc/nscd.conf` and controls nscd service. Including the class should configure nscd with default OS configuration. ```puppet -include ::nscd +include nscd ``` A full set of configurations that can be set. diff --git a/templates/nscd.conf.epp b/templates/nscd.conf.epp index 12b6a98..684afc2 100644 --- a/templates/nscd.conf.epp +++ b/templates/nscd.conf.epp @@ -37,7 +37,7 @@ stat-user <%= $nscd::stat_user %> debug-level <%= $nscd::debug_level %> reload-count <%= $nscd::reload_count %> <%- if $nscd::restart_interval { -%> -restart-interval <%= $::nscd::restart_interval %> +restart-interval <%= $nscd::restart_interval %> <%- } -%> <%- if $nscd::paranoia { -%> paranoia yes