Issue #12653 has been updated by Jan Doleschal.
Hello, the Bug occurs in puppet 3.2.4 too. ---------------------------------------- Bug #12653: schedule metaparameter ignored in defined type https://projects.puppetlabs.com/issues/12653#change-101371 * Author: Chip Schweiss * Status: Needs More Information * Priority: Normal * Assignee: * Category: metaparameters * Target version: * Affected Puppet version: 2.6.12 * Keywords: define, schedule * Branch: ---------------------------------------- I have defined: <pre> define yumgroup($ensure = "present", $optional = false) { case $ensure { present,installed: { $pkg_types_arg = $optional ? { true => "--setopt=group_package_types=optional,default,mandatory", default => "" } exec { "Installing $name yum group": command => "yum -y groupinstall $pkg_types_arg $name", unless => "yum -y groupinstall $pkg_types_arg $name --downloadonly", timeout => 600, require => Package["yum-plugin-downloadonly"]; } } } } </pre> and call it with: <pre> yumgroup { $centos6_pkg_groups: ensure => present, schedule => 'daily', } </pre> The schedule is ignored and runs every time. If I add the schedule to the exec in the defined method it works as expected. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
