fix: warn formula users ng states will be promoted in v1.0.0

This commit is contained in:
nb 2019-07-24 14:42:23 +11:00
parent 08cd5635bb
commit d03338176c
37 changed files with 70 additions and 0 deletions

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-adodb:

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-apc:

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-apcu:

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-bcmath:

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-cgi:

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-cli:

View File

@ -11,6 +11,7 @@
{%- set salt_user_home = salt['user.info'](salt_user).get('home', '/root') %}
include:
- php.deprecated
- php
get-composer:

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-curl:

30
php/deprecated.sls Normal file
View File

@ -0,0 +1,30 @@
# -*- coding: utf-8 -*-
# vim: ft=sls
php-deprecated-in-v1.0.0-test-fail:
test.succeed_without_changes:
- name: |
################################################################################
# #
# WARNING: BREAKING CHANGES SINCE `v1.0.0` #
# #
################################################################################
# #
# Prior to `v1.0.0`, this formula provided two methods for managing php; the #
# old method under `php` and the new method under `php.ng`. The old method #
# has now been removed and `php.ng` has been promoted to be `PHP` in its #
# place. #
# #
# If you are not in a position to migrate, please pin your repo to the final #
# release tag before `v1.0.0`, i.e. `v0.37.1`. #
# #
# To migrate from `php.ng`, simply modify your pillar to promote the entire #
# section under `php:ng` so that it is under `php` instead. So with the #
# editor of your choice, highlight the entire section and then unindent one #
# level. Finish by removing the `ng:` line. #
# #
# To migrate from the old `php`, first convert to `php.ng` under `v0.37.0` #
# and then follow the steps laid out in the paragraph directly above. #
# #
################################################################################
# - failhard: True

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-dev:

View File

@ -1,5 +1,8 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
php-fpm:
pkg.installed:
- name: {{ php.fpm_pkg }}

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-gd:

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-imagick:

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-imap:

View File

@ -1,5 +1,8 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
{%- if not 'ng' in salt['pillar.get']('php', {}) %}
{%- if grains['os'] == "Ubuntu" %}

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-intl:

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-json:

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-ldap:

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-mail:

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-mbstring:

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-mcrypt:

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-memcache:

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-memcached:

View File

@ -3,6 +3,7 @@
{%- set version = salt['pillar.get']('php:mongo_version', none) %}
include:
- php.deprecated
- php
- php.xml
- php.dev

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-mysql:

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-mysqlnd:

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-oauth:

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-pear:

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-pgsql:

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-readline:

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-redis:

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-soap:

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-sqlite:

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
- php.dev

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-sybase:

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-xml:

View File

@ -1,6 +1,7 @@
{%- from "php/map.jinja" import php with context %}
include:
- php.deprecated
- php
php-zip: