From eff6ab2fc2c7014cba546fef9ae9d1f8f0592297 Mon Sep 17 00:00:00 2001 From: Josh Cooper Date: Mon, 9 Jul 2018 20:36:22 -0700 Subject: Move doc string to the beginning --- lib/puppet/type/host.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/puppet/type') diff --git a/lib/puppet/type/host.rb b/lib/puppet/type/host.rb index e348969..52f0e87 100644 --- a/lib/puppet/type/host.rb +++ b/lib/puppet/type/host.rb @@ -1,6 +1,10 @@ require 'puppet/property/ordered_list' Puppet::Type.newtype(:host) do + @doc = "Installs and manages host entries. For most systems, these + entries will just be in `/etc/hosts`, but some systems (notably OS X) + will have different solutions." + ensurable newproperty(:ip) do @@ -90,8 +94,4 @@ Puppet::Type.newtype(:host) do raise Puppet::Error, _('Hostname cannot include newline') if value =~ %r{\n} || value =~ %r{\r} end end - - @doc = "Installs and manages host entries. For most systems, these - entries will just be in `/etc/hosts`, but some systems (notably OS X) - will have different solutions." end -- cgit v1.2.3