From 5326c54b817d6d86c1322dd1b923d1345460a721 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Sat, 9 Oct 2010 21:18:10 +0200 Subject: Rename function file so that puppet hopefully finds it. --- lib/puppet/parser/functions/debian_release.rb | 11 +++++++++++ lib/puppet/parser/functions/release.rb | 11 ----------- 2 files changed, 11 insertions(+), 11 deletions(-) create mode 100644 lib/puppet/parser/functions/debian_release.rb delete mode 100644 lib/puppet/parser/functions/release.rb (limited to 'lib') diff --git a/lib/puppet/parser/functions/debian_release.rb b/lib/puppet/parser/functions/debian_release.rb new file mode 100644 index 0000000..ef30484 --- /dev/null +++ b/lib/puppet/parser/functions/debian_release.rb @@ -0,0 +1,11 @@ +module Puppet::Parser::Functions + newfunction(:debian_release, :type => :rvalue) do |args| + case #{args[0]} { + etch: { 'oldstable' } + lenny: { 'stable' } + squeeze: { 'testing' } + sid: { 'unstable' } + experimental: { 'experimental' } + } + end +end diff --git a/lib/puppet/parser/functions/release.rb b/lib/puppet/parser/functions/release.rb deleted file mode 100644 index ef30484..0000000 --- a/lib/puppet/parser/functions/release.rb +++ /dev/null @@ -1,11 +0,0 @@ -module Puppet::Parser::Functions - newfunction(:debian_release, :type => :rvalue) do |args| - case #{args[0]} { - etch: { 'oldstable' } - lenny: { 'stable' } - squeeze: { 'testing' } - sid: { 'unstable' } - experimental: { 'experimental' } - } - end -end -- cgit v1.2.3