I wish to have puppet copy a file to /etc/cron.hourly/ on target machines, however when puppetmaster attempts to build the catalog it complains about a syntax error in both nodes.pp as well as in the manifest init.pp for this class. I have experimented with various quotings as well as escaping the dot character with no success. Can anyone shed light on a solution? puppetmaster 2.6.2 on Debian Wheezy 6.0 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
dragonfly said:> I wish to have puppet copy a file to /etc/cron.hourly/ on target > machines, however when puppetmaster attempts to build the catalog it > complains about a syntax error in both nodes.pp as well as in the > manifest init.pp for this class. I have experimented with various > quotings as well as escaping the dot character with no success. Can > anyone shed light on a solution? > > puppetmaster 2.6.2 on Debian Wheezy 6.0Hello :) There is no problem to put dots in a path: file { "/etc/cron.hourly/walk_the_dog": source => "puppet:///modules/dogwalker/walk_the_dog.cron", } Maybe you could show the actual code and syntax error? -- Rohan McGovern Quality Engineer Qt Development Frameworks, Nokia -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On 02/11/2011 12:13 AM, Rohan McGovern wrote:> dragonfly said: >> I wish to have puppet copy a file to /etc/cron.hourly/ on target >> machines, however when puppetmaster attempts to build the catalog it >> complains about a syntax error in both nodes.pp as well as in the >> manifest init.pp for this class. I have experimented with various >> quotings as well as escaping the dot character with no success. Can >> anyone shed light on a solution? >> >> puppetmaster 2.6.2 on Debian Wheezy 6.0Also, 6.0 is Squeeze ;-)> Hello :) > > There is no problem to put dots in a path: > > file { "/etc/cron.hourly/walk_the_dog": > source => "puppet:///modules/dogwalker/walk_the_dog.cron", > } > > Maybe you could show the actual code and syntax error?-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Maybe Matching Threads
- Remember James McGovern?
- Unable to unmount filesystem (bug in kernel reported in kern.log)
- File Browser / shared domain tool
- [Bug 31920] New: Brightness control is erratic (/sys/class/backlight/nv_backlight/max_brightness is wrong)
- Dragonfly and Zip uploads