Re: [Puppet Users] What is ActiveMQ Broker?

2013-03-13 Thread Matt Zagrabelny
On Wed, Mar 13, 2013 at 12:47 AM, wrote: > Can anybody tell me what exactly ActiveMQ does? Is it a storage of messages > produced by producer and ready to consume by consumer? M i understanding it > correctly or not? Please tell me? http://docs.puppetlabs.com/mcollective/screencasts.html#message

Re: [Puppet Users] Re: PuppetDB queue problem

2013-03-13 Thread ak0ska
Hello Deepak, Here are the queries you asked for: > Can you fire up psql, point it at your puppetdb database, and run "EXPLAIN > ANALYZE SELECT COUNT(*) AS c FROM certname_catalogs cc, catalog_resources > cr, certnames c WHERE cc.catalog=cr.catalog AND c.name=cc.certname AND > c.deactivated I

[Puppet Users] How to add a new line at a particular place in a file..

2013-03-13 Thread yarlagadda ramya
Hi all, How can i write a puppet code such that..it adds a line of content that i want..at a desired place in a file.. if [ "x$JAVA_OPTS" = "x" ]; then JAVA_OPTS="-Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcI

[Puppet Users] Difference between Topic and Queue in ActiveMQ?

2013-03-13 Thread snlsinghal . 9
Hi all, I m not clear with ActiveMQ topic and queue? Please tell me how they work? Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [Puppet Users] PuppetCA and saved certs

2013-03-13 Thread Felix Frank
Hi, I concur that cryptographically, there is absolutely no sense in keeping the signed certificates around. That being said, I'm not entirely sure that the puppet master will work after removing them, but I expect it will. Just give it a shot. You can always move them back in :-) Cheers, Felix

Re: [Puppet Users] What is ActiveMQ Broker?

2013-03-13 Thread R.I.Pienaar
- Original Message - > From: "snlsinghal 9" > To: puppet-users@googlegroups.com > Sent: Wednesday, March 13, 2013 5:47:37 AM > Subject: [Puppet Users] What is ActiveMQ Broker? > > Can anybody tell me what exactly ActiveMQ does? Is it a storage of messages > produced by producer and read

[Puppet Users] Multiple pkg, one pkg.dmg...

