[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: It doesnt show the content of the "new / changed" file. I configured the cl

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

2013-06-18 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

[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 base_puppet_agent::insta

[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, prov

[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. howe

[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 lat

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

2013-08-04 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
e within your module in the files > folder. > Adopt the source attribute to the following: > > source => 'puppet: > > Put the exe in your module: > //files/ > > http://docs.puppetlabs.com/references/latest/type.html#file > > hth, > > Martin > &g

[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] Re: [windows server 2008 r2] puppet errors in 3.3.0 on exchange database servers

2013-09-19 Thread cko
ters "Index=16" and "Index=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

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, 201

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 >wrote: > >> Hi Ethan, >> >> what

[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 > >ServerName puppet.local.domain >DocumentRoot /usr/share/puppet-dashboard/public/ >

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 /usr/bin/

[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 '{

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

2013-10-30 Thread cko
, October 29, 2013 3:07: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 >

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

2013-11-11 Thread cko
quot;) On Wednesday, October 30, 2013 4:23:45 PM UTC+1, Josh Cooper wrote: > > The second issue is that findstr is a shell builtin, so you have wrap the > entire command in: > > cmd.exe /c > > You may have to quote the original command and adjust the interior quotes > ac

[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 numb

Re: [Puppet Users] matching all current "ipaddress_ethX" facts

2013-11-29 Thread cko
sday, November 21, 2013 10:36:52 PM UTC+1, Jo wrote: > > Yep, write it out as such :) Either if/then in the manifest, or write a > custom function that iterates through all ipaddress facts. > > On Nov 21, 2013, at 4:32 AM, cko > wrote: > > I'm currently trying to s

[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 puppet

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

2013-12-17 Thread cko
other nodes works as expected!) But since the master doesn't load facts on a run, the motd file doesn't get updated. On Wednesday, December 18, 2013 12:13:09 AM UTC+1, Deepak Giridharagopal wrote: > > On Dec 17, 2013, at 9:56 AM, cko > wrote: > > hey, > > so i

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

2013-12-19 Thread cko
like this example? > http://docs.puppetlabs.com/puppetdb/latest/connect_puppet_master.html#edit-routesyaml > > > On 18 December 2013 08:27, cko > wrote: > >> Every node (except for the master) does something like this when i run >> "puppet agent -t": >> &

[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). &

[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. > > Exam

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 fre

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

2014-03-04 Thread cko
en it's in [main], it applies > 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 >wrote: > >> The /etc/puppet/puppet.conf looks like this: >> >> [main] >

[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 cha

[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 '

[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 /Stage[main]/puppet_agent::Windows::Service/Serv

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

2014-05-10 Thread cko
9, 2014 9:45:35 PM UTC+2, Rob Reynolds 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 >wrote: > >> Hi,

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

[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 -ne

[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 => '0

[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 outp

[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 tha

Re: [Puppet Users] Passing exe switches on Windows

2014-12-12 Thread cko
4 at 5:23 AM, cko > > wrote: >> >> Hi, >> >> I'm trying to get the following manifest to work on a Windows Server >> 2008R2 node: >> >> *package { 'signotec WinUSB':* >> * ensure => '1.0.4',* >&g

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 > > wrote:

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

2014-12-14 Thread cko
Tue, Dec 9, 2014 at 7:28 AM, cko > > 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

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 > > wrote: >> >> The Puppet Service is actually running. >> >> The eventlog shows records abo

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

2015-02-02 Thread cko
/qE87OB5.png ) On Monday, December 15, 2014 at 5:24:55 PM UTC+1, Rob Reynolds wrote: > > > > On Sun, Dec 14, 2014 at 9:17 AM, cko > > wrote: >> >> The Puppet Service is actually running. >> >> The eventlog shows records about successfully finished catalog r

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 > > wrote: > >> I just noticed that the af

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

2015-02-11 Thread cko
. 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 > > wrote: > >> Icacls: http://i.imgur.com/s1xQy65.png >> > > Can you run one against the last_run_report.yaml and the lock file (if > still presen

[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
service on the nodes runs 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: &

[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] 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