What exactly is your define attempting to do? Define the users for which a certain file gets placed in their home dir or define the file that gets put into all users' home dirs?
On May 12, 3:06 pm, Robin Lee Powell <rlpow...@digitalkingdom.org> wrote: > No, because I'm making a define so I can put a bunch of files in a > bunch of different user's home directories; that why I use $user > below. > > -Robin > > > > On Tue, May 12, 2009 at 12:04:08PM -0700, joe wrote: > > > If you have a fact called home_root you would use it like this: > > > file { "$home_root/$user/.zshenv": > > ...} > > > Does that work for you? > > > On May 12, 2:15 pm, Robin Lee Powell <rlpow...@digitalkingdom.org> > > wrote: > > > What I want to do is: > > > > file { "~$user/.zshenv": > > > ...} > > > > but that doesn't work. I made custom facts for home dirs, so that > > > "home_root" should work, but his: > > > > file { "${home_$user}/.zshenv": > > > ...} > > > > doesn't work either. > > > > Help? > > > > -Robin > > > > -- > > > They say: "The first AIs will be built by the military as weapons." > > > And I'm thinking: "Does it even occur to you to try for something > > > other than the default outcome?" > > > Seehttp://shrunklink.com/cdizhttp://www.digitalkingdom.org/~rlpowell/***... > > -- > They say: "The first AIs will be built by the military as weapons." > And I'm thinking: "Does it even occur to you to try for something > other than the default outcome?" > Seehttp://shrunklink.com/cdizhttp://www.digitalkingdom.org/~rlpowell/***http://www.lojban.org/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---