forked from ungleich-public/cdist
		
	/wget/curl/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								f928072f74
							
						
					
				
			
			
				commit
				
					
						14a112fcce
					
				
			
		
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -34,7 +34,7 @@ fi
 | 
			
		|||
case "$state_should" in
 | 
			
		||||
   present)
 | 
			
		||||
      uri="$(cat "$__object/parameter/uri")"
 | 
			
		||||
      echo "wget -q \"$uri\" -O - | apt-key add -"
 | 
			
		||||
      printf 'curl -s -L "%s" | apt-key add -\n' "$uri"
 | 
			
		||||
   ;;
 | 
			
		||||
   absent)
 | 
			
		||||
      cat << DONE
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -18,4 +18,4 @@
 | 
			
		|||
# along with cdist. If not, see <http://www.gnu.org/licenses/>.
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
__package wget
 | 
			
		||||
__package curl
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue