no good

with just ensure => directory, on solaris i get it to create the file
(so no change):

r...@puppetsun:~# rm -rf /var/log/sysinfo
r...@puppetsun:~# /opt/csw/bin/puppetd -vt | grep sysinfo
notice: //Node[default]/defaultnode/shared-default/sysinfo/File[/var/
log/sysinfo]/ensure: created
r...@puppetsun:~# ls -ld /var/log/sysinfo
-rwxr-xr-x 1 root root 0 2009-02-13 18:45 /var/log/sysinfo

while on red hat it now doesn't create a directory anymore...

[r...@puppetks4 sbin]# rm /var/log/sysinfo
[r...@puppetks4 sbin]# ls -l /var/log/sysinfo
ls: /var/log/sysinfo: No such file or directory
[r...@puppetks4 sbin]# puppetd -vt | grep sysinfo
notice: //Node[default]/defaultnode/shared-default/sysinfo/File[/var/
log/sysinfo]/ensure: created
[r...@puppetks4 sbin]# ls -l /var/log/sysinfo
-rwxr-xr-x 1 root root 0 Feb 27 09:34 /var/log/sysinfo

--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to