Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8392243
prometheus.launchd.erb
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
prometheus.launchd.erb
View Options
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key> <string>io.prometheus.daemon</string>
<key>UserName</key> <string>
<%=
scope
.
lookupvar
(
'prometheus::user'
)
%>
</string>
<key>GroupName</key> <string>
<%=
scope
.
lookupvar
(
'prometheus::group'
)
%>
</string>
<%
if
scope
.
lookupvar
(
'prometheus::service_enable'
)
%>
<key>Disabled</key> <false/>
<%
else
%>
<key>Disabled></key> <true/>
<%
end
%>
<key>RunAtLoad</key> <true/>
<key>KeepAlive</key> <true/>
<key>ProgramArguments</key>
<array>
<string>
<%=
scope
.
lookupvar
(
'prometheus::bin_dir'
)
%>
/prometheus</string>
<string>agent</string>
<string>-config.file=</string>
<string>
<%=
scope
.
lookupvar
(
'prometheus::config_dir'
)
+
'/prometheus.yaml'
%>
</string>
<string>-storage.local.path=</string>
<string>
<%=
scope
.
lookupvar
(
'prometheus::localstorage'
)
%>
</string>
<%
require
'shellwords'
%>
<%
for
extra_option
in
Shellwords
.
split
(
scope
.
lookupvar
(
'prometheus::extra_options'
))
%>
<string>
<%=
extra_option
%>
</string>
<%
end
%>
</array>
</dict>
</plist>
File Metadata
Details
Attached
Mime Type
text/xml
Expires
Jun 4 2025, 6:56 PM (10 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3304101
Attached To
R141 puppet-puppet-prometheus
Event Timeline
Log In to Comment