This commit is contained in:
parent
4a81c05f6d
commit
b4122bf3f9
2 changed files with 53 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
from os.path import isfile, join
|
||||
|
||||
pkg_apt = {
|
||||
'perl': {},
|
||||
'cpanminus': {},
|
||||
|
@ -33,6 +35,14 @@ files = {
|
|||
},
|
||||
}
|
||||
|
||||
if isfile(join(repo.path, 'data', 'travelynx', 'files', 'imprint', node.name)):
|
||||
files['/opt/travelynx/templates/imprint.html.ep'] = {
|
||||
'source': 'imprint/{}'.format(node.name),
|
||||
'needs': {
|
||||
'git_deploy:/opt/travelynx',
|
||||
},
|
||||
}
|
||||
|
||||
git_deploy = {
|
||||
'/opt/travelynx': {
|
||||
'repo': 'https://github.com/derf/travelynx.git',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue