I see in the file type, we can set mode/ownership/group/etc. I don''t see the ability to set attributes on any given file. Is that something as yet undocumented/ upcoming? It''s also distinctly possible that I am being brainless/undercaffeinated and simply not seeing it... I know I could either write a script, or have puppet call chattr as a shell command, but, if puppet can set attributes as the file is being created, so much the better. Thanks! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Hello, Am 04.08.2008 um 17:22 schrieb zoniguana:> I know I could either write a script, or have puppet call chattr as a > shell command, but, if puppet can set attributes as the file is being > created, so much the better.AFAIK, Puppets File type doesn''t support xattr for now, but you''re welcome to extend it ;-) BR, Felix Schäfer --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
If it isn''t, that seems like a reasonable project to learn about extending the type (to which I am completely novel). On Mon, Aug 4, 2008 at 12:37 PM, Felix Schäfer <schaefer@cypres-it.com>wrote:> > Hello, > > Am 04.08.2008 um 17:22 schrieb zoniguana: > > > I know I could either write a script, or have puppet call chattr as a > > shell command, but, if puppet can set attributes as the file is being > > created, so much the better. > > AFAIK, Puppets File type doesn''t support xattr for now, but you''re > welcome to extend it ;-) > > BR, > > Felix Schäfer > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---