open a new issue. Just lemme know.
Thanks,
Andy.
On 2014-03-21, 17:57, Andy Spiegl wrote:
> I patched id.rb:
>
> < Facter.add(:id) do
> < setcode "whoami"
> < end
> ---
> > Facter.add(:id) do
> > setcode do
> > system( "whoa
I patched id.rb:
< Facter.add(:id) do
< setcode "whoami"
< end
---
> Facter.add(:id) do
> setcode do
> system( "whoami" ).encode("UTF-8")
> end
> end
Works fine:
id: "nt-autorität\x5csystem"
Unfortunately I STILL get the error when running as service. I cannot
find anymore umlauts
Just checked with an English Windows 7:
id: "nt authority\x5csystem"
Uhm, so why is it "binary" in the German version?
I suppose decoded this is "NT Authorität\x5csystem" and that's where
the umlaut \x84 comes from which puppet doesn't like.
On 2014-0
> Okay, now we know that the problem has to do with the user SYSTEM.
> What could he be missing? Maybe an environment variable?
I have an idea! I was playing around with foreman and noticed a new
error message:
root@foreman:~# /etc/puppet/node.rb winpet1
Could not send facts to Foreman: "\x84"
On 2014-03-19, 13:32, Rob Reynolds wrote:
> I meant change the puppet agent service to another user in the services
> console just to rule that out.
Oh, I see! I just did that, used the user ADMINISTRATOR and
... IT WORKED!
Okay, now we know that the problem has to do with the user SYSTEM.
> Can you confirm if you change the user on the agent to run as you
> that the issue goes away?
Yes, running as "ADMINISTRATOR" works without flaws.
I don't know how to run "puppet agent -t" as SYSTEM. Is that possible
at all?
Thanks,
Andy.
--
Support bacteria - it's the only culture some p
I tried downgrading to puppet MSI 3.4.2
and even removed as much as I could from my site.pp and modules dir.
But I still get the same error. :-(
Andy.
On 2014-03-18, 13:47, Rob Reynolds wrote:
> On Tue, Mar 18, 2014 at 1:35 PM, Andy Spiegl wrote:
>
> > > https://projects
> https://projects.puppetlabs.com/issues/22493#note-20 - I'm not sure the
> user created the issue or not.
>
> Does the situation described in that thread apply to you?
I tried with the dir.rb from the github-link
but unfortunately it didn't change anything.
It's so strange because it works when
> > > What is the user that the service is running under?
> > Good questions. Aren't all services running as administrator?
>
> Not necessarily. It all depends on whether you took the default SYSTEM or
> set your own credentials on install or afterwards in the services console.
Thanks, I learned
> What is the user that the service is running under?
Good questions. Aren't all services running as administrator?
> What version is the puppet agent on? The master?
Client: 3.4.3 (Windows 7 with all updates)
Server: 3.4.3-1puppetlabs1 (Debian stable)
Thanks,
Andy.
> > Hi!
> >
> > I've got a
Hi!
I've got a problem with Windows clients:
When running "puppet agent -t" manually everything works.
(as "administrator" in a "run as administrator" shell)
But a run from the puppet-service throws
"Error 400 on SERVER: Could not inte rn from pson: "\x84" on US-ASCII"
and puppet uses the cac
Hi Rafael,
> It download the tarball, extract it to the target /usr/local , check
> with MD5 and install my ERP.
Windows doesn't have md5sum functionality built in. I have to get
md5sum.exe to the machine somehow.
The ARCHIVE module uses curl, rm, tar, unzip, ...
Lots of unix tools. :-(
Thanks,
> Tell me more about your goal!
>
> What you really need!?
>
> Are your client Windows or Linux ?
Most of them are Linux, but many user workstations are Windows.
I am trying to set up puppet to update the most security crucial
programs on these Windows machines: Java, Flash, Firefox, Thunderbird
Hi Rafael,
> http://forge.puppetlabs.com/gini/archive
Thanks, I'll try that! Sounds promising.
Now I only have to find a way to securely get md5sum.exe onto the
machines, uhm...
Thanks!
Andy.
--
Every generation laughs at the old fashions
but religiously follows the new. (Henry David Tho
> My solution to that, has been to use a packaging system.
Thanks, that's a good solution!
For my windows clients I need something different, though. :-(
Apparently there is no solution yet. How would I go about writing a
plugin myself? Unfortunately I'm still too new to puppet...
Thanks,
Andy
Hi,
I've got several modules which grab installer files from a network
share. The share is readonly and as well protected as possibly.
But still, I have a bad feeling about it and would like to introduce
an extra layer of security. Like checking the md5sum of the file
before running the installe
Hi Josh,
> This assumes Time.new.zone returns a string encoded with the Windows-1250
> code page. You are probably better off omitting the source encoding, since
> ruby should already know what it is:
>
>Time.new.zone.encode("UTF-8")
Thanks for this information!
While facter 2 isn't out
Following up on my own post:
> One has to patch this file (on ALL client PCs!):
> C:/Program Files (x86)/Puppet Labs/Puppet/facter/lib/facter/timezone.rb
>
> + Iconv.iconv("UTF-8", "windows-1250",Time.new.zone)
> - Time.new.zone
> -
A while ago I asked here for solutions with windows and puppet 3.x
I always got this error during the agent run:
> Could not intern from pson: "\xE4" on US-ASCII
After trying and debugging for a long time I finally found the right
comment in the right bug report:
http://projects.puppetlabs.com/i
> Would you please be willing to include some context into your replies?
Would YOU please NOT use fullquotes into your replies?
Thanks,
Andy.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving em
On 2013-12-18, 07:27, jcbollinger wrote:
> For example, you can keep the needed manifest code DRY and clear by
> using a variable to specify the sources:
Good idea, thanks!
Andy.
--
The foolish man seeks happiness in the distance,
the wise grows it under his feet. -- James Oppenheim
--
Yo
On 2013-12-17, 16:31, Ben Ford wrote:
> If you override something in a recursive directory, you're
> overriding everything.
I see, that makes sense.
> If you add source => 'puppet:///modules/nagios/var_lib_nagios/plugins' then
> I suspect you'll get what you want.
You are right, that did it. Th
> > http://christian.hofstaedtler.name/blog/2008/11/puppet-managing-directories-recursively.html
I thought I had understood recursive directory management. It worked
fine until I switched to puppet v3 (Debian 3.3.2-1puppetla to be exact)
Since then, files in subdirs aren't copied anymore.
An exa
> Are these non-enUS Windows clients?
Yes, German.
I removed all occurrences of German characters from the puppet configs
but that didn't help either. Even the simplest test failed with this
error message.
Any German puppet users out there??? :-)
> WIth the chocolatey provider, I would say use
Hi all,
after setting up puppet for my linux clients yesterday I started
tackling the windows7 PCs. I managed setting up users and deploying
files but I couldn't get it to install software, e.g. Mozilla Firefox.
I ran into various problem. First, puppet agent threw strange errors
probably becaus
25 matches
Mail list logo