[Puppet Users] Re: Cannot update Puppet 3.7.5 to 3.8.1 on Windows

2015-07-17 Thread cko
By the way: ruby.exe is missing from *C:\puppet\sys\ruby\bin* Is this intended? On Friday, July 17, 2015 at 2:59:34 PM UTC+2, cko wrote: Hi all, updating Puppet from 3.7.5 to 3.8.1 fails on all my Windows Server 2008R2 nodes. I'm using the following code (puppet.pp): *package

[Puppet Users] Cannot update Puppet 3.7.5 to 3.8.1 on Windows

2015-07-17 Thread cko
Hi all, updating Puppet from 3.7.5 to 3.8.1 fails on all my Windows Server 2008R2 nodes. I'm using the following code (puppet.pp): *package { 'Puppet':* * ensure = 3.8.1,* * source = puppet\\puppetsamba\\puppet_agent\\windows\\puppet-3.8.1.msi,* * provider=

[Puppet Users] My puppet code is not idempotent (Windows package provider)

2015-02-19 Thread cko
Hi everyone, I'm using the following manifest to deploy a driver package (and its certificate) to about 150 Windows Server 2008 R2 nodes. https://gist.github.com/anonymous/1cbaa90e1d0497ebaeb3 The file and exec resources are applied successfully and only once. But on every puppet run, the

Re: [Puppet Users] My puppet code is not idempotent (Windows package provider)

2015-02-19 Thread cko
as the Local System Account (Default) I do not want to run puppet agent -t manuall on every machine for this to work :| On Thursday, February 19, 2015 at 11:15:34 AM UTC+1, Dirk Heinrichs wrote: Am 19.02.2015 um 10:29 schrieb cko: But on every puppet run, the package resource gets applied

Re: [Puppet Users] Unreported Windows nodes (Puppet 3.7.3, Exchange 2010)

2015-02-11 Thread cko
on this. On Thursday, February 5, 2015 at 11:27:43 PM UTC+1, Rob Reynolds wrote: On Tue, Feb 3, 2015 at 8:25 AM, cko der...@gmail.com javascript: wrote: Icacls: http://i.imgur.com/s1xQy65.png Can you run one against the last_run_report.yaml and the lock file (if still present)? I'm seeing

Re: [Puppet Users] Unreported Windows nodes (Puppet 3.7.3, Exchange 2010)

2015-02-03 Thread cko
Icacls: http://i.imgur.com/s1xQy65.png I will upgrade to Puppet 3.7.3 this week an see if that fixed the issue. On Monday, February 2, 2015 at 9:49:01 PM UTC+1, Rob Reynolds wrote: On Mon, Feb 2, 2015 at 5:05 AM, cko der...@gmail.com javascript: wrote: I just noticed that the affected

Re: [Puppet Users] Unreported Windows nodes (Puppet 3.7.3, Exchange 2010)

2015-02-02 Thread cko
, December 15, 2014 at 5:24:55 PM UTC+1, Rob Reynolds wrote: On Sun, Dec 14, 2014 at 9:17 AM, cko der...@gmail.com javascript: wrote: The Puppet Service is actually running. The eventlog shows records about successfully finished catalog runs. All files in the C:\ProgramData\PuppetLabs

Re: [Puppet Users] Unreported Windows nodes (Puppet 3.7.3, Exchange 2010)

2014-12-15 Thread cko
The service runs under the Local System account. On Monday, December 15, 2014 5:24:55 PM UTC+1, Rob Reynolds wrote: On Sun, Dec 14, 2014 at 9:17 AM, cko der...@gmail.com javascript: wrote: The Puppet Service is actually running. The eventlog shows records about successfully finished

Re: [Puppet Users] Unreported Windows nodes (Puppet 3.7.3, Exchange 2010)

2014-12-14 Thread cko
, cko der...@gmail.com javascript: wrote: Hi, I'm currently having an issue with the Windows Server 2008R2 nodes in our Exchange 2010 environment. Since I upgraded the four nodes to Puppet 3.7.3 , they do not check in to the Puppetmaster via the Windows Service every 30 minutes like all

Re: [Puppet Users] Passing exe switches on Windows

2014-12-13 Thread cko
I was referring to the documentation that I got from the developer of the executable. The correct switches are: ['/S', '/v/qn'], On Friday, December 12, 2014 6:46:14 PM UTC+1, Josh Cooper wrote: On Fri, Dec 12, 2014 at 8:59 AM, cko der...@gmail.com javascript: wrote: It turned out

Re: [Puppet Users] Passing exe switches on Windows

2014-12-12 Thread cko
It turned out that it was a small typo in the documentation of the .exe file. I resolved this issue by simply providing the correct switches to the install_options parameter. Thanks! On Friday, December 12, 2014 5:50:06 PM UTC+1, Rob Reynolds wrote: On Wed, Dec 10, 2014 at 5:23 AM, cko

[Puppet Users] Passing exe switches on Windows

2014-12-10 Thread cko
Hi, I'm trying to get the following manifest to work on a Windows Server 2008R2 node: *package { 'signotec WinUSB':* * ensure = '1.0.4',* * source = E:/signotec_WinUSB_1.0.4_64Bit.exe,* * install_options = ['/S', '/vn'],* *}* Running 'puppet agent -t --debug' shows that

[Puppet Users] Unreported Windows nodes (Puppet 3.7.3, Exchange 2010)

2014-12-09 Thread cko
Hi, I'm currently having an issue with the Windows Server 2008R2 nodes in our Exchange 2010 environment. Since I upgraded the four nodes to Puppet 3.7.3 , they do not check in to the Puppetmaster via the Windows Service every 30 minutes like all the other nodes do. Here is a gist of the

[Puppet Users] scheduled_task changes on every puppet run

2014-08-07 Thread cko
Hi, I'm using the following scheduled_task on one of my windows server 2008 r2 boxes: scheduled_task { 'reboot': command = 'C:\WINDOWS\System32\shutdown.exe', arguments = -r -f -t 01, user = 'SYSTEM', trigger = { schedule= weekly, start_time = '06:00',

[Puppet Users] Strange exec behavior on windows

2014-07-22 Thread cko
Hi everyone, I am running Puppet 3.6.2 on the affected Windows Server 2008 R2 node. First of all the manifest that I'm trying to use: * define static_route ($net,$netmask,$gw) * * {* * if $::kernel == 'Linux' * * {* * exec { $name:* *command = route add -net

Re: [Puppet Users] Service stuck after updating puppet on Windows Server 2003

2014-05-20 Thread cko
Any idea? On Saturday, May 10, 2014 12:22:46 PM UTC+2, cko wrote: After the puppet run the agent service is basically stopped. Although when i run sc queryex puppet the output is STOP_PENDING (not stopped but not running either). So i have to run taskkill /f /pid 1234 and then start

Re: [Puppet Users] Service stuck after updating puppet on Windows Server 2003

2014-05-10 Thread cko
wrote: This error is somewhat of a misnomer: The requested service has already been started. When you say it gets stuck, what do you mean exactly? On Fri, May 9, 2014 at 8:08 AM, cko der...@gmail.com javascript:wrote: Hi, I'm using puppet to manage the puppet agent (package, config

[Puppet Users] Service stuck after updating puppet on Windows Server 2003

2014-05-09 Thread cko
Hi, I'm using puppet to manage the puppet agent (package, config, service) in my Windows Server 2003 boxes. Whenever I update the package, the puppet agent service gets stuck (STOP PENDING). The report returns: *Fri May 09 12:13:51 +0200 2014

[Puppet Users] Re: tagging nodes in site.pp (tagmail)

2014-03-28 Thread cko
Thanks! On Thursday, March 27, 2014 4:00:28 PM UTC+1, cko wrote: hi, i want to be able to send reports via email for certain hosts. for example: *site.pp* node 'node1.localdomain' { tag 'webshop' } node 'node2.localdomain' { tag 'webshop' } node 'node3.localdomain' { tag

[Puppet Users] tagging nodes in site.pp (tagmail)

2014-03-27 Thread cko
hi, i want to be able to send reports via email for certain hosts. for example: *site.pp* node 'node1.localdomain' { tag 'webshop' } node 'node2.localdomain' { tag 'webshop' } node 'node3.localdomain' { tag 'foo'' } *tagmail.conf* webshop*:* developers@company.domain So only the

[Puppet Users] Re: Excluding hostnames from a module via parameter

2014-03-04 Thread cko
Thanks! That worked On Monday, March 3, 2014 4:33:38 PM UTC+1, cko wrote: Hi, here is what I'm trying to do: I want to be able to exclude certain hostnames/ from a module by passing their hostnames in a parameter (array) within this module. Example: class centos-default { class

Re: [Puppet Users] Re: puppet master stopped loading facts since puppetdb installation

2014-03-04 Thread cko
`prune_parameters' for nil:NilClass (I'm cko in #puppet) On Tuesday, March 4, 2014 8:52:20 PM UTC+1, Ryan Senior wrote: Can you post your puppet.conf? Should be in /etc/puppet, also the versions of puppet/puppetdb/facter packages? If you want to drop into freenode #puppet IRC channel, we

Re: [Puppet Users] Re: puppet master stopped loading facts since puppetdb installation

2014-03-04 Thread cko
both the agent and the master on that box. You only want that to apply to the master. -Ryan On Tue, Mar 4, 2014 at 12:10 PM, cko der...@gmail.com javascript:wrote: The /etc/puppet/puppet.conf looks like this: [main] logdir = /var/log/puppet rundir = /var/run/puppet ssldir

[Puppet Users] Excluding hostnames from a module via parameter

2014-03-03 Thread cko
Hi, here is what I'm trying to do: I want to be able to exclude certain hostnames/ from a module by passing their hostnames in a parameter (array) within this module. Example: class centos-default { class { 'module': exclude = [ 'host1', 'host2' ], } class { 'module2': exclude

[Puppet Users] Re: puppet master stopped loading facts since puppetdb installation

2014-03-03 Thread cko
I'm still having these issues. Here is some output that might help: https://gist.github.com/anonymous/1afccb3d54ae33b48544 Any ideas? On Tuesday, December 17, 2013 5:56:55 PM UTC+1, cko wrote: hey, so i just installed puppetdb on a dedicated server (with pgsql). I noticed

Re: [Puppet Users] puppet master stopped loading facts since puppetdb installation

2013-12-19 Thread cko
? http://docs.puppetlabs.com/puppetdb/latest/connect_puppet_master.html#edit-routesyaml On 18 December 2013 08:27, cko der...@gmail.com javascript: wrote: Every node (except for the master) does something like this when i run puppet agent -t: root@node1:~$ puppet agent -t Info

[Puppet Users] puppet master stopped loading facts since puppetdb installation

2013-12-17 Thread cko
hey, so i just installed puppetdb on a dedicated server (with pgsql). I noticed that the puppet master server doesn't load any facts. root@puppetmaster:~$ puppet agent -t Info: Retrieving plugin Info: Caching catalog for puppetmaster.local.domain Info: 'replace catalog' command for

Re: [Puppet Users] puppet master stopped loading facts since puppetdb installation

2013-12-17 Thread cko
updated. On Wednesday, December 18, 2013 12:13:09 AM UTC+1, Deepak Giridharagopal wrote: On Dec 17, 2013, at 9:56 AM, cko der...@gmail.com javascript: wrote: hey, so i just installed puppetdb on a dedicated server (with pgsql). I noticed that the puppet master server doesn't load any facts

Re: [Puppet Users] matching all current ipaddress_ethX facts

2013-11-29 Thread cko
a custom function that iterates through all ipaddress facts. On Nov 21, 2013, at 4:32 AM, cko der...@gmail.com javascript: wrote: I'm currently trying to solve the following problem: I wrote a module that matches the $ipaddress fact for certain IP subnets (like 20.20.2... or 30.30.2

[Puppet Users] matching all current ipaddress_ethX facts

2013-11-21 Thread cko
Hi, I'm currently trying to solve the following problem: I wrote a module that matches the $ipaddress fact for certain IP subnets (like 20.20.2... or 30.30.2..). Depending on the subnet, the variable $proxy-server changes. The problem is, that some of our physical machines have a random

Re: [Puppet Users] Custom Windows Fact (match ipaddress)

2013-11-11 Thread cko
, cko wrote: Still no effect. Facter::Util::Resolution.exec(C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe ipconfig | Select-String -pattern '192.168.20[567]' | %{$_.line.split()} | FINDSTR 192.168.20[567]) Is there anything else i need to escape? On Tuesday

[Puppet Users] Re: Custom Windows Fact (match ipaddress)

2013-10-30 Thread cko
:12 PM UTC+1, cko wrote: Hi everybody, I'm trying to write a custom fact that gets the IP Address of any given NIC if it matches a specific IP range. On Linux i use this (works fine) Facter.add(ip_foo) do setcode do Facter::Util::Resolution.exec(/sbin/ifconfig | /bin/grep

[Puppet Users] Custom Windows Fact (match ipaddress)

2013-10-29 Thread cko
Hi everybody, I'm trying to write a custom fact that gets the IP Address of any given NIC if it matches a specific IP range. On Linux i use this (works fine) Facter.add(ip_foo) do setcode do Facter::Util::Resolution.exec(/sbin/ifconfig | /bin/grep '192.168.20[567].' | /bin/awk '{

Re: [Puppet Users] Re: Puppet dashboard stuck pending jobs

2013-10-11 Thread cko
That fixed the problem for me. Thanks. On Friday, September 6, 2013 10:21:12 PM UTC+2, Psyber wrote: I ran into this as a result of the output of failed deps on a yum install and had a couple jobs that just wouldn't go away. After fixing the condition creating the error I used

[Puppet Users] Basic LDAP authentication in puppet opensource dashboard

2013-10-09 Thread cko
Hi, i'm trying to enable a basic LDAP authentication mechanism for our puppet opensource dashboard. My /etc/httpd/conf.d/puppetdashboard.conf looks like this: (i changed sensitive data) Listen 3000 VirtualHost *:3000 ServerName puppet.local.domain DocumentRoot

Re: [Puppet Users] Re: [windows server 2008 r2] puppet errors in 3.3.0 on exchange database servers

2013-10-03 Thread cko
https://gist.github.com/anonymous/6814400 On Thursday, October 3, 2013 5:23:05 PM UTC+2, Rob Reynolds wrote: You should be able to run facter --trace --debug On Wed, Oct 2, 2013 at 5:18 PM, cko der...@gmail.com javascript:wrote: Hi Ethan, what's the exact command that i would have

Re: [Puppet Users] Re: [windows server 2008 r2] puppet errors in 3.3.0 on exchange database servers

2013-10-02 Thread cko
Hi Ethan, what's the exact command that i would have to use? On Wednesday, October 2, 2013 11:35:29 PM UTC+2, Ethan Brown wrote: Christian - I'm doing the final verification of our fix, and was hoping that I could get the output from Facter run by itself? On Fri, Sep 20, 2013 at

[Puppet Users] Re: [windows server 2008 r2] puppet errors in 3.3.0 on exchange database servers

2013-09-20 Thread cko
=14 have very similar mac addresses . I guess this adapter has something to do with the replication between exchange databases / cas servers. On Friday, September 13, 2013 3:23:56 PM UTC+2, cko wrote: Hi, i recently updated our windows 2008 r2 servers to puppet 3.3.0 . Im getting

[Puppet Users] [windows server 2008 r2] puppet errors in 3.3.0 on exchange database servers

2013-09-13 Thread cko
Hi, i recently updated our windows 2008 r2 servers to puppet 3.3.0 . Im getting the following error* (only on our exchange 2010 db servers)*ever since: LevelMessageSourceFileLineTimeerrCould not retrieve local facts: undefined method `gsub' for nil:NilClassPuppet13.09.2013 15:12 CESTerrFailed

[Puppet Users] serving .exe file via http (provider = windows)

2013-08-05 Thread cko
hi everyone, i'm trying to roll out an .exe file for the puppet package provider windows. my manifest looks like this: $package_source = http://puppet.local.domain/base_check_mk/windows/check-mk-agent-1.2.3i1.exe; $package_name = Check_MK Agent 1.2.3i1 package { $package_name:

Re: [Puppet Users] serving .exe file via http (provider = windows)

2013-08-05 Thread cko
the source attribute to the following: source = 'puppet:///modulename/filename Put the exe in your module: modulepath/modulename/files/exe filename http://docs.puppetlabs.com/references/latest/type.html#file hth, Martin On Aug 5, 2013, at 8:01 AM, cko der...@gmail.com javascript

[Puppet Users] updating package and all dependency updates with puppet

2013-07-23 Thread cko
hi, im trying to update the zend server package the following way: package { zend-server-php-5.4-6.1.0: ensure = present, require = [Yumrepo[ZendRepo],Yumrepo[Zend_noarch]], notify = File[/etc/ld.so.conf.d/zend_server.conf] } when i install a node from scratch, the latest

[Puppet Users] puppet ignoring dependencies

2013-07-22 Thread cko
hi everyone, my *site.pp* looks like this: node server.my.fqdn { class { puppet_agent: } class {base_config: require=Class[puppet_agent] } } im trying to achieve that the puppet_agent module is applied before the base config modules. however, the

[Puppet Users] Puppet run fails with service, succeeds with puppet agent -t

2013-07-15 Thread cko
hi everybody, im trying to install a package on a windows server host. my source parameter looks like this: $package_filename = check-mk-agent-1.2.3i1.exe $package_name = Check_MK Agent 1.2.3i1 package { $package_name: ensure = installed, provider =

[Puppet Users] updating puppet with puppet on windows node (msi)

2013-07-04 Thread cko
hi, im trying to update the puppet windows agent on my windows server 2008 r2 node. i installed puppet-3.2.2 manually. my goal is to update the puppet agent to puppet-3.2.3-rc1 i tried that with the following manifest: *init.pp:* class base_puppet_agent { include

[Puppet Users] install module via rpm- behind a proxy

2013-06-19 Thread cko
hi, I'm trying to run the following manifest on my puppet agent: (snippet) package { 'check_mk-agent-logwatch-1.2.3i1-1.noarch': provider = 'rpm', ensure = installed, source = 'http : // mathias-kettner.de/download/check_mk-agent-logwatch-1.2.3i1-1.noarch.rpm',

[Puppet Users] Re: install module via rpm- behind a proxy

2013-06-19 Thread cko
thank you! i changed the* /usr/lib/rpm/macros *file via puppet. works fine On Wednesday, June 19, 2013 8:17:25 AM UTC+2, cko wrote: hi, I'm trying to run the following manifest on my puppet agent: (snippet) package { 'check_mk-agent-logwatch-1.2.3i1-1.noarch': provider = 'rpm

[Puppet Users] puppet-dashboard not linking both filebucket md5 links

2013-06-15 Thread cko
Hi everyone, I have the following problem with the puppet-dashboard / filebucket diff functionality: https://lh6.googleusercontent.com/-Z-m9zGW0UX8/UbzJKVfMgjI/A7s/oMZCvVfHvJw/s1600/2013-06-15_220557.png It doesnt show the content of the new / changed file. I configured the client