From 7316d18dab2a19bd3721b9ac1eed1abb91af758e Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 31 Jan 2012 12:07:01 +0100 Subject: [PATCH] move etc/default/ntpdate to a template --- modules/ntpdate/manifests/init.pp | 2 +- .../etc-default-ntpdate => templates/etc-default-ntpdate.erb} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename modules/ntpdate/{files/etc-default-ntpdate => templates/etc-default-ntpdate.erb} (100%) diff --git a/modules/ntpdate/manifests/init.pp b/modules/ntpdate/manifests/init.pp index 006daa5f8..37de5af58 100644 --- a/modules/ntpdate/manifests/init.pp +++ b/modules/ntpdate/manifests/init.pp @@ -10,7 +10,7 @@ class ntpdate { owner => root, group => root, mode => 444, - source => [ "puppet:///modules/ntpdate/etc-default-ntpdate" ], + content => template("ntpdate/etc-default-ntpdate.erb"), ; } } diff --git a/modules/ntpdate/files/etc-default-ntpdate b/modules/ntpdate/templates/etc-default-ntpdate.erb similarity index 100% rename from modules/ntpdate/files/etc-default-ntpdate rename to modules/ntpdate/templates/etc-default-ntpdate.erb -- 2.20.1