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
ea5cf965
Commit
ea5cf965
authored
Mar 07, 2013
by
varac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
declare $directory not only if $type is 'remote'
parent
93851f9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
manifests/rdiff.pp
manifests/rdiff.pp
+7
-6
No files found.
manifests/rdiff.pp
View file @
ea5cf965
...
...
@@ -37,12 +37,6 @@ define backupninja::rdiff(
default
=>
$backuptag
}
$real_home
=
$home
?
{
false
=>
"/home/
${user}
-
${name}
"
,
default
=>
$home
,
}
$directory
=
"
$real_home
/rdiff-backup/"
backupninja::server::sandbox
{
"
${user}
-
${name}
"
:
user
=>
$user
,
host
=>
$fqdn
,
dir
=>
$real_home
,
...
...
@@ -61,6 +55,13 @@ define backupninja::rdiff(
}
}
}
$real_home
=
$home
?
{
false
=>
"/home/
${user}
-
${name}
"
,
default
=>
$home
,
}
$directory
=
"
$real_home
/rdiff-backup/"
file
{
"
${backupninja::client::defaults::configdir}
/
${order}
_
${name}
.rdiff"
:
ensure
=>
$ensure
,
content
=>
template
(
'backupninja/rdiff.conf.erb'
),
...
...
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