Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
puppet-backupninja
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chris
puppet-backupninja
Commits
4637cf2b
Commit
4637cf2b
authored
May 07, 2015
by
Jerome Charaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed $installkey parameter to $keymanage, see upgrade notice in README
parent
e465032e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
9 deletions
+12
-9
README
README
+6
-3
manifests/duplicity.pp
manifests/duplicity.pp
+2
-2
manifests/rdiff.pp
manifests/rdiff.pp
+2
-2
manifests/rsync.pp
manifests/rsync.pp
+2
-2
No files found.
README
View file @
4637cf2b
...
...
@@ -24,9 +24,12 @@ $nagios_server. The $manage_nagios parameter also replaces the
$use_nagios global.
As for handlers, they don't include the backupninja::client anymore and
now read several default values from the backupninja base class. If you
were using the rdiff-backup handler, read the following section
carefully. Other handlers have not changed in any significant way.
now read several default values from the backupninja base class. The
$installkey parameter used in several handlers has been renamed to
$keymanage, to keep in line with the base class parameter.
If you were using the rdiff-backup handler, you need to read the
following section carefully.
Changes to the rdiff-backup handler
-----------------------------------
...
...
manifests/duplicity.pp
View file @
4637cf2b
...
...
@@ -94,7 +94,7 @@ define backupninja::duplicity( $order = 90,
$backuptag
=
false
,
# key options
$createkey
=
false
,
$
installkey
=
tru
e
)
{
$
keymanage
=
$backupninja::keymanag
e
)
{
# install client dependencies
ensure_resource
(
'package'
,
'duplicity'
,
{
'ensure'
=>
$backupninja::ensure_duplicity_version
})
...
...
@@ -122,7 +122,7 @@ define backupninja::duplicity( $order = 90,
user
=>
$destuser
,
host
=>
$desthost
,
createkey
=>
$createkey
,
installkey
=>
$installkey
,
keymanage
=>
$keymanage
,
keytype
=>
$backupkeytype
,
keystore
=>
$backupkeystore
,
keystorefspath
=>
$backupkeystorefspath
,
...
...
manifests/rdiff.pp
View file @
4637cf2b
...
...
@@ -25,7 +25,7 @@ define backupninja::rdiff(
$include
=
[
"/var/spool/cron/crontabs"
,
"/var/backups"
,
"/etc"
,
"/root"
,
"/home"
,
"/usr/local/*bin"
,
"/var/lib/dpkg/status*"
],
$vsinclude
=
false
,
$keep
=
30
,
$sshoptions
=
false
,
$options
=
'--force'
,
$ssh_dir_manage
=
true
,
$ssh_dir
=
false
,
$authorized_keys_file
=
false
,
$installuser
=
true
,
$
installkey
=
tru
e
,
$key
=
false
,
$ssh_dir
=
false
,
$authorized_keys_file
=
false
,
$installuser
=
true
,
$
keymanage
=
$backupninja::keymanag
e
,
$key
=
false
,
$backuptag
=
false
,
$backupkeytype
=
$backupninja::keytype
,
$backupkeystore
=
$backupninja::keystore
,
$extras
=
false
,
$nagios_description
=
'backups'
)
{
...
...
@@ -54,7 +54,7 @@ define backupninja::rdiff(
backupninja::key
{
"
${user}
-
${name}
"
:
user
=>
$user
,
host
=>
$host
,
installkey
=>
$installkey
,
keymanage
=>
$keymanage
,
keytype
=>
$backupkeytype
,
keystore
=>
$backupkeystore
,
}
...
...
manifests/rsync.pp
View file @
4637cf2b
...
...
@@ -5,7 +5,7 @@ define backupninja::rsync(
$order
=
90
,
$ensure
=
present
,
$user
=
false
,
$home
=
false
,
$host
=
false
,
$ssh_dir_manage
=
true
,
$ssh_dir
=
false
,
$authorized_keys_file
=
false
,
$installuser
=
true
,
$
installkey
=
tru
e
,
$key
=
false
,
$backuptag
=
false
,
$installuser
=
true
,
$
keymanage
=
$backupninja::keymanag
e
,
$key
=
false
,
$backuptag
=
false
,
$home
=
false
,
$backupkeytype
=
$backupninja::keytype
,
$backupkeystore
=
$backupninja::keystore
,
$extras
=
false
,
$nagios_description
=
'backups'
,
$subfolder
=
'rsync'
,
...
...
@@ -71,7 +71,7 @@ define backupninja::rsync(
backupninja::key
{
"
${user}
-
${name}
"
:
user
=>
$user
,
host
=>
$host
,
installkey
=>
$installkey
,
keymanage
=>
$keymanage
,
keytype
=>
$backupkeytype
,
keystore
=>
$backupkeystore
,
}
...
...
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