aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJosh Cooper <josh@puppet.com>2018-07-10 00:02:57 -0700
committerJosh Cooper <josh@puppet.com>2018-07-10 11:03:14 -0700
commitfcc428729b8698b4339fe68f7e8cc83a95d80f9d (patch)
tree492ebbd1a1c27b05ad3a8395fbab99873c00a026 /lib
parentf56a603dcdfde122f1f64eadccf0900f65dc347c (diff)
downloadpuppet-hosts_core-fcc428729b8698b4339fe68f7e8cc83a95d80f9d.tar.gz
puppet-hosts_core-fcc428729b8698b4339fe68f7e8cc83a95d80f9d.tar.bz2
Add provider doc description
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/provider/host/parsed.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/puppet/provider/host/parsed.rb b/lib/puppet/provider/host/parsed.rb
index c3531e6..64e6c60 100644
--- a/lib/puppet/provider/host/parsed.rb
+++ b/lib/puppet/provider/host/parsed.rb
@@ -12,6 +12,10 @@ end
Puppet::Type.type(:host).provide(:parsed, parent: Puppet::Provider::ParsedFile,
default_target: hosts, filetype: :flat) 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."
+
confine exists: hosts
text_line :comment, match: %r{^#}