[Puppet Users] Puppet with Mcollective, which modules and how ? (TheForeman)

2013-07-01 Thread yamakasi . 014
Hi All, I have a working installation of a Puppet Master (CA) with Puppet agents, this using The Foreman. I really see the usage of Puppet this way but because The Foreman supports pushing your classes/templates to you nodes (agents) and uses the depricated Run/Kick for it I'm looking into Mco

[Puppet Users] Puppetmaster generated Certificate with "old" CA domainname

2013-11-19 Thread yamakasi . 014
Hi All, I'm facing a very strange problem. Because I had some mismatching with new agents I decided to remove all my cerst and start over. This all goes well, I can sign new agent-certs but after that when I run an agent test I get some strange error: Error: /File[/var/lib/puppet/lib]: Failed

Re: [Puppet Users] Puppetmaster generated Certificate with "old" CA domainname

2013-11-19 Thread yamakasi . 014
Hi Mark, Yes I removed /var/lib/puppet/ssl on the agent. At the moment I get an: Error: Could not request certificate: Connection timed out - connect(2) But what I see on the master when running the agent on a client: tcp0 0 10.0.0.250:8140 dhcp-01.domain...:46779 SYN_REC

Re: [Puppet Users] Puppetmaster generated Certificate with "old" CA domainname

2013-11-19 Thread yamakasi . 014
I have to say, both hosts are in /etc/hosts to be sure it's not a DNS issue. Op woensdag 20 november 2013 01:54:09 UTC+1 schreef yamaka...@gmail.com: > > Hi Mark, > > Yes I removed /var/lib/puppet/ssl on the agent. > > At the moment I get an: Error: Could not request certificate: Connection > tim

[Puppet Users] undefined method `enum_lsdev' for Facter::Util::Processor:Module

2013-11-20 Thread yamakasi . 014
Hi All, I'm facing the following error on an Ubuntu 12.04 install with Puppet 3.3.2 Error: Could not retrieve local facts: undefined method `enum_lsdev' for Facter::Util::Processor:Module Facter is the latest version installed using gem. I have seen this was a bug, is it still or again ? Than

[Puppet Users] Wrap class around define and use it as Require

2014-07-30 Thread yamakasi . 014
Hi Guys, I'm using an ENC to define all my nodes including some modules I want to load, I have the following class/define for this: class mymodule::modules::enable ( $enable_modules = undef ) { $modules_split = split($enable_modules, ',') enableModules { $modules_split: }

[Puppet Users] Re: Wrap class around define and use it as Require

2014-07-31 Thread yamakasi . 014
Hi John, Thanks so far! This is what I use now: class mypuppetmodule::modules::enable ( $enable_modules = undef ) { $modules_split = split($enable_modules, ',') enableModules { $modules_split: } enableModules { 'mod1':} } The issue is that when I d

[Puppet Users] Re: Wrap class around define and use it as Require

2014-07-31 Thread yamakasi . 014
HI John, Thanks! I had that class in my enable.pp and not in modules/enable/ssl.pp Is it not possible at all to place it in modules/enable.pp ? Thanks a lot for you great explanation... just didn't noticed it as I try to create a less pp's of possible. Cheers, Matt Op donderdag 31 juli 2014

[Puppet Users] create_resources with default parameters on top of yaml for onetime usage

2014-09-01 Thread yamakasi . 014
Hi guys, I'm looking for a solution to svn checkout a branch and directly config the branch modules using create_resources. My yaml would look like this I think for a one time checkout, which will grab all the modules and configure them one by one: svnsource: repourl: branch: copydir:

[Puppet Users] Split domain and tld from domainname

2014-09-08 Thread yamakasi . 014
HI, I'm facing an issue where I need to grab the tld and domain from a domainname no matter how many subdomains there are. SO far I have tried regsubstr() and split() where split is getting where I want, but not fully yet: $split = split("sub.sub.sub.domain.tld", '[.]') The following gives

Re: [Puppet Users] Split domain and tld from domainname

2014-09-08 Thread yamakasi . 014
Hi Sebastiaan, Thank you, I sorted it already out this way indeed! Cheers, Matt Op maandag 8 september 2014 11:53:50 UTC+2 schreef Sebastiaan van Steenis: > > Hi Matt, > > As stated here ( > https://docs.puppetlabs.com/puppet/latest/reference/lang_datatypes.html#indexing), > > arrays support

[Puppet Users] Update 4.0 /var/run/puppetlabs/puppetdb/puppetdb: No such file or directory

2016-10-05 Thread yamakasi . 014
Hi Guys, I have updated my 3.8 to the 4.0 packages and all seems to go quite smooth unless the puppetdb pid file Anyone a clue why this happens ? [root@foreman-01 puppetdb]# /etc/init.d/puppetdb restart Stopping puppetdb: [ OK ] Starting puppetdb: bash:

[Puppet Users] Re: Update 4.0 /var/run/puppetlabs/puppetdb/puppetdb: No such file or directory

2016-10-05 Thread yamakasi . 014
I forgot to say I'm on CentOS 6.8 Op woensdag 5 oktober 2016 11:08:03 UTC+2 schreef yamaka...@gmail.com: > > Hi Guys, > > I have updated my 3.8 to the 4.0 packages and all seems to go quite smooth > unless the puppetdb pid file > > Anyone a clue why this happens ? > > [root@foreman-01 puppetdb]#