Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9342885
php_3A_3Acomposer.html
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
5 KB
Subscribers
None
php_3A_3Acomposer.html
View Options
<!DOCTYPE html>
<
html
>
<
head
>
<
meta
charset
=
"utf-8"
>
<
meta
name
=
"viewport"
content
=
"width=device-width, initial-scale=1.0"
>
<
title
>
Puppet Class: php::composer
—
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::composer"
;
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
>
»
<
span
class
=
'title'
><
span
class
=
'object_link'
>
Puppet Classes
</
span
></
span
>
»
<
span
class
=
"title"
>
php::composer
</
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::composer
</
h1
>
<
div
class
=
"box_info"
>
<
dl
>
<
dt
>
Inherits:
</
dt
>
<
dd
>
::php::params
</
dd
>
</
dl
>
<
dl
>
<
dt
>
Defined in:
</
dt
>
<
dd
>
manifests/composer.pp
</
dd
>
</
dl
>
</
div
>
<
h2
>
Overview
</
h2
>
<
div
class
=
"docstring"
>
<
div
class
=
"discussion"
>
<
p
>
Install composer package manager
</
p
>
<
p
>
=== Parameters
</
p
>
<
p
>
[
<
em
>
source
</
em
>
]
Holds URL to the Composer source file
</
p
>
<
p
>
[
<
em
>
path
</
em
>
]
Holds path to the Composer executable
</
p
>
<
p
>
[
<
em
>
proxy_type
</
em
>
]
proxy server type (none|http|https|ftp)
</
p
>
<
p
>
[
<
em
>
proxy_server
</
em
>
]
specify a proxy server, with port number if needed. ie:
<
a
href
=
"https://example.com:8080"
>
https://example.com:8080
</
a
>
.
</
p
>
<
p
>
[
<
em
>
auto_update
</
em
>
]
Defines if composer should be auto updated
</
p
>
<
p
>
[
<
em
>
max_age
</
em
>
]
Defines the time in days after which an auto-update gets executed
</
p
>
<
p
>
[
<
em
>
root_group
</
em
>
]
UNIX group of the root user
</
p
>
</
div
>
</
div
>
<
div
class
=
"tags"
>
<
p
class
=
"tag_title"
>
Parameters:
</
p
>
<
ul
class
=
"param"
>
<
li
>
<
span
class
=
'name'
>
source
</
span
>
<
span
class
=
'type'
>
(
<
tt
>
String
</
tt
>
)
</
span
>
<
em
class
=
"default"
>
(defaults to:
<
tt
>
$
::php::params::composer_source
</
tt
>
)
</
em
>
</
li
>
<
li
>
<
span
class
=
'name'
>
path
</
span
>
<
span
class
=
'type'
>
(
<
tt
>
Stdlib::Absolutepath
</
tt
>
)
</
span
>
<
em
class
=
"default"
>
(defaults to:
<
tt
>
$
::php::params::composer_path
</
tt
>
)
</
em
>
</
li
>
<
li
>
<
span
class
=
'name'
>
proxy_type
</
span
>
<
span
class
=
'type'
>
(
<
tt
>
Any
</
tt
>
)
</
span
>
<
em
class
=
"default"
>
(defaults to:
<
tt
>
undef
</
tt
>
)
</
em
>
</
li
>
<
li
>
<
span
class
=
'name'
>
proxy_server
</
span
>
<
span
class
=
'type'
>
(
<
tt
>
Any
</
tt
>
)
</
span
>
<
em
class
=
"default"
>
(defaults to:
<
tt
>
undef
</
tt
>
)
</
em
>
</
li
>
<
li
>
<
span
class
=
'name'
>
auto_update
</
span
>
<
span
class
=
'type'
>
(
<
tt
>
Boolean
</
tt
>
)
</
span
>
<
em
class
=
"default"
>
(defaults to:
<
tt
>
true
</
tt
>
)
</
em
>
</
li
>
<
li
>
<
span
class
=
'name'
>
max_age
</
span
>
<
span
class
=
'type'
>
(
<
tt
>
Integer
</
tt
>
)
</
span
>
<
em
class
=
"default"
>
(defaults to:
<
tt
>
$
::php::params::composer_max_age
</
tt
>
)
</
em
>
</
li
>
<
li
>
<
span
class
=
'name'
>
root_group
</
span
>
<
span
class
=
'type'
>
(
<
tt
>
Variant[Integer, String]
</
tt
>
)
</
span
>
<
em
class
=
"default"
>
(defaults to:
<
tt
>
$
::php::params::root_group
</
tt
>
)
</
em
>
</
li
>
</
ul
>
</
div
><
div
class
=
"method_details_list"
>
<
table
class
=
"source_code"
>
<
tr
>
<
td
>
<
pre
class
=
"lines"
>
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
</
pre
>
</
td
>
<
td
>
<
pre
class
=
"code"
><
span
class
=
"info file"
>
# File 'manifests/composer.pp', line 26
</
span
>
class php::composer (
String
$
source =
$
::php::params::composer_source,
Stdlib::Absolutepath
$
path =
$
::php::params::composer_path,
$
proxy_type = undef,
$
proxy_server = undef,
Boolean
$
auto_update = true,
Integer
$
max_age =
$
::php::params::composer_max_age,
Variant[Integer, String]
$
root_group =
$
::php::params::root_group,
) inherits ::php::params {
if
$
caller_module_name !=
$
module_name {
warning(
'
php::composer is private
'
)
}
archive {
'
download composer
'
:
path =
>
$
path,
source =
>
$
source,
proxy_type =
>
$
proxy_type,
proxy_server =
>
$
proxy_server,
}
-
>
file {
$
path:
mode =
>
'
0555
'
,
owner =
>
root,
group =
>
$
root_group,
}
if
$
auto_update {
class {
'
::php::composer::auto_update
'
:
max_age =
>
$
max_age,
source =
>
$
source,
path =
>
$
path,
proxy_type =
>
$
proxy_type,
proxy_server =
>
$
proxy_server,
}
}
}
</
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
Details
Attached
Mime Type
text/html
Expires
Fri, Jul 4, 1:05 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3286809
Attached To
R140 puppet-puppet-php
Event Timeline
Log In to Comment