Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
cdist
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
41
Issues
41
List
Boards
Labels
Service Desk
Milestones
Merge Requests
14
Merge Requests
14
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
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
ungleich-public
cdist
Commits
a1536933
Commit
a1536933
authored
Feb 15, 2020
by
fnux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix password command synthax in __postgres_role
parent
48bff665
Pipeline
#879
passed with stage
in 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cdist/conf/type/__postgres_role/gencode-remote
cdist/conf/type/__postgres_role/gencode-remote
+1
-1
No files found.
cdist/conf/type/__postgres_role/gencode-remote
View file @
a1536933
...
...
@@ -54,7 +54,7 @@ case "$state_should" in
[
-n
"
$password
"
]
&&
password
=
"PASSWORD '
$password
'"
cat
<<
EOF
su - '
$postgres_user
' -c "psql postgres -wc
'CREATE ROLE
\"
$name
\"
WITH
$password
$booleans
;'
"
su - '
$postgres_user
' -c "psql postgres -wc
\"
CREATE ROLE
\\\\\"
$name
\\\\\"
WITH
$password
$booleans
;
\"
"
EOF
;;
absent
)
...
...
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