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
98e14e62
Commit
98e14e62
authored
Feb 20, 2010
by
Silvio Rhatto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoiding duplicate definition of ssh_authorized_key
parent
54821a0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
manifests/server.pp
manifests/server.pp
+13
-11
No files found.
manifests/server.pp
View file @
98e14e62
...
...
@@ -139,15 +139,17 @@ class backupninja::server {
}
}
default
:
{
@@
ssh_authorized_key
{
$real_user
:
type
=>
$keytype
,
key
=>
$key
,
user
=>
$real_user
,
target
=>
"
${real_ssh_dir}
/
${real_authorized_keys_file}
"
,
tag
=>
"
$real_backuptag
"
,
require
=>
User
[
$real_user
],
}
}
if
!
defined
(
Ssh_autorized_key
[
"
$real_user
"
])
{
@@
ssh_authorized_key
{
"
$real_user
"
:
type
=>
$keytype
,
key
=>
$key
,
user
=>
$real_user
,
target
=>
"
${real_ssh_dir}
/
${real_authorized_keys_file}
"
,
tag
=>
"
$real_backuptag
"
,
require
=>
User
[
$real_user
],
}
}
}
}
case
$uid
{
false
:
{
...
...
@@ -160,7 +162,7 @@ class backupninja::server {
managehome
=>
true
,
shell
=>
"/bin/sh"
,
password
=>
'*'
,
require
=>
Group
[
'backupninjas'
],
require
=>
Group
[
'backupninjas'
],
tag
=>
"
$real_backuptag
"
}
}
...
...
@@ -176,7 +178,7 @@ class backupninja::server {
managehome
=>
true
,
shell
=>
"/bin/sh"
,
password
=>
'*'
,
require
=>
Group
[
'backupninjas'
],
require
=>
Group
[
'backupninjas'
],
tag
=>
"
$real_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