diff options
author | Jeff McCune <jeff@puppetlabs.com> | 2011-08-04 19:17:48 -0700 |
---|---|---|
committer | Jeff McCune <jeff@puppetlabs.com> | 2011-08-04 19:17:48 -0700 |
commit | 4c93090e1aad8dfdaa39b4f304d3c87704408b13 (patch) | |
tree | d1fefe1700bc598fad79311f8c85d4767a81d090 /lib/puppet/provider | |
parent | 07d0eca31780bba76f2283ce83f944473ce8fe00 (diff) | |
download | puppet-stdlib-4c93090e1aad8dfdaa39b4f304d3c87704408b13.tar.gz puppet-stdlib-4c93090e1aad8dfdaa39b4f304d3c87704408b13.tar.bz2 |
(#8792) Rename whole_line type to file_line
Without this patch the resource whole_line would be included in the
stable stdlib module shipping in PE 1.2. Ideally the name will be
stable and unchanging in the future.
There was quite a bit of concern over whole_line being an unwise name.
file_line appears to be the most suitable name and least likely to need
another rename in the future.
Diffstat (limited to 'lib/puppet/provider')
-rw-r--r-- | lib/puppet/provider/file_line/ruby.rb (renamed from lib/puppet/provider/whole_line/ruby.rb) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/provider/whole_line/ruby.rb b/lib/puppet/provider/file_line/ruby.rb index 156f255..63bbd8e 100644 --- a/lib/puppet/provider/whole_line/ruby.rb +++ b/lib/puppet/provider/file_line/ruby.rb @@ -1,4 +1,4 @@ -Puppet::Type.type(:whole_line).provide(:ruby) do +Puppet::Type.type(:file_line).provide(:ruby) do def exists? File.readlines(resource[:path]).find do |line| |