Issue #656 has been updated by luke.

Target version changed from 0.25.0 to unplanned
Affected version set to 0.24.7

We've got multiple cron tickets now; we need to do a full sweep of them in one 
of these releases.
----------------------------------------
Bug #656: cron entries with newlines keep being updated
http://projects.reductivelabs.com/issues/show/656

Author: Tobu
Status: Accepted
Priority: Normal
Assigned to: luke
Category: cron
Target version: unplanned
Complexity: Unknown
Patch: None
Affected version: 0.24.7
Keywords: 


Here is the puppet snippet I use:
<pre>
class standalone-puppet {
        $logdest = "/var/log/puppet/cron.log"
        cron { hourly-puppet:
                command => "/usr/bin/puppet \
                        --use-nodes /etc/puppet/manifests/site.pp \
                        --logdest $logdest",
                user => root,
                minute => 48,
        }
}
</pre>

Every time puppet runs and updates the cronjob, on debian, it updates the cron 
entry:
<pre>
notice: //default/standalone-puppet/Cron[hourly-puppet]/command: command 
changed '/usr/bin/puppet --use-nodes /etc/puppet/manifests/site.pp --logdest 
/var/log/puppet/cron.log' to '/usr/bin/puppet                         
--use-nodes /etc/puppet/manifests/site.pp                         --logdest 
/var/log/puppet/cron.log'
</pre>

I'm not sure the problem is on puppet or crontab's side, but it would be nice 
to prevent this.
Also, maybe there is a better technique for writing long strings - here 
documents?



----------------------------------------
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://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to