Nigel Kersten
2010-Jun-09 18:49 UTC
[Puppet Users] Input sought on changing default vardir on OS X.
0.25.5 changed the default vardir from /var/puppet to /var/lib/puppet and it''s caused the odd issue we have to fix in the Mac pkg preflights. After re-reading ''man hier'' I''m tempted to change the default on OS X to: /var/db/puppet instead. /var/ multi-purpose log, temporary, transient, and spool files ... db/ misc. automatically generated system-specific database files Thoughts? -- nigel -- 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.
Roy Nielsen
2010-Jun-09 19:12 UTC
Re: [Puppet Users] Input sought on changing default vardir on OS X.
Hello Nigel, /var/db/puppet sounds good for the default location.. a little background: We have a central services team, and many field teams that directly support our customers. We''ve been looking into separating the $vardir based on team (central or field). We''re still in the "thinking about it" stage, so we haven''t fully implemented it yet. We have currently defined our central services $vardir as /var/lanl/puppet. Regards, -Roy On 6/9/10 12:49 PM, Nigel Kersten wrote:> 0.25.5 changed the default vardir from /var/puppet to /var/lib/puppet > and it''s caused the odd issue we have to fix in the Mac pkg > preflights. > > After re-reading ''man hier'' I''m tempted to change the default on OS X to: > > /var/db/puppet > > instead. > > > /var/ multi-purpose log, temporary, transient, and spool files > ... > db/ misc. automatically generated > system-specific database files > > > Thoughts? > > -- > nigel > >-- 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.
Gary Larizza
2010-Jun-10 01:15 UTC
Re: [Puppet Users] Input sought on changing default vardir on OS X.
Nigel, We''re trained to check /var/db for pkgdmg trigger files anyways - I''ve got no problem with it. I''ll need to make sure my external nodes script can find the $vardir/yaml/facts store, but other than that I don''t have a problem with its change. I suspect many may not notice - at least initially :) -Gary On Wed, Jun 9, 2010 at 3:12 PM, Roy Nielsen <rsn@lanl.gov> wrote:> Hello Nigel, > > /var/db/puppet sounds good for the default location.. > > a little background: We have a central services team, and many field teams > that directly support our customers. > > We''ve been looking into separating the $vardir based on team (central or > field). We''re still in the "thinking about it" stage, so we haven''t fully > implemented it yet. We have currently defined our central services $vardir > as /var/lanl/puppet. > > Regards, > -Roy > > > On 6/9/10 12:49 PM, Nigel Kersten wrote: > >> 0.25.5 changed the default vardir from /var/puppet to /var/lib/puppet >> and it''s caused the odd issue we have to fix in the Mac pkg >> preflights. >> >> After re-reading ''man hier'' I''m tempted to change the default on OS X to: >> >> /var/db/puppet >> >> instead. >> >> >> /var/ multi-purpose log, temporary, transient, and spool >> files >> ... >> db/ misc. automatically generated >> system-specific database files >> >> >> Thoughts? >> >> -- >> nigel >> >> >> > > -- > 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<puppet-users%2Bunsubscribe@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- Gary Larizza Director of Technology Huron City Schools http://www.huronhs.com 悟 -- 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.
Nigel Kersten
2010-Jun-10 01:17 UTC
Re: [Puppet Users] Input sought on changing default vardir on OS X.
On Wed, Jun 9, 2010 at 6:15 PM, Gary Larizza <ccshots@gmail.com> wrote:> Nigel, > We''re trained to check /var/db for pkgdmg trigger files anyways - I''ve got > no problem with it. I''ll need to make sure my external nodes script can > find the $vardir/yaml/facts store, but other than that I don''t have a > problem with its change. I suspect many may not notice - at least initially > :)So this kind of raises another question then... Should we move the pkgdmg location?> -Gary > > On Wed, Jun 9, 2010 at 3:12 PM, Roy Nielsen <rsn@lanl.gov> wrote: >> >> Hello Nigel, >> >> /var/db/puppet sounds good for the default location.. >> >> a little background: We have a central services team, and many field teams >> that directly support our customers. >> >> We''ve been looking into separating the $vardir based on team (central or >> field). We''re still in the "thinking about it" stage, so we haven''t fully >> implemented it yet. We have currently defined our central services $vardir >> as /var/lanl/puppet. >> >> Regards, >> -Roy >> >> On 6/9/10 12:49 PM, Nigel Kersten wrote: >>> >>> 0.25.5 changed the default vardir from /var/puppet to /var/lib/puppet >>> and it''s caused the odd issue we have to fix in the Mac pkg >>> preflights. >>> >>> After re-reading ''man hier'' I''m tempted to change the default on OS X to: >>> >>> /var/db/puppet >>> >>> instead. >>> >>> >>> /var/ multi-purpose log, temporary, transient, and spool >>> files >>> ... >>> db/ misc. automatically generated >>> system-specific database files >>> >>> >>> Thoughts? >>> >>> -- >>> nigel >>> >>> >> >> -- >> 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. >> > > > > -- > Gary Larizza > > Director of Technology > Huron City Schools > http://www.huronhs.com > > 悟 > > -- > 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. >-- nigel -- 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.
Gary Larizza
2010-Jun-10 01:22 UTC
Re: [Puppet Users] Input sought on changing default vardir on OS X.
On Wed, Jun 9, 2010 at 9:17 PM, Nigel Kersten <nigelk@google.com> wrote:> On Wed, Jun 9, 2010 at 6:15 PM, Gary Larizza <ccshots@gmail.com> wrote: > > Nigel, > > We''re trained to check /var/db for pkgdmg trigger files anyways - I''ve > got > > no problem with it. I''ll need to make sure my external nodes script can > > find the $vardir/yaml/facts store, but other than that I don''t have a > > problem with its change. I suspect many may not notice - at least > initially > > :) > > So this kind of raises another question then... > > Should we move the pkgdmg location? > > >If we do - would there be a mechanism to automatically migrate those .puppet files to the new directory (in the update package). I know it''s easily scripted, but think about upgrading and then pkgdmg looking to the new location, not finding the files, and pulling down all those packages again. That''s my only concern (off the top of my head). Short of that - I let pkgdmg handle those files, so I don''t really care where they''re located (so long as I can find them).> > -Gary > > > > On Wed, Jun 9, 2010 at 3:12 PM, Roy Nielsen <rsn@lanl.gov> wrote: > >> > >> Hello Nigel, > >> > >> /var/db/puppet sounds good for the default location.. > >> > >> a little background: We have a central services team, and many field > teams > >> that directly support our customers. > >> > >> We''ve been looking into separating the $vardir based on team (central or > >> field). We''re still in the "thinking about it" stage, so we haven''t > fully > >> implemented it yet. We have currently defined our central services > $vardir > >> as /var/lanl/puppet. > >> > >> Regards, > >> -Roy > >> > >> On 6/9/10 12:49 PM, Nigel Kersten wrote: > >>> > >>> 0.25.5 changed the default vardir from /var/puppet to /var/lib/puppet > >>> and it''s caused the odd issue we have to fix in the Mac pkg > >>> preflights. > >>> > >>> After re-reading ''man hier'' I''m tempted to change the default on OS X > to: > >>> > >>> /var/db/puppet > >>> > >>> instead. > >>> > >>> > >>> /var/ multi-purpose log, temporary, transient, and spool > >>> files > >>> ... > >>> db/ misc. automatically generated > >>> system-specific database files > >>> > >>> > >>> Thoughts? > >>> > >>> -- > >>> nigel > >>> > >>> > >> > >> -- > >> 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<puppet-users%2Bunsubscribe@googlegroups.com> > . > >> For more options, visit this group at > >> http://groups.google.com/group/puppet-users?hl=en. > >> > > > > > > > > -- > > Gary Larizza > > > > Director of Technology > > Huron City Schools > > http://www.huronhs.com > > > > 悟 > > > > -- > > 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<puppet-users%2Bunsubscribe@googlegroups.com> > . > > For more options, visit this group at > > http://groups.google.com/group/puppet-users?hl=en. > > > > > > -- > nigel > > -- > 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<puppet-users%2Bunsubscribe@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- Gary Larizza Director of Technology Huron City Schools http://www.huronhs.com 悟 -- 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.
Nigel Kersten
2010-Jun-10 02:05 UTC
Re: [Puppet Users] Input sought on changing default vardir on OS X.
On Wed, Jun 9, 2010 at 6:22 PM, Gary Larizza <ccshots@gmail.com> wrote:> > > On Wed, Jun 9, 2010 at 9:17 PM, Nigel Kersten <nigelk@google.com> wrote: >> >> On Wed, Jun 9, 2010 at 6:15 PM, Gary Larizza <ccshots@gmail.com> wrote: >> > Nigel, >> > We''re trained to check /var/db for pkgdmg trigger files anyways - I''ve >> > got >> > no problem with it. I''ll need to make sure my external nodes script can >> > find the $vardir/yaml/facts store, but other than that I don''t have a >> > problem with its change. I suspect many may not notice - at least >> > initially >> > :) >> >> So this kind of raises another question then... >> >> Should we move the pkgdmg location? >> >> > > If we do - would there be a mechanism to automatically migrate those .puppet > files to the new directory (in the update package). I know it''s easily > scripted, but think about upgrading and then pkgdmg looking to the new > location, not finding the files, and pulling down all those packages again. > That''s my only concern (off the top of my head). Short of that - I let > pkgdmg handle those files, so I don''t really care where they''re located (so > long as I can find them).Yeah that''s horrendous. I wouldn''t even think about doing it unless the preflight script moved them all from the current location to the new one.> > >> >> > -Gary >> > >> > On Wed, Jun 9, 2010 at 3:12 PM, Roy Nielsen <rsn@lanl.gov> wrote: >> >> >> >> Hello Nigel, >> >> >> >> /var/db/puppet sounds good for the default location.. >> >> >> >> a little background: We have a central services team, and many field >> >> teams >> >> that directly support our customers. >> >> >> >> We''ve been looking into separating the $vardir based on team (central >> >> or >> >> field). We''re still in the "thinking about it" stage, so we haven''t >> >> fully >> >> implemented it yet. We have currently defined our central services >> >> $vardir >> >> as /var/lanl/puppet. >> >> >> >> Regards, >> >> -Roy >> >> >> >> On 6/9/10 12:49 PM, Nigel Kersten wrote: >> >>> >> >>> 0.25.5 changed the default vardir from /var/puppet to /var/lib/puppet >> >>> and it''s caused the odd issue we have to fix in the Mac pkg >> >>> preflights. >> >>> >> >>> After re-reading ''man hier'' I''m tempted to change the default on OS X >> >>> to: >> >>> >> >>> /var/db/puppet >> >>> >> >>> instead. >> >>> >> >>> >> >>> /var/ multi-purpose log, temporary, transient, and spool >> >>> files >> >>> ... >> >>> db/ misc. automatically generated >> >>> system-specific database files >> >>> >> >>> >> >>> Thoughts? >> >>> >> >>> -- >> >>> nigel >> >>> >> >>> >> >> >> >> -- >> >> 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. >> >> >> > >> > >> > >> > -- >> > Gary Larizza >> > >> > Director of Technology >> > Huron City Schools >> > http://www.huronhs.com >> > >> > 悟 >> > >> > -- >> > 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. >> > >> >> >> >> -- >> nigel >> >> -- >> 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. >> > > > > -- > Gary Larizza > > Director of Technology > Huron City Schools > http://www.huronhs.com > > 悟 > > -- > 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. >-- nigel -- 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.
Alan Barrett
2010-Jun-10 07:08 UTC
Re: [Puppet Users] Input sought on changing default vardir on OS X.
On Wed, 09 Jun 2010, Nigel Kersten wrote:> 0.25.5 changed the default vardir from /var/puppet to /var/lib/puppet > and it''s caused the odd issue we have to fix in the Mac pkg > preflights. > > After re-reading ''man hier'' I''m tempted to change the default on OS X to: > > /var/db/puppet > > instead.Yes, /var/db/puppet seems to fit much better on BSDish systems. I dislike /var/lib/puppet because the things in there are not libraries. Maybe it''s some sort of Linux standard, but that doesn''t make it right. Anyway, it''s OK for the default installation to use any directories it likes, provided it''s easy to change at build time (and it is easy enough). --apb (Alan Barrett) -- 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.