You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- DO NOT EDIT: This document was generated by Puppet Strings -->
3
4
4
5
## Table of Contents
5
6
6
-
**Resource types**
7
+
### Resource types
7
8
8
-
*[`host`](#host): Installs and manages host entries. For most systems, these entries will just be in `/etc/hosts`, but some systems (notably OS X) will have d
9
+
*[`host`](#host): Installs and manages host entries.
9
10
10
11
## Resource types
11
12
12
-
### host
13
+
### <aname="host"></a>`host`
13
14
14
-
Installs and manages host entries. For most systems, these
15
-
entries will just be in `/etc/hosts`, but some systems (notably OS X)
16
-
will have different solutions.
15
+
For most systems, these entries will just be in `/etc/hosts`, but some
16
+
systems (notably OS X) will have different solutions.
17
17
18
18
#### Properties
19
19
20
20
The following properties are available in the `host` type.
21
21
22
-
##### `ensure`
22
+
##### `comment`
23
23
24
-
Valid values: present, absent
24
+
A comment that will be attached to the line with a # character.
25
25
26
-
The basic property that the resource should be in.
26
+
##### `ensure`
27
27
28
-
Default value: present
28
+
Valid values: `present`, `absent`
29
29
30
-
##### `ip`
30
+
The basic property that the resource should be in.
31
31
32
-
The host's IP address, IPv4 or IPv6.
32
+
Default value: `present`
33
33
34
34
##### `host_aliases`
35
35
36
36
Any aliases the host might have. Multiple values must be
37
37
specified as an array.
38
38
39
-
##### `comment`
39
+
##### `ip`
40
40
41
-
A comment that will be attached to the line with a # character.
41
+
The host's IP address, IPv4 or IPv6.
42
42
43
43
##### `target`
44
44
@@ -49,9 +49,17 @@ those providers that write to disk. On most systems this defaults to `/etc/hosts
49
49
50
50
The following parameters are available in the `host` type.
51
51
52
-
##### `name`
52
+
*[`name`](#name)
53
+
*[`provider`](#provider)
54
+
55
+
##### <aname="name"></a>`name`
53
56
54
57
namevar
55
58
56
59
The host name.
57
60
61
+
##### <aname="provider"></a>`provider`
62
+
63
+
The specific backend to use for this `host` resource. You will seldom need to specify this --- Puppet will usually
64
+
discover the appropriate provider for your platform.
0 commit comments