Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Roque
slapos
Commits
c6c0b7e5
Commit
c6c0b7e5
authored
Jan 20, 2012
by
Antoine Catton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add name to apache pull/push backup server slave instances.
parent
066f6dfa
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
stack/lamp/buildout.cfg
stack/lamp/buildout.cfg
+2
-2
stack/lamp/instance-apache-backup.cfg
stack/lamp/instance-apache-backup.cfg
+2
-1
stack/lamp/instance-backuped.cfg
stack/lamp/instance-backuped.cfg
+2
-1
No files found.
stack/lamp/buildout.cfg
View file @
c6c0b7e5
...
@@ -91,14 +91,14 @@ mode = 0644
...
@@ -91,14 +91,14 @@ mode = 0644
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-apache-backup.cfg
url = ${:_profile_base_location_}/instance-apache-backup.cfg
output = ${buildout:directory}/template-apache-backup.cfg
output = ${buildout:directory}/template-apache-backup.cfg
md5sum =
2dca50fc8cd9548f8971d1675315d7ab
md5sum =
bb304cefde1f981f91b8ad08eb14d3a8
mode = 0644
mode = 0644
[template-backuped]
[template-backuped]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-backuped.cfg
url = ${:_profile_base_location_}/instance-backuped.cfg
output = ${buildout:directory}/template-backuped.cfg
output = ${buildout:directory}/template-backuped.cfg
md5sum =
4ffb75f5c040cb0e1a1c02b89ee801a
1
md5sum =
d2e4cdda25ee5e5a7b147e0c22f5d34
1
mode = 0644
mode = 0644
[template-mariadb]
[template-mariadb]
...
...
stack/lamp/instance-apache-backup.cfg
View file @
c6c0b7e5
...
@@ -138,12 +138,13 @@ name = Pull Backup Server pushing to backup Apache
...
@@ -138,12 +138,13 @@ name = Pull Backup Server pushing to backup Apache
software-url = $${slap-connection:software-release-url}
software-url = $${slap-connection:software-release-url}
software-type = pull-backup
software-type = pull-backup
slave = true
slave = true
config = url id type request-agent-url authorized-key
config = url id type request-agent-url authorized-key
name
config-url = ssh://nobody@[$${dropbear-server:host}]:$${dropbear-server:port}/$${rdiff-backup-server:path}
config-url = ssh://nobody@[$${dropbear-server:host}]:$${dropbear-server:port}/$${rdiff-backup-server:path}
config-id = $${slap-parameter:pbs-id}
config-id = $${slap-parameter:pbs-id}
config-type = push
config-type = push
config-request-agent-url = http://[$${agent-data:host}]:$${agent-data:port}/
config-request-agent-url = http://[$${agent-data:host}]:$${agent-data:port}/
config-authorized-key = $${sshkeys-dropbear:public-key-value}
config-authorized-key = $${sshkeys-dropbear:public-key-value}
config-name = $${:name}
return = feed-url agent-url
return = feed-url agent-url
[logrotate-entry-equeue]
[logrotate-entry-equeue]
...
...
stack/lamp/instance-backuped.cfg
View file @
c6c0b7e5
...
@@ -186,13 +186,14 @@ name = Pull Backup Server pulling from main Apache
...
@@ -186,13 +186,14 @@ name = Pull Backup Server pulling from main Apache
software-url = $${slap-connection:software-release-url}
software-url = $${slap-connection:software-release-url}
software-type = pull-backup
software-type = pull-backup
slave = true
slave = true
config = url id type request-agent-url authorized-key frequency
config = url id type request-agent-url authorized-key frequency
name
config-url = ssh://nobody@[$${dropbear-server:host}]:$${dropbear-server:port}/$${rdiff-backup-server:path}
config-url = ssh://nobody@[$${dropbear-server:host}]:$${dropbear-server:port}/$${rdiff-backup-server:path}
config-id = $${uuid-generator:uuid-apache-backup}
config-id = $${uuid-generator:uuid-apache-backup}
config-type = pull
config-type = pull
config-request-agent-url = http://[$${agent-data:host}]:$${agent-data:port}/
config-request-agent-url = http://[$${agent-data:host}]:$${agent-data:port}/
config-authorized-key = $${sshkeys-dropbear:public-key-value}
config-authorized-key = $${sshkeys-dropbear:public-key-value}
config-frequency = 0 * * * *
config-frequency = 0 * * * *
config-name = ${:name}
return = feed-url agent-url
return = feed-url agent-url
[basedirectory]
[basedirectory]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment