Merge branch 'crontab_fix' of https://github.com/arkaitzj/cdist
This commit is contained in:
		
				commit
				
					
						8113e7f4ac
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -38,7 +38,7 @@ if [ "$state_is" != "$state_should" ]; then
 | 
				
			||||||
      present)
 | 
					      present)
 | 
				
			||||||
         cat << DONE
 | 
					         cat << DONE
 | 
				
			||||||
tmp=\$($mktemp)
 | 
					tmp=\$($mktemp)
 | 
				
			||||||
crontab -u $user -l > \$tmp
 | 
					crontab -u $user -l > \$tmp || true
 | 
				
			||||||
cat >> \$tmp << EOC
 | 
					cat >> \$tmp << EOC
 | 
				
			||||||
$(cat "$__object/parameter/entry")
 | 
					$(cat "$__object/parameter/entry")
 | 
				
			||||||
EOC
 | 
					EOC
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue