forked from ungleich-public/cdist
		
	Merge branch 'master' of code.ungleich.ch:ungleich-public/cdist
This commit is contained in:
		
				commit
				
					
						5033f67d96
					
				
			
		
					 2 changed files with 38 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -64,6 +64,43 @@ case "$os" in
 | 
			
		|||
        require="__apt_source/docker" __package docker-ce --state "${state}"
 | 
			
		||||
      fi
 | 
			
		||||
   ;;
 | 
			
		||||
   devuan)
 | 
			
		||||
      os_version="$(cat "$__global/explorer/os_version")"
 | 
			
		||||
 | 
			
		||||
      case "$os_version" in
 | 
			
		||||
        ascii)
 | 
			
		||||
          distribution="stretch"
 | 
			
		||||
        ;;
 | 
			
		||||
        jessie)
 | 
			
		||||
          distribution="jessie"
 | 
			
		||||
        ;;
 | 
			
		||||
        *)
 | 
			
		||||
          echo "Your devuan release ($os_version) is currently not supported by this type (${__type##*/}).">&2
 | 
			
		||||
          echo "Please contribute an implementation for it if you can." >&2
 | 
			
		||||
          exit 1
 | 
			
		||||
        ;;
 | 
			
		||||
      esac
 | 
			
		||||
 | 
			
		||||
      if [ "${state}" = "present" ]; then
 | 
			
		||||
        __package apt-transport-https
 | 
			
		||||
        __package ca-certificates
 | 
			
		||||
        __package gnupg2
 | 
			
		||||
      fi
 | 
			
		||||
      __apt_key_uri docker --name "Docker Release (CE deb) <docker@docker.com>" \
 | 
			
		||||
        --uri "https://download.docker.com/linux/${os}/gpg" --state "${state}"
 | 
			
		||||
 | 
			
		||||
      require="__apt_key_uri/docker" __apt_source docker \
 | 
			
		||||
         --uri "https://download.docker.com/linux/${os}" \
 | 
			
		||||
         --distribution "${distribution}" \
 | 
			
		||||
         --state "${state}" \
 | 
			
		||||
         --component "stable"
 | 
			
		||||
      if [ "$version" != "latest" ]; then
 | 
			
		||||
        require="__apt_source/docker" __package docker-ce --version "${version}" --state "${state}"
 | 
			
		||||
      else
 | 
			
		||||
        require="__apt_source/docker" __package docker-ce --state "${state}"
 | 
			
		||||
      fi
 | 
			
		||||
 | 
			
		||||
   ;;
 | 
			
		||||
   *)
 | 
			
		||||
      echo "Your operating system ($os) is currently not supported by this type (${__type##*/})." >&2
 | 
			
		||||
      echo "Please contribute an implementation for it if you can." >&2
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ next:
 | 
			
		|||
	* Build: Overcome bash CDPATH when building docs (Dmitry Bogatov)
 | 
			
		||||
	* Type __grafana_dashboard: Update distribution name, package signing key URI and repository URI (Dominique Roux)
 | 
			
		||||
	* Type __letsencrypt_cert: Add Devuan Beowulf support (Nico Schottelius)
 | 
			
		||||
	* Type __docker: Add devuan support (Dominique Roux)
 | 
			
		||||
 | 
			
		||||
5.1.2: 2019-06-21
 | 
			
		||||
	* Core: Add support for type parameters deprecation (Darko Poljak)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue