Browse Source

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

tags/v0.37.1
nb 5 years ago
parent
commit
d03338176c
37 changed files with 70 additions and 0 deletions
  1. +1
    -0
      php/adodb.sls
  2. +1
    -0
      php/apc.sls
  3. +1
    -0
      php/apcu.sls
  4. +1
    -0
      php/bcmath.sls
  5. +1
    -0
      php/cgi.sls
  6. +1
    -0
      php/cli.sls
  7. +1
    -0
      php/composer.sls
  8. +1
    -0
      php/curl.sls
  9. +30
    -0
      php/deprecated.sls
  10. +1
    -0
      php/dev.sls
  11. +3
    -0
      php/fpm.sls
  12. +1
    -0
      php/gd.sls
  13. +1
    -0
      php/imagick.sls
  14. +1
    -0
      php/imap.sls
  15. +3
    -0
      php/init.sls
  16. +1
    -0
      php/intl.sls
  17. +1
    -0
      php/json.sls
  18. +1
    -0
      php/ldap.sls
  19. +1
    -0
      php/mail.sls
  20. +1
    -0
      php/mbstring.sls
  21. +1
    -0
      php/mcrypt.sls
  22. +1
    -0
      php/memcache.sls
  23. +1
    -0
      php/memcached.sls
  24. +1
    -0
      php/mongo.sls
  25. +1
    -0
      php/mysql.sls
  26. +1
    -0
      php/mysqlnd.sls
  27. +1
    -0
      php/oauth.sls
  28. +1
    -0
      php/pear.sls
  29. +1
    -0
      php/pgsql.sls
  30. +1
    -0
      php/readline.sls
  31. +1
    -0
      php/redis.sls
  32. +1
    -0
      php/soap.sls
  33. +1
    -0
      php/sqlite.sls
  34. +1
    -0
      php/suhosin.sls
  35. +1
    -0
      php/sybase.sls
  36. +1
    -0
      php/xml.sls
  37. +1
    -0
      php/zip.sls

+ 1
- 0
php/adodb.sls View File

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

include:
- php.deprecated
- php

php-adodb:

+ 1
- 0
php/apc.sls View File

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

include:
- php.deprecated
- php

php-apc:

+ 1
- 0
php/apcu.sls View File

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

include:
- php.deprecated
- php

php-apcu:

+ 1
- 0
php/bcmath.sls View File

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

include:
- php.deprecated
- php

php-bcmath:

+ 1
- 0
php/cgi.sls View File

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

include:
- php.deprecated
- php

php-cgi:

+ 1
- 0
php/cli.sls View File

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

include:
- php.deprecated
- php

php-cli:

+ 1
- 0
php/composer.sls View File

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

include:
- php.deprecated
- php

get-composer:

+ 1
- 0
php/curl.sls View File

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

include:
- php.deprecated
- php

php-curl:

+ 30
- 0
php/deprecated.sls 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

+ 1
- 0
php/dev.sls View File

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

include:
- php.deprecated
- php

php-dev:

+ 3
- 0
php/fpm.sls 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 }}

+ 1
- 0
php/gd.sls View File

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

include:
- php.deprecated
- php

php-gd:

+ 1
- 0
php/imagick.sls View File

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

include:
- php.deprecated
- php

php-imagick:

+ 1
- 0
php/imap.sls View File

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

include:
- php.deprecated
- php

php-imap:

+ 3
- 0
php/init.sls 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" %}

+ 1
- 0
php/intl.sls View File

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

include:
- php.deprecated
- php

php-intl:

+ 1
- 0
php/json.sls View File

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

include:
- php.deprecated
- php

php-json:

+ 1
- 0
php/ldap.sls View File

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

include:
- php.deprecated
- php

php-ldap:

+ 1
- 0
php/mail.sls View File

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

include:
- php.deprecated
- php

php-mail:

+ 1
- 0
php/mbstring.sls View File

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

include:
- php.deprecated
- php

php-mbstring:

+ 1
- 0
php/mcrypt.sls View File

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

include:
- php.deprecated
- php

php-mcrypt:

+ 1
- 0
php/memcache.sls View File

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

include:
- php.deprecated
- php

php-memcache:

+ 1
- 0
php/memcached.sls View File

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

include:
- php.deprecated
- php

php-memcached:

+ 1
- 0
php/mongo.sls View File

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

include:
- php.deprecated
- php
- php.xml
- php.dev

+ 1
- 0
php/mysql.sls View File

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

include:
- php.deprecated
- php

php-mysql:

+ 1
- 0
php/mysqlnd.sls View File

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

include:
- php.deprecated
- php

php-mysqlnd:

+ 1
- 0
php/oauth.sls View File

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

include:
- php.deprecated
- php

php-oauth:

+ 1
- 0
php/pear.sls View File

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

include:
- php.deprecated
- php

php-pear:

+ 1
- 0
php/pgsql.sls View File

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

include:
- php.deprecated
- php

php-pgsql:

+ 1
- 0
php/readline.sls View File

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

include:
- php.deprecated
- php

php-readline:

+ 1
- 0
php/redis.sls View File

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

include:
- php.deprecated
- php

php-redis:

+ 1
- 0
php/soap.sls View File

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

include:
- php.deprecated
- php

php-soap:

+ 1
- 0
php/sqlite.sls View File

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

include:
- php.deprecated
- php

php-sqlite:

+ 1
- 0
php/suhosin.sls View File

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

include:
- php.deprecated
- php
- php.dev


+ 1
- 0
php/sybase.sls View File

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

include:
- php.deprecated
- php

php-sybase:

+ 1
- 0
php/xml.sls View File

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

include:
- php.deprecated
- php

php-xml:

+ 1
- 0
php/zip.sls View File

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

include:
- php.deprecated
- php

php-zip:

Loading…
Cancel
Save