wip
This commit is contained in:
parent
84b32acdc8
commit
a68a12ce96
1 changed files with 15 additions and 0 deletions
|
@ -9,6 +9,21 @@ defaults = {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@metadata_reactor.provides(
|
||||||
|
'apt/packages',
|
||||||
|
)
|
||||||
|
def apt(metadata):
|
||||||
|
php_version = metadata.get('php/version')
|
||||||
|
|
||||||
|
return {
|
||||||
|
'apt':{
|
||||||
|
'packages': {
|
||||||
|
f'php{php_version}-mysql': {},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@metadata_reactor.provides(
|
@metadata_reactor.provides(
|
||||||
'nginx/vhosts',
|
'nginx/vhosts',
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue