Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8394485
static_hostnames.pp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
335 B
Subscribers
None
static_hostnames.pp
View Options
# Declare the /etc/hosts entries
class
profile
::
static_hostnames
{
$static_hostnames
=
lookup
(
'static_hostnames'
,
{
default_value
=>
{}})
each
(
$static_hostnames)
|
$ip,
$properties|
{
host
{
$properties
[
'host'
]
:
ensure
=>
present
,
ip
=>
$ip,
host_aliases
=>
$properties
[
'aliases'
]
}
}
}
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Wed, Jun 4, 7:25 PM (6 d, 4 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3238477
Attached To
rSPSITE puppet-swh-site
Event Timeline
Log In to Comment