Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve deprecation warning from NTP module #42

Merged
merged 1 commit into from
Feb 20, 2014
Merged

Conversation

markvoelker
Copy link

Resolve deprecation warning from NTP module

Some time back the folks at Puppet Labs deprecated the autoupdate
parameter to the NTP module.  However puppet-coi still invokes
it, which causes a deprecation warning to be emitted:

Notice: Scope(Class[Ntp]): autoupdate parameter has been deprecated
  and replaced with package_ensure.  Set this to latest for the
  same behavior as autoupdate => true.

This patch eliminates the deprecation warning by removing the
deprecated parameter from our instantiation of the class.  A
corresponding change to puppet_openstack_builder will be submitted
to map the package_ensure parameter to a variable used to manage
a similar setting in other OpenStack classes.

@robertstarmer
Copy link
Contributor

👍

Some time back the folks at Puppet Labs deprecated the autoupdate
parameter to the NTP module.  However puppet-coi still invokes
it, which causes a deprecation warning to be emitted:

Notice: Scope(Class[Ntp]): autoupdate parameter has been deprecated
  and replaced with package_ensure.  Set this to latest for the
  same behavior as autoupdate => true.

This patch eliminates the deprecation warning by removing the
deprecated parameter from our instantiation of the class.  A
corresponding change to puppet_openstack_builder will be submitted
to map the package_ensure parameter to a variable used to manage
a similar setting in other OpenStack classes.

Partial-Bug: #1281896
@rickerc
Copy link
Member

rickerc commented Feb 20, 2014

https://review.openstack.org/#/c/75060/ for the pob data mapping

@rickerc
Copy link
Member

rickerc commented Feb 20, 2014

+1

rickerc added a commit that referenced this pull request Feb 20, 2014
Resolve deprecation warning from NTP module
@rickerc rickerc merged commit 610775a into havana Feb 20, 2014
@rickerc rickerc deleted the bugs/1281896 branch February 20, 2014 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants