Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
base
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
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lonlone Lee
base
Commits
43981bde
Verified
Commit
43981bde
authored
Jun 15, 2018
by
Adam Lewenberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use correct version of ktutil
parent
5ed8593b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
NEWS
NEWS
+2
-0
manifests/wallet/keytab.pp
manifests/wallet/keytab.pp
+8
-1
No files found.
NEWS
View file @
43981bde
unreleased
(
207
x
-
xx
-
xx
)
[
wallet
]
Make
wallet
ketyab
use
the
correct
path
for
ktutil
.
[
duo
]
Change
apt
pin
file
to
point
to
codename
rather
than
archive
name
.
[
adamhl
]
...
...
manifests/wallet/keytab.pp
View file @
43981bde
...
...
@@ -8,12 +8,19 @@ define base::wallet::keytab(
$heimdal
=
false
)
{
include
base::wallet::client
if
(
$::lsbdistcodename
==
'wheezy'
)
{
$ktutil_exe
=
'/usr/sbin/ktutil'
}
else
{
$ktutil_exe
=
'/usr/bin/ktutil'
}
$wallet_opts
=
"-f '
$path
' get keytab '
$name
'"
exec
{
"wallet
$wallet_opts
"
:
path
=>
'/bin:/usr/bin:/usr/local/bin:/usr/kerberos/bin'
,
command
=>
"
${kstart_cmd}
wallet
${wallet_opts}
"
,
unless
=>
$heimdal
?
{
true
=>
"
/usr/sbin/ktutil
-k '
$path
' list | grep -i -q '
$name
'"
,
true
=>
"
${ktutil_exe}
-k '
$path
' list | grep -i -q '
$name
'"
,
false
=>
"klist -k '
$path
' | grep -i -q '
$name
'"
,
},
require
=>
[
Package
[
'kstart'
],
Package
[
'wallet-client'
]
],
...
...
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