]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commit
Use validate_legacy
authorTobias Urdin <tobias.urdin@binero.se>
Sun, 10 Feb 2019 12:47:02 +0000 (13:47 +0100)
committerTobias Urdin <tobias.urdin@binero.se>
Sun, 10 Feb 2019 12:47:02 +0000 (13:47 +0100)
commit28afa466d74fffa567bbad12ec164ae097fd963a
treead14d3a32785ae032f24d688b52b832a7f88e4f3
parenta28cb64fb0cb17099e74f629db544442a22612d5
Use validate_legacy

This changes all the puppet 3 validate_* functions
to use the validate_legacy function.

The validate_legacy function has been available since
about three years but require Puppet >= 4.4.0 and since
there is Puppet 4.10.12 as latest we should assume people
are running a fairly new Puppet 4 version.

This is the first step to then remove all validate function
calls and use proper types for parameter as described in spec [1].

[1] https://review.openstack.org/#/c/568929/

Change-Id: I640d5ca592774601a252dbafbdc90bc98313055b
manifests/agent/notification.pp
manifests/config.pp
manifests/db/mysql.pp
manifests/keystone/auth.pp
manifests/policy.pp