[Puppet Users] Re: Puppet Console Groups - Node pattern match

2013-10-18 Thread James Trier
Solved my issue by getting the regex right but I'd still like know other options for automating the collection of nodes into a group via the console. If anyone has some pointers. On Friday, October 18, 2013 5:04:13 PM UTC-7, James Trier wrote: > > Hi, > > I want to use the Groups feature in the

[Puppet Users] Roles with PE and other ENCs?

2013-10-18 Thread Chris Barbour
Hi, I'm interested in getting some feedback from the community. What are your thoughts on using roles with a good external node classifier such as Puppet Enterprise? With our without an ENC, profiles make absolute sense as a place to inject data and for grouping independent classes into functi

[Puppet Users] Ignore a failed dependency

2013-10-18 Thread Bryan Traywick
I have a general question and a specific question that are related. The general question: Is it possible to have the dependencies (commands that "require") of a command execute even if the command fails? Meaning create a sort of soft dependency where I would like the command to be performed but

[Puppet Users] Running Module assitant in puppet

2013-10-18 Thread Mani Devarajan
Hello, For my puppet workflow, i need to run "module-assistant auto-install openvswitch-datapath". Which resource type will be best to execute this command. Should i use Exec resource type. Can you please suggest what will be the best way to implement this. Appreciate your response. Thanks

[Puppet Users] Puppet Console Groups - Node pattern match

2013-10-18 Thread James Trier
Hi, I want to use the Groups feature in the console to setup a pattern match on "hostname" for a node so that they get all the classes assigned to that group. I'm currently doing this through the nodes/nodes.pp file for a set of simple named hosts (example of my regex in the nodes.pp below) but

[Puppet Users] Re: 'eval_generate: SSL_connect returned=1 errno=0 state=SSLv3 read server session ticket A: tlsv1 alert unknown ca

2013-10-18 Thread Havary
I solved de problem. I dont use the best way, but worked. on the client: rm -rf /etc/puppet/ssl/* on the server rm -rf /var/lib/puppet/ssl/* yes I know, I deleted all cert files of all servers. After that a sign all the certs. --thank Em sexta-feira, 18 de outubro de 2013 15h45min10s UTC-3, Ha

[Puppet Users] Re: installing a package nmap on ubuntu

2013-10-18 Thread Ellison Marks
What version of ubuntu are you running. This type of thing crops up in the older/unsupported versions, IIRC. On Friday, October 18, 2013 12:30:37 AM UTC-7, kampy wrote: > > Hi, i am new to puppet please help me how to resolve this issue. > below is my script > class nmap { > package { '

[Puppet Users] Re: installing a package nmap on ubuntu

2013-10-18 Thread Sans
What you get running this: /usr/bin/apt-get -y -o DPkg::Options::=--force-confold install nmap > > on the agent? Cheers!! On Friday, October 18, 2013 8:30:37 AM UTC+1, kampy wrote: > > Hi, i am new to puppet please help me how to resolve this issue. > below is my script > class nmap { >

[Puppet Users] 'eval_generate: SSL_connect returned=1 errno=0 state=SSLv3 read server session ticket A: tlsv1 alert unknown ca

2013-10-18 Thread Havary
Hi, ppl I dont know what to do. I configure a new client do sync with my server. the server accept de client_cert without errors and then when i run the "puppet agent -t" agaion i got this error output info: Retrieving plugin err: /File[/var/lib/puppet/lib]: Failed to generate additional resour

Re: [Puppet Users] Windows 8.1 Puppet Crashing

2013-10-18 Thread Rob Reynolds
That is interesting. It appears that the log output is not showing up on your console. What console are you using? Can you verify this is happening on more than one machine? On Fri, Oct 18, 2013 at 7:27 AM, Jason Bray wrote: > Well, that is exactly the issue. It doesn't appear to crash in a vis

Re: [Puppet Users] Can't find a supported method of using storeconfigs on AWS

2013-10-18 Thread Deepak Giridharagopal
On Fri, Oct 18, 2013 at 7:30 AM, Daniel Friesen wrote: > I can't seem to find a sane way of running storeconfigs on the new AWS > server environment I'm working on. > > >- SQLite is not an option. It becomes unusable far too quickly. > > What do you mean, exactly? It isn't handling your volume

[Puppet Users] Announce: Module puppetlabs/puppetdb 2.0.0 Available

2013-10-18 Thread Ken Barber
A new release of the puppetlabs/puppetdb module is now available on the Forge: https://forge.puppetlabs.com/puppetlabs/puppetdb/2.0.0 This major release changes the main dependency for the inifile module from the deprecated `cprice404/inifile` to `puppetlabs/inifile` to remove deprecation warning

Re: [Puppet Users] exporting custom facts to puppet agents

2013-10-18 Thread Sans
Thanks John! That's it! feel myself like the biggest stupid in the world! Thanks every one for the help. It's working just fine now. Cheers!! On Friday, October 18, 2013 2:24:29 PM UTC+1, jcbollinger wrote: > > > > *Be sure to restart your master after modifying any custom functions. If > you

[Puppet Users] Dashboard failed tasks

2013-10-18 Thread Dwayne Lee
Hey All, I see that a number of Admins have experienced this same issue, but no one has posted a workable solution. I have about 200 agents, but on any given day I'll see 5-10 failed tasks in Dashboard as follows: *Importing report report-21248-180.yaml* at 10-18-2013 11:10 EDTValidation fail

Re: [Puppet Users] exporting custom facts to puppet agents

2013-10-18 Thread Dwayne Lee
I had issues with custom facts returning errors and or not finding the custom facts until I created an additional module called "facterpath". Here is the init.pp: # /etc/puppet/modules/facterpath/manifests/init.pp class facterpath { file { "/etc/profile.d/facter.sh": own

[Puppet Users] Puppet reports filenames

2013-10-18 Thread Dwayne Lee
Hey All, I'm wondering why my YAML files have filenames which are 4 hours off from the actual time. For example, the file created below at 10:13am has a filename which would indicate it being created at 2:13pm (off by 4 hours). -rw-r- 1 puppet puppet 26047 Oct 18 10:13 /var/lib/puppet/r

[Puppet Users] Can't find a supported method of using storeconfigs on AWS

2013-10-18 Thread Daniel Friesen
I can't seem to find a sane way of running storeconfigs on the new AWS server environment I'm working on. - SQLite is not an option. It becomes unusable far too quickly. - Using a mysql adapter doesn't seem to work properly. - I quickly run into bug #9290

Re: [Puppet Users] exporting custom facts to puppet agents

2013-10-18 Thread jcbollinger
On Thursday, October 17, 2013 8:21:28 AM UTC-5, Sans wrote: > > It's strange: whatever I do I can't go past these error. Either it cannot > recognize the function or fails with single array error. Still don't > understand what I'm missing. Cheers!! > > > On Thursday, October 17, 2013 1:34:26 A

Re: [Puppet Users] exporting custom facts to puppet agents

2013-10-18 Thread jcbollinger
On Wednesday, October 16, 2013 7:34:26 PM UTC-5, Sans wrote: > > Not sure if it's important: the line number in the error message points to > the line in the .pp file where "$h = am_running_oss()" is defines. If I > change that line with "am_running_oss_hash('/tmp/OSs.txt')" it works just > f

Re: [Puppet Users] Re: 'puppet storeconfigs export' killed

2013-10-18 Thread Roger Torrentsgenerós
Done http://projects.puppetlabs.com/issues/22912 On Thursday, October 17, 2013 10:40:12 AM UTC+2, Ken Barber wrote: > > Roger, > > Can you raise this as a bug in our bug tracker? > > http://projects.puppetlabs.com/projects/puppetdb > > ken. > > On Wed, Oct 16, 2013 at 9:23 AM, Roger Torrents

Re: [Puppet Users] installing package giving error

2013-10-18 Thread kampy
HI matthew, Thanks for the help . it was due to the lock on apt due to some other processes. On Friday, 18 October 2013 17:35:11 UTC+5:30, kampy wrote: > > Hi Matthew, > > the same script when i tried from a cloud VM. i am able to install all the > packages. please help me in resolving the is

Re: [Puppet Users] Windows 8.1 Puppet Crashing

2013-10-18 Thread Jason Bray
Well, that is exactly the issue. It doesn't appear to crash in a visible way, there is simply no output for any command I give it. Although, every once in a while, it appears to work normally and shows output as expected. 90% of the time, the command hangs for a second or two then returns me to

Re: [Puppet Users] installing package giving error

2013-10-18 Thread kampy
Hi Matthew, the same script when i tried from a cloud VM. i am able to install all the packages. please help me in resolving the issues. The environment i am using is a proxy one as i am in company env which has some restrictions. Do you mean that this may be the problem ? the IP i am using doe

Re: [Puppet Users] installing package giving error

2013-10-18 Thread kampy
Hi Matthew, I am seeing the same error. # /usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install nmap. Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: libqtwebkit4 libtie-ixhash-perl libxml-twig-perl li

Re: [Puppet Users] installing package giving error

2013-10-18 Thread Matthew Burgess
On 18 October 2013 08:04, kampy wrote: > Hi all, > > I am new to puppet. i just started exploring. when i am trying install a > package it is giving the below error > > *$ puppet apply nmap.pp > err: /Stage[main]/Nmap/Package[nmap]/ensure: change from purged to present > failed: Execution of '/us

[Puppet Users] installing package giving error

2013-10-18 Thread kampy
Hi all, I am new to puppet. i just started exploring. when i am trying install a package it is giving the below error *$ puppet apply nmap.pp err: /Stage[main]/Nmap/Package[nmap]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confo

[Puppet Users] installing a package nmap on ubuntu

2013-10-18 Thread kampy
Hi, i am new to puppet please help me how to resolve this issue. below is my script class nmap { package { 'nmap': ensure => installed, } } include nmap below is the error it is failing err: /Stage[main]/Nmap/Package[nmap]/ensure: change from purged to presen

Re: [Puppet Users] Re: Nagios & Puppet

2013-10-18 Thread Juan Sierra Pons
Hello, Right now I am using a workaround similar to Steve's approach and it works pretty well Just checking what other people is doing Thank for your replies and time Best regards -- Juan Sierra Pons