Issue #3553 has been updated by Felix Frank.

It is? I fail to reproduce even with 2.6.0, also 2.7.0 and master.

<pre>
$ RUBYLIB=lib bin/puppet apply -e 'cron { "unusual": user => "ffrank", ensure 
=> present, command => "/bin/true",  }'  
notice: /Stage[main]//Cron[unusual]/ensure: created
</pre>

The cronjob looks as expected, all fields are '*'.

I call solved.

----------------------------------------
Bug #3553: Cron resource with no time fields throws useless error message
https://projects.puppetlabs.com/issues/3553#change-87254

* Author: Darvin Denmian
* Status: Needs Decision
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
Adding the following entry to a file :

    cron { "app":
      command     => "nice -n -10 
/usr/bin/php/var/www/public_html/rotinas/rotinas.php 2>&1>> /var/log/app.log",
      environment => "PATH=$PATH",
      user            => root,
    }

I got the following as you can see in attached file.

(NF: snip!)

    debug: Flushing cron provider target root
    "-":6: bad minute
    errors in crontab file, can't install.



-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to