forked from ungleich-public/cdist
		
	Fix password command synthax in __postgres_role
This commit is contained in:
		
					parent
					
						
							
								48bff66563
							
						
					
				
			
			
				commit
				
					
						a1536933ab
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue