Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
chris
puppet-backupninja
Commits
93b370be
Commit
93b370be
authored
Jul 31, 2008
by
Micah Anderson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
allow for a resource override of managing the ssh directory
parent
d6f0ce44
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
manifests/client.pp
manifests/client.pp
+4
-0
manifests/rdiff.pp
manifests/rdiff.pp
+2
-2
No files found.
manifests/client.pp
View file @
93b370be
...
@@ -27,6 +27,10 @@ class backupninja::client {
...
@@ -27,6 +27,10 @@ class backupninja::client {
''
=>
true
,
''
=>
true
,
default
=>
$keymanage
default
=>
$keymanage
}
}
$real_ssh_dir_manage
=
$ssh_dir_manage
?
{
''
=>
true
,
default
=>
$ssh_dir_manage
}
package
{
'backupninja'
:
package
{
'backupninja'
:
ensure
=>
'0.9.5-3'
;
ensure
=>
'0.9.5-3'
;
}
}
...
...
manifests/rdiff.pp
View file @
93b370be
...
@@ -23,7 +23,7 @@ define backupninja::rdiff(
...
@@ -23,7 +23,7 @@ define backupninja::rdiff(
"/home/*/gtk-gnutella-downloads"
],
"/home/*/gtk-gnutella-downloads"
],
$include
=
[
"/var/spool/cron/crontabs"
,
"/var/backups"
,
"/etc"
,
"/root"
,
$include
=
[
"/var/spool/cron/crontabs"
,
"/var/backups"
,
"/etc"
,
"/root"
,
"/home"
,
"/usr/local/*bin"
,
"/var/lib/dpkg/status*"
],
"/home"
,
"/usr/local/*bin"
,
"/var/lib/dpkg/status*"
],
$vsinclude
=
false
,
$keep
=
30
,
$sshoptions
=
false
,
$options
=
false
,
$
manage_
ssh_dir
=
true
,
$vsinclude
=
false
,
$keep
=
30
,
$sshoptions
=
false
,
$options
=
false
,
$ssh_dir
_manage
=
true
,
$ssh_dir
=
false
,
$authorized_keys_file
=
false
,
$installuser
=
true
,
$installkey
=
true
,
$ssh_dir
=
false
,
$authorized_keys_file
=
false
,
$installuser
=
true
,
$installkey
=
true
,
$backuptag
=
false
)
$backuptag
=
false
)
{
{
...
@@ -35,7 +35,7 @@ define backupninja::rdiff(
...
@@ -35,7 +35,7 @@ define backupninja::rdiff(
backupninja::server::sandbox
backupninja::server::sandbox
{
{
"
${user}
-
${name}
"
:
user
=>
$user
,
host
=>
$host
,
dir
=>
$directory
,
"
${user}
-
${name}
"
:
user
=>
$user
,
host
=>
$host
,
dir
=>
$directory
,
manage_ssh_dir
=>
$
manage_
ssh_dir
,
ssh_dir
=>
$ssh_dir
,
manage_ssh_dir
=>
$ssh_dir
_manage
,
ssh_dir
=>
$ssh_dir
,
authorized_keys_file
=>
$authorized_keys_file
,
installuser
=>
$installuser
,
authorized_keys_file
=>
$authorized_keys_file
,
installuser
=>
$installuser
,
backuptag
=>
$backuptag
backuptag
=>
$backuptag
}
}
...
...
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