On Tue, Aug 23, 2011 at 4:27 PM, Ken Barber wrote:
> >> If PROGRAMDATA is defined, I would use that value.
> >> Otherwise, if ALLUSERSPROFILE is defined (and it should be), I would use
> >> %ALLUSERSPROFILE%\Application Data
> >
> > I actually like this methodology over relying on win32-dir mysel
>> If PROGRAMDATA is defined, I would use that value.
>> Otherwise, if ALLUSERSPROFILE is defined (and it should be), I would use
>> %ALLUSERSPROFILE%\Application Data
>
> I actually like this methodology over relying on win32-dir myself
> because if it works its a win-win and I don't need to degra
> If PROGRAMDATA is defined, I would use that value.
> Otherwise, if ALLUSERSPROFILE is defined (and it should be), I would use
> %ALLUSERSPROFILE%\Application Data
I actually like this methodology over relying on win32-dir myself
because if it works its a win-win and I don't need to degrade. I gu
On Tue, Aug 23, 2011 at 12:46 PM, Ken Barber wrote:
> Thanks Josh.
>
> > The ProgramData environment variable is not supported on 2003. The
> > equivalent directory on 2003 (and other legacy systems)
> > is %ALLUSERSPROFILE%\Application Data.[1]
>
> Gah! (/me goes off to download Windows 2003 ...
On Tue, 23 Aug 2011 20:46:11 +0100, Ken Barber wrote:
>
> Thanks Josh.
>
> > The ProgramData environment variable is not supported on 2003. The
> > equivalent directory on 2003 (and other legacy systems)
> > is %ALLUSERSPROFILE%\Application Data.[1]
>
> Gah! (/me goes off to download Windows 200
Thanks Josh.
> The ProgramData environment variable is not supported on 2003. The
> equivalent directory on 2003 (and other legacy systems)
> is %ALLUSERSPROFILE%\Application Data.[1]
Gah! (/me goes off to download Windows 2003 ...).
So in 2008R2 ALLUSERSPROFILE points at C:\ProgramData ... so i
On Tue, Aug 23, 2011 at 11:31 AM, Ken Barber wrote:
> > Generally speaking: Facter should probably still work (though in a
> > degraded mode) without the win32-dir gem installed.
>
> Hmm. ENV["ProgramData"] is actually the same as Dir::COMMON_APPDATA on
> 2008R2. I can avoid the gem completely th
> Generally speaking: Facter should probably still work (though in a
> degraded mode) without the win32-dir gem installed.
Hmm. ENV["ProgramData"] is actually the same as Dir::COMMON_APPDATA on
2008R2. I can avoid the gem completely this way, but this is not how
Puppet does it today ... as it seem
On Tue, 23 Aug 2011 19:10:35 +0100, Ken Barber wrote:
>
> Hi everyone,
>
> I need some advice on a ticket I'm working on - #2157:
>
> https://projects.puppetlabs.com/issues/2157
>
> This introduces scripting support for facter. This new change
> introduces two new path requirements:
>
> * A di
Hi everyone,
I need some advice on a ticket I'm working on - #2157:
https://projects.puppetlabs.com/issues/2157
This introduces scripting support for facter. This new change
introduces two new path requirements:
* A directory for scripted facts (for linux now its /etc/facter/facts.d/)
* A file
10 matches
Mail list logo