Re: [Puppet Users] Input sought on changing default vardir on OS X.

2010-06-10 Thread Alan Barrett
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-us...@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.



Re: [Puppet Users] Input sought on changing default vardir on OS X.

2010-06-09 Thread Nigel Kersten
On Wed, Jun 9, 2010 at 6:22 PM, Gary Larizza  wrote:
>
>
> On Wed, Jun 9, 2010 at 9:17 PM, Nigel Kersten  wrote:
>>
>> On Wed, Jun 9, 2010 at 6:15 PM, Gary Larizza  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  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-us...@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.
>> >>
>> >
>> >
>> >
>> > --
>> > 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-us...@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.
>> >
>>
>>
>>
>> --
>> 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-us...@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.
>>
>
>
>
> --
> 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-us...@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.
>



-- 
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-us...@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.



Re: [Puppet Users] Input sought on changing default vardir on OS X.

2010-06-09 Thread Gary Larizza
On Wed, Jun 9, 2010 at 9:17 PM, Nigel Kersten  wrote:

> On Wed, Jun 9, 2010 at 6:15 PM, Gary Larizza  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  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-us...@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.
> >>
> >
> >
> >
> > --
> > 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-us...@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.
> >
>
>
>
> --
> 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-us...@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.
>
>


-- 
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-us...@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.



Re: [Puppet Users] Input sought on changing default vardir on OS X.

2010-06-09 Thread Nigel Kersten
On Wed, Jun 9, 2010 at 6:15 PM, Gary Larizza  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  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-us...@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.
>>
>
>
>
> --
> 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-us...@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.
>



-- 
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-us...@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.



Re: [Puppet Users] Input sought on changing default vardir on OS X.

2010-06-09 Thread Gary Larizza
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  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-us...@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.
>
>


-- 
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-us...@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.



Re: [Puppet Users] Input sought on changing default vardir on OS X.

2010-06-09 Thread Roy Nielsen

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-us...@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.