Page MenuHomeSoftware Heritage

php_3A_3Arepo_3A_3Aubuntu.html
No OneTemporary

php_3A_3Arepo_3A_3Aubuntu.html

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Puppet Class: php::repo::ubuntu
&mdash; Documentation by YARD 0.9.9
</title>
<link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
<script type="text/javascript" charset="utf-8">
pathId = "puppet_classes::php::repo::ubuntu";
relpath = '../';
</script>
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
</head>
<body>
<div class="nav_wrap">
<iframe id="nav" src="../puppet_class_list.html?1"></iframe>
<div id="resizer"></div>
</div>
<div id="main" tabindex="-1">
<div id="header">
<div id="menu">
<a href="../_index.html">Index (p)</a> &raquo;
<span class='title'><span class='object_link'>Puppet Classes</span></span>
&raquo;
<span class="title">php::repo::ubuntu</span>
</div>
<div id="search">
<a class="full_list_link" id="puppet_class_list_link"
href="../puppet_class_list.html">
<svg width="24" height="24">
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
</svg>
</a>
</div>
<div class="clear"></div>
</div>
<div id="content"><h1>Puppet Class: php::repo::ubuntu</h1>
<div class="box_info">
<dl>
<dt>Defined in:</dt>
<dd>
manifests/repo/ubuntu.pp
</dd>
</dl>
</div>
<h2>Overview</h2>
<div class="docstring">
<div class="discussion">
<p>Configure ubuntu ppa</p>
<p>=== Parameters</p>
<p>[<em>version</em>]
PHP version to manage (e.g. 5.6)</p>
</div>
</div>
<div class="tags">
<p class="tag_title">Parameters:</p>
<ul class="param">
<li>
<span class='name'>version</span>
<span class='type'>(<tt>Any</tt>)</span>
<em class="default">(defaults to: <tt>undef</tt>)</em>
</li>
</ul>
</div><div class="method_details_list">
<table class="source_code">
<tr>
<td>
<pre class="lines">
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/repo/ubuntu.pp', line 8</span>
class php::repo::ubuntu (
$version = undef,
) {
include &#39;::apt&#39;
if($version == undef) {
$version_real = &#39;5.6&#39;
} else {
$version_real = $version
}
if ($version_real == &#39;5.5&#39;) {
fail(&#39;PHP 5.5 is no longer available for download&#39;)
}
assert_type(Pattern[/^\d\.\d/], $version_real)
$version_repo = $version_real ? {
&#39;5.4&#39; =&gt; &#39;ondrej/php5-oldstable&#39;,
&#39;5.6&#39; =&gt; &#39;ondrej/php&#39;,
&#39;7.0&#39; =&gt; &#39;ondrej/php&#39;
}
::apt::ppa { &quot;ppa:${version_repo}&quot;: }
}</pre>
</td>
</tr>
</table>
</div>
</div>
<div id="footer">
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
</div>
</div>
</body>
</html>

File Metadata

Mime Type
text/html
Expires
Fri, Jul 4, 10:52 AM (4 w, 7 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3349720

Event Timeline