2013-03-13 Thread Peter M Souter
Hi people, I know this is a bit obscure, but I'm trying to make a puppet manifest for growl-fork for Boxen. So far it's installing fine with this: class growl_fork { package { 'Growl Fork': source => 'https://bitbucket.org/pmetzger/growl/downloads/Growl-1.2.2f1.dmg', provider => 'p

[Puppet Users] Custom ensure instead of ensurable in type provider

2013-03-13 Thread dirk . heinrichs
Hi, I'm currently writing a custom type for managing Windows environment variables. A variable should be (re-)created if it doesn't exist or the value doesn't match the desired value. So exists? checks exactly this. It returns true only if the variable exists and the value matches. This, howe

[Puppet Users] Optional loading of firewall rules

2013-03-13 Thread droyo
I'm using puppetlabs/firewall with Puppet 2.7.2, and for the most part it's working great. I have this in my sites.pp, which I took from this list sometime ago, to save firewall rules to disk when they're changed: # Always persist firewall rules if ($kernel == 'Linux') {

[Puppet Users] Puppet and mobile OS

2013-03-13 Thread bernard.gran...@morpho.com
Hi, Is there a puppet agent available for Android or IPhone ? Sincerly, Bernard Granier -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-us

Re: [Puppet Users] Puppet and mobile OS

2013-03-13 Thread Matthew Burgess
On Wed, Mar 13, 2013 at 10:50 AM, bernard.gran...@morpho.com wrote: > Hi, > > Is there a puppet agent available for Android or IPhone ? I very much doubt it. You'd have to have ports of Ruby and Facter, available, and probably a bunch of other stuff too. How many phones do you have that you nee

Re: [Puppet Users] Re: Windows Remote Desktop Services (Could not find a suitable provider for dism)

2013-03-13 Thread jim
Hi Rich Thanks for the reply, i've updated the dism module from github, but that hasn't fixed the issue, as i'm still getting the same error err: Could not find a suitable provider for dism Can anyone out there provide an answer Regards Jim On Tuesday, 12 March 2013 23:39:38 UTC, Rich Siegel

Re: [Puppet Users] Re: Windows Remote Desktop Services (Could not find a suitable provider for dism)

2013-03-13 Thread Vladimir Rutsky
Hello, How you installed dism module? I "intalled" dism by copying dism git repository contents into /etc/puppet/modules/dism/ and don't observe error that you have. -- Vladimir Rutsky -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubs

Re: [Puppet Users] Re: Windows Remote Desktop Services (Could not find a suitable provider for dism)

2013-03-13 Thread jim
The error is only happening when trying to install Remote Desktop Services (old Terminal Server), it works fine with other roles/features like IIS etc I updated DISM from github by overwritting both lib / spec directorys On Wednesday, 13 March 2013 12:08:17 UTC, Vladimir Rutsky wrote: > > Hello

Re: [Puppet Users] Re: Windows Remote Desktop Services (Could not find a suitable provider for dism)

2013-03-13 Thread Vladimir Rutsky
Can you provide complete log of running "puppet agent --test --debug" on machine where you try to install Remote Desktop Services using Puppet? On Wed, Mar 13, 2013 at 4:12 PM, jim wrote: > The error is only happening when trying to install Remote Desktop Services > (old Terminal Server), it w

[Puppet Users] Re: Auto-generate multiple facts

2013-03-13 Thread Gavin Williams
John I've updated to use the new fact, however I'm getting some intermittent hanging issues when Puppet agent is loading facts... Tracked it down to the below fact, and specifically it looks like a '\n' is creeping into the db var, which is causing the grep exec to hang :( Put in some additi

[Puppet Users] Re: Auto-generate multiple facts

2013-03-13 Thread Gavin Williams
Think I've sorted it actually... Did this: === --- lib/facter/oracle_clones.rb(revision 96307) +++ lib/facter/oracle_clones.rb(working copy) @@ -9,7 +9,7 @@ Facter.add("clone_#{db}") do setcode { # Look

[Puppet Users] Re: Basic stuff, I can't seem to get right, Could not retrieve information from environment production source(s)

2013-03-13 Thread jcbollinger
On Tuesday, March 12, 2013 3:34:25 PM UTC-5, Ellison Marks wrote: > > If you haven't touched it, it should be fine. Other things to keep in mind: > > The puppetmaster is probably running as the user puppet, not root, and > even if the file itself is readable by all, the intervening directories

RE: [Puppet Users] Puppet and mobile OS

2013-03-13 Thread GRANIER Bernard (MORPHO)
Hi, Thanks for your answer and I hope that I do not " hijacked" a thread. My company sells a product, and a part of this product may be used on mobile and classical computers. We look to use for deployment tool on classical computers, and as usual, it is more simple to use one tool only for de

Re: [Puppet Users] Shorten require list

2013-03-13 Thread jcbollinger
On Tuesday, March 12, 2013 3:26:26 PM UTC-5, Fabrice Bacchella wrote: > > > It not so undocumented. > Point me to the docs, then. John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails

Re: [Puppet Users] Re: Auto-generate multiple facts

2013-03-13 Thread Toni Schmidbauer
At Wed, 13 Mar 2013 05:53:37 -0700 (PDT), Gavin Williams wrote: > What I'm struggling with is how to remove the \n character easily as part > of the existing code... :s db.chomp! regards toni -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To

Re: [Puppet Users] Windows Remote Desktop Services (Could not find a suitable provider for dism)

2013-03-13 Thread Jeff Field
Could you increase the verbosity to see what is causing it to throw that error? I've seen strange dism errors related to WoW shenanigans and I'd like to see which dism it is trying to use exactly. On Tuesday, March 12, 2013, Rich Siegel wrote: > I believe you need to use the copy on github as the

Re: [Puppet Users] Puppet and mobile OS

2013-03-13 Thread Matthew Burgess
On Wed, Mar 13, 2013 at 1:14 PM, GRANIER Bernard (MORPHO) wrote: > Hi, > > Thanks for your answer and I hope that I do not " hijacked" a thread. > > My company sells a product, and a part of this product may be used on mobile > and classical computers. > > We look to use for deployment tool on cl

[Puppet Users] Copying a 900 mb file to Windows !!!

2013-03-13 Thread Rakesh Kathpal
Hi, I am writing a puppet manifest to install a service pack on windows, what I observe is that in case the exe file is withing 50 - 70 Mb the transfer to windows happens without any issues. But the current service pack "windows6.1-KB976932-X64.exe" is around 900 Mb. My manifest is as follows

[Puppet Users] Re: using parameter with puppet dashboard and site.pp

2013-03-13 Thread jcbollinger
On Monday, March 11, 2013 4:28:19 PM UTC-5, vioilly wrote: > > I have just set up my puppet dashboard to be used as a ENC. This is for > the time being the easiest way to get support guys to add nodes to classes. > I have to use global parameters in my modules if I would like to declare > para

Re: [Puppet Users] Re: Windows Remote Desktop Services (Could not find a suitable provider for dism)

2013-03-13 Thread jim
Hi Vladimir, Here is the information you are after: debug: Dism[AppServer](provider=dism): Executing 'C:\Windows\sysnative\Dism.exe /online /Enable-Feature /FeatureName:AppServer /NoRestart' err: /Stage[main]/Roles::Trm::Remote_desktop_services/Dism[AppServer]/ensure: ch ange from absent to pre

Re: [Puppet Users] Puppet and mobile OS

2013-03-13 Thread jcbollinger
On Wednesday, March 13, 2013 8:14:11 AM UTC-5, bernard...@morpho.com wrote: > > Hi, > > Thanks for your answer and I hope that I do not " hijacked" a thread. > > My company sells a product, and a part of this product may be used on > mobile and classical computers. > > We look to use for depl

[Puppet Users] Need help with apt::source and stages

2013-03-13 Thread Cosmin Luță
Hi, I have a local Puppet installation on which I've done: # puppet module install puppetlabs/apt Preparing to install into /etc/puppet/modules ... Downloading from http://forge.puppetlabs.com ... Installing -- do not interrupt ... /etc/puppet

[Puppet Users] enabling AD authentication on Puppet Enterprise 2.7 evaluation

2013-03-13 Thread Jeff
Hi All, I'm testing a Puppet install and running into a problem enabling AD authentication: http://docs.puppetlabs.com/pe/2.7/console_auth.html#using-third-party-authentication-services I've followed the instructions in there and the end result is either only AD auth or only local auth, once I t

Re: [Puppet Users] Re: Windows Remote Desktop Services (Could not find a suitable provider for dism)

2013-03-13 Thread Vladimir Rutsky
James, On Wed, Mar 13, 2013 at 6:08 PM, jim wrote: > Hi Vladimir, > > Here is the information you are after: > > debug: Dism[AppServer](provider=dism): Executing > 'C:\Windows\sysnative\Dism.exe > /online /Enable-Feature /FeatureName:AppServer /NoRestart' > err: > /Stage[main]/Roles::Trm::Remot

Re: [Puppet Users] Re: Windows Remote Desktop Services (Could not find a suitable provider for dism)

2013-03-13 Thread jim
Hi Vladimir, I've also tried this approach exec {'dism': command => 'c:\windows\sysnative\dism.exe /online /enable-feature /featurename:RDS-RD-Server', logoutput=> true, } Here is the errors i'm getting: Exec[dism]/returns: Deployment Image Servicing and Management tool Exec[dism]/returns: V

Re: [Puppet Users] Re: Windows Remote Desktop Services (Could not find a suitable provider for dism)

2013-03-13 Thread Vladimir Rutsky
James, On Wed, Mar 13, 2013 at 6:42 PM, jim wrote: > Hi Vladimir, > > I've also tried this approach > > > exec {'dism': > command => 'c:\windows\sysnative\dism.exe /online /enable-feature > /featurename:RDS-RD-Server', > logoutput=> true, > } > > > Here is the errors i'm getting: > > Exec[dism]

Re: [Puppet Users] Re: Windows Remote Desktop Services (Could not find a suitable provider for dism)

2013-03-13 Thread jim
Hi Vladimir Sorry If you use powershell and import servermanager the feature is called RDS-Server, if you use DISM its called APPServer regards James On Wednesday, 13 March 2013 15:06:18 UTC, Vladimir Rutsky wrote: > > James, > > > On Wed, Mar 13, 2013 at 6:42 PM, jim >wrote: > >> Hi Vladimir

[Puppet Users] get a hash from multiple levels(with the same keys but different values) with hiera

2013-03-13 Thread Alexandru Dragoescu
Hello, I have this configuration: File: comon.yaml SSH: ConfigFolder: "/etc/ssh/" sshd_config: Protocol: "1,2" SyslogFacility: "AUTHPRIV" *PermitRootLogin*: "no" PasswordAuthentication: "yes" ChallengeResponseAuthentication: "no" GSSAPIAuthentication: "yes" GSSAPICleanupCredentia

Re: [Puppet Users] Re: Windows Remote Desktop Services (Could not find a suitable provider for dism)

2013-03-13 Thread jim
I update my DISM module with your changes and added this to my manifest dism { 'AppServer': ensure => present, exitcode=> [0, 3010, 194], } Here is my SET information: C:\Users\Administrator>set ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\Administrator\AppData\Roaming CLIENTNAME=UK

[Puppet Users] Re: Optional loading of firewall rules

2013-03-13 Thread jcbollinger
On Tuesday, March 12, 2013 3:19:31 PM UTC-5, dr...@aqwari.us wrote: > > I'm using puppetlabs/firewall with Puppet 2.7.2, and for the most part > it's working great. I have this in my sites.pp, which I took from this list > sometime ago, to save firewall rules to disk when they're changed: > >

[Puppet Users] Re: Custom ensure instead of ensurable in type provider

2013-03-13 Thread jcbollinger
On Wednesday, March 13, 2013 5:31:09 AM UTC-5, dirk.he...@altum.de wrote: > > Hi, > > I'm currently writing a custom type for managing Windows environment > variables. > > A variable should be (re-)created if it doesn't exist or the value doesn't > match the desired value. So exists? checks exa

Re: [Puppet Users] Re: Windows Remote Desktop Services (Could not find a suitable provider for dism)

2013-03-13 Thread jim
Hi Vladimir This error: Puppet::Type::Dism::ProviderDism: file C:\Users\Administrator\WINDOWS\sysnative\Dism.exe does not exist Just thought this part of the error C:\Users\Administrator It looks like its picking up the %userprofile% and appending to the environment part in dism module

[Puppet Users] Re: Difference between Topic and Queue in ActiveMQ?

2013-03-13 Thread joe
You should try asking the ActiveMQ community, not the puppet community. On Wednesday, March 13, 2013 3:33:35 AM UTC-6, snlsin...@gmail.com wrote: > > Hi all, > I m not clear with ActiveMQ topic and queue? Please tell me how > they work? > > Thanks in advance. > -- You received this mes

Re: [Puppet Users] Re: Difference between Topic and Queue in ActiveMQ?

2013-03-13 Thread R.I.Pienaar
- Original Message - > From: "joe" > To: puppet-users@googlegroups.com > Sent: Wednesday, March 13, 2013 4:23:15 PM > Subject: [Puppet Users] Re: Difference between Topic and Queue in ActiveMQ? > > You should try asking the ActiveMQ community, not the puppet community. > > On Wednesday

Re: [Puppet Users] Puppet and mobile OS

2013-03-13 Thread joe
The bigger issue here is that neither iphone nor android really *need* what puppet offers. In terms of deployment, there are already methods of doing such things (TouchDown comes to mind) that better reflect the model of the mobile OS. Most of the underlying tools used by the providers in puppet

Re: [Puppet Users] node based regex entries

2013-03-13 Thread Mike Reed
Hey Iain, Thanks for the reply and the suggestion. That one got me close but didn't give me exactly what I needed. Consequently, this did: node /^(sbx-.*-\d\d$)/ Thanks again for the suggestion and the help. Cheers, Mike On Tuesday, March 12, 2013 6:54:50 PM UTC-7, nseagoon wrote: > > ru

[Puppet Users] Re: Copying a 900 mb file to Windows !!!

2013-03-13 Thread joe
I wouldn't even do this with a file resource. I'd write a small script to pull it down from a web server and install it then have puppet run that as an exec. I'd also have the script remove the update when it's done since you probably don't want 900mb on disk for no reason. On Wednesday, March

Re: [Puppet Users] Error: stack level too deep

2013-03-13 Thread Josh Cooper
On Tue, Mar 12, 2013 at 3:18 AM, Luca Gioppo wrote: > I'm using puppet-dashboard with MySQL (I know is deprecated, but we > started with this model before puppetDB and I hope we'll manage to use it > for a bit longer) > I had a few problems in installing the active records: I install the > puppet

[Puppet Users] Re: get a hash from multiple levels(with the same keys but different values) with hiera

2013-03-13 Thread Ellison Marks
the hiera() call bails out the first time it finds an answer. Assuming you're calling something like hiera('sshd_config'), you're getting that first answer and nothing else. You need to replace the hiera() call with hiera_hash(), which will merge a hash at all levels of the hierarchy, preferrin

[Puppet Users] Re: Optional loading of firewall rules

2013-03-13 Thread droyo
Hi John, On Wednesday, March 13, 2013 11:51:51 AM UTC-4, jcbollinger wrote: > > On the flip side, the Firewall resource type provided by that module does > not have any inherent dependency on such classes -- that's all coming from > the global resource defaults you declare. > I understand that

[Puppet Users] Re: Optional loading of firewall rules

2013-03-13 Thread David Arroyo
Hi John, On Wednesday, March 13, 2013 11:51:51 AM UTC-4, jcbollinger wrote: > On the flip side, the Firewall resource type provided by that module does not > have any inherent dependency on such classes -- that's all coming from the > global resource defaults you declare. I understand that the ::

[Puppet Users] Re: Hiera top down data?

2013-03-13 Thread Josh Harrison
Great thank you both. On Tuesday, March 12, 2013 6:38:37 AM UTC-7, jcbollinger wrote: > > > > On Monday, March 11, 2013 7:44:08 PM UTC-5, Ellison Marks wrote: >> >> I think what you're describing fits exported resources. That is, each >> node would get it's data from hiera and export it, and the

[Puppet Users] Announce: Facter 1.6.18 Available

2013-03-13 Thread Moses Mendoza
Facter 1.6.18 is a maintenance release in the 1.6.x series with bug fixes. Downloads are available at: * Source: https://downloads.puppetlabs.com/facter/facter-1.6.18.tar.gz RPMs are available at https://yum.puppetlabs.com/el or /fedora Rubygem available at http://rubygems.org/gems/facter Debs

[Puppet Users] Automatic puppet agent upgrade based on server upgrade?

2013-03-13 Thread Josh Harrison
I'm running a test environment of PE and it of course just went from 2.7.1 to 2.7.2. It seems like there must be a way to push the agent upgrades out via puppet, and not have to touch each machine. Even if it isn't an automatic thing, being able to issue "puppet node upgrade " from the server o

Re: [Puppet Users] Automatic puppet agent upgrade based on server upgrade?

2013-03-13 Thread Erik Dalén
I just do something like: package { 'puppet': ensure => '3.1.1-puppetlabs1' } Not sure how to do it with PE though. On 13 March 2013 23:30, Josh Harrison wrote: > I'm running a test environment of PE and it of course just went from 2.7.1 > to 2.7.2. It seems like there must be a way to push th

Re: [Puppet Users] get a hash from multiple levels(with the same keys but different values) with hiera

2013-03-13 Thread Erik Dalén
The reason it doesn't work is that hiera_hash() only does a shallow merge, not a deep merge of the hashes within the hash. There should be support for deep merging in hiera 1.2.0-rc1 though: http://projects.puppetlabs.com/issues/16107 On 13 March 2013 16:26, Alexandru Dragoescu wrote: > Hello,

[Puppet Users] Announce: Hiera 1.2.0-rc2 Available

2013-03-13 Thread Moses Mendoza
Hiera 1.2.0-rc2 is a feature release candidate in the 1.x series with new features and bug fixes. Downloads are available at: * Source: https://downloads.puppetlabs.com/hiera/hiera-1.2.0-rc2.tar.gz RPMs are available at https://yum.puppetlabs.com/el or /fedora Rubygem available at http://rubyge

Re: [Puppet Users] PuppetCA and saved certs

2013-03-13 Thread John Warburton
We've had the occasional fat finger in the client certs directory and all certs being deleted. Everything carried on as usual... John On 13 March 2013 20:36, Felix Frank wrote: > Hi, > > I concur that cryptographically, there is absolutely no sense in keeping > the signed certificates around.

Re: [Puppet Users] Puppet and mobile OS

2013-03-13 Thread Peter Brown
It would have run on MeeGo... Android doesn't have enough of a linux stack to make ruby easy to setup I have no idea bout iPhone so can't comment on that. On 13 March 2013 20:50, bernard.gran...@morpho.com < bernard.gran...@morpho.com> wrote: > Hi, > > > > Is there a puppet agent available for

[Puppet Users] hiera_hash lookups for included classes?

2013-03-13 Thread Scott Merrill
When using "include" to include a class Hiera helpfully performs an autolookup on the parameters of the included class. Specially-named variable names are automatically pulled from the Hiera datastore(s) and passed into the included module. This is pretty awesome. But it looks like included res

[Puppet Users] Re: hiera_hash lookups for included classes?

2013-03-13 Thread Ellison Marks
You can just call hiera_hash() from within your manifest, no? It's not quite as pretty as auto lookup, but it works, and we can hope we get some prettier syntax in the future. On Wednesday, March 13, 2013 6:28:00 PM UTC-7, Scott Merrill wrote: > > When using "include" to include a class Hiera he

Re: [Puppet Users] Re: hiera_hash lookups for included classes?

2013-03-13 Thread Peter Brown
Second Ellison's idea. That's what I do for hashes as well. On 14 March 2013 11:51, Ellison Marks wrote: > You can just call hiera_hash() from within your manifest, no? It's not > quite as pretty as auto lookup, but it works, and we can hope we get some > prettier syntax in the future. > > > O

Re: [Puppet Users] Re: Copying a 900 mb file to Windows !!!

2013-03-13 Thread Rakesh Kathpal
Tks for your reply joe.. The windows machine in this case is a VM.. so I guess I will update the template with SP1 instead of installing it on the fly. Thanks and Regards, Rakesh K. On Wed, Mar 13, 2013 at 10:16 PM, joe wrote: > I wouldn't even do this with a file resource. I'd write a small