[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] Client self-deregistration from PuppetDB

2014-12-10 Thread Ryan Anderson
You could try a hack like having the system going away call a cgi on the puppet master (via wget) that in-turn does the 'puppet node deactivate' command. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop

Re: [Puppet Users] Installing puppet on OSX

2014-12-10 Thread Felix Frank
Hi, is this a new thread? Are you referring to some earlier post that I missed? If you are just inquiring about the error - that trace you shared is likely inconclusive. The most important part is the very top. Thanks, Felix On 12/08/2014 03:51 AM, Mauricio Tavares wrote: Do you use the .dmg

Re: [Puppet Users] compare two variables via regex

2014-12-10 Thread Felix Frank
On 12/06/2014 01:43 AM, Ramin K wrote: On 12/5/14 3:16 PM, Lori Cho wrote: I have two variables and I want to compare them to each other. However, the regex doesn't return true, because it seems to treat the variable in the // as a literal. Something like this: $variable1 = 'foo'

[Puppet Users] Styling parameter and variable types

2014-12-10 Thread Daniele Sluijters
With the future parser we can now add type annotations to a whole bunch of things. Usually it's pretty easy, just chuck the type in front of the variable and you're done. But what if you have multiple variables or class parameters beneath each other, do we align them, how do we align them, and

[Puppet Users] Re: Client self-deregistration from PuppetDB

2014-12-10 Thread Daniele Sluijters
There's no need for CGI magic through the Puppet Master, you can talk to PuppetDB directly. See the PuppetDB API documentation: https://docs.puppetlabs.com/puppetdb/latest/api/commands.html#examples-using-curl On Wednesday, 10 December 2014 13:01:34 UTC+1, Ryan Anderson wrote: You could try

[Puppet Users] Re: what gets run when a client can't connect?

2014-12-10 Thread jcbollinger
On Tuesday, December 9, 2014 4:05:19 PM UTC-6, JonY wrote: Situation: client insists on ability to use a 3G modem to connect to AWS servers (including puppet). I need a way to ensure that the 'wvdial' process is running. It will lose the carrier and hang-up at times so I wrote a piece of

Re: [Puppet Users] Re: puppet turning a file into a directory

2014-12-10 Thread jcbollinger
On Tuesday, December 9, 2014 3:04:39 PM UTC-6, chris smith wrote: Just posting a follow up. On 04/12/14 01:31, jcbollinger wrote: Or if you have multiple environments defined, and for some reason the affected server is occasionally assigned to the wrong one, then you might get a

[Puppet Users] problem with windows client

2014-12-10 Thread Gianmarco Carrieri
Hi all, sorry if this is a repost, i need to use a windows env in the configuration of puppet. this is a piece of my conf: file { Mozilla: ensure = directory, recurse = true, path = %appdata%, purge = true,

[Puppet Users] Re: Module/Class ordering with contain()

2014-12-10 Thread jcbollinger
On Tuesday, December 9, 2014 11:06:14 AM UTC-6, lupin...@gmail.com wrote: Hi, The initial error was a typo, but the Order of execution of class is not being achieve, is this possible? Whatever behavior you observe is evidently possible, because you observe it. Whether it is consistent

Re: [Puppet Users] Puppet rendered system unusable because of following a dependency tree removing an RPM

2014-12-10 Thread jcbollinger
On Tuesday, December 9, 2014 8:14:03 AM UTC-6, Felix.Frank wrote: On 12/01/2014 11:11 PM, Clay Stuckey wrote: I wrote two manifests for RHEL systems. One removed syslog. The other installed rsyslog. The syslog removal followed a tragic dependency tree removing RPMs such as coreutils,

[Puppet Users] augeas failure - any ideas?

2014-12-10 Thread James Green
augeas { 'postfix-master-smtp-inet' : context = /files/etc/postfix/master.cf, changes = [ set smtp[type = inet]/private n, set smtp[type = inet]/unprivileged -, set smtp[type = inet]/chroot n, set smtp[type = inet]/wakeup -, set smtp[type = inet]/limit 10,

[Puppet Users] Re: Module/Class ordering with contain()

2014-12-10 Thread Mark Rosedale
I generally don't use includes. I do class declarations. If you need to order classes within a module I tend to use the before or require and subscribe for ordering. So for instance for module foo if I need class first to run first and two to run second I could do either of the following.

Re: [Puppet Users] Re: Module/Class ordering with contain()

2014-12-10 Thread Felix Frank
On 12/10/2014 04:17 PM, Mark Rosedale wrote: class foo { Class['first']-Class['two'] class {'first': } class {'two': } } Well, this should generally be avoided. It deprives you of the ability to declare either 'first' or 'two' anywhere else in the manifest. include really is the

[Puppet Users] Re: augeas failure - any ideas?

2014-12-10 Thread James Green
It's because the file doesn't yet have an uncommented smtp line. It seems augeas cannot uncomment the line or put a new one in. I am therefore unsure how augeas can be used to ensure the line exists. Do people have to work around this by supplying template fragments or something? On 10 December

[Puppet Users] exec statement in puppet

2014-12-10 Thread Spriya
Hi, I tried to place a command in exec statement. when the command is executed successfully can we stop getting notice message. If the command in exec statement fails then only i need to get notice messages. Is there a way we can do that? -- You received this message because you are

[Puppet Users] Notification for new Certificate request

2014-12-10 Thread David Hollinger
Is there a way to setup email notifications for Certificate Requests and only certificate requests? I'm sure tagmail would work to some extent, but I don't want notifications for everything, just for Certificate/Node Requests -- You received this message because you are subscribed to the

[Puppet Users] Reading configuration from UI.

2014-12-10 Thread glosterj9
Hi, I am new to puppet infrastructure. I have a requirement where i need to read configuration from an User Interface and apply them dynamically to the process/application which uses puppet framework for configuration purpose. Could someone help me out on how to proceed on this one? Thanks in

[Puppet Users] is there a way to compare one facts with all other facts in the list

2014-12-10 Thread Spriya
Hi, I have a requirement that, *I have list of two different facts* *java_foundversion1_path1 java_foundversion2_path2 java_foundversion3_path3 java_foundversion4_path4* *and java_authorizedversion1path1 java_authorizedversion2path2 java_authorizedversion3path3

[Puppet Users] Usage of mcollective::user class in custom class

2014-12-10 Thread Ajay Kumar
Hi Team, I am new to puppet and I am upgrading to recent release ver 2.0.0 puppet mcollective module from 1.2 ver mcollective module In one of my puppet class using mcollective::user class please find the following code snippet. mcollective::user { ${mcollective::client_user};:

[Puppet Users] Re: Force resigning of existing certificates

2014-12-10 Thread heeyoung kim
Hello Jake, I found your commend in this site while researching my company issue that is same as you had. However, the below site closed, so no information :( http://glarizza.posterous.com/managing-puppet-ssl-certificates Could you please let me know how you fixed the issue if you don't mind?

[Puppet Users] Re: Permission problems on Windows

2014-12-10 Thread Renu Chuppala
Hi Silva , Did you able to unzip the file using 7 zip using above code.I was trying but it is unable to find the zip file.Please help me to fix this. Thanks Renu On Monday, 1 September 2014 10:35:47 UTC-7, Armindo Silva wrote: Hi, I have a zip file that has some binaries inside, if I unzip

[Puppet Users] puppet parser order random

2014-12-10 Thread 巨海录
# ntp/manifests/init.pp class ntp ( $var_01 = '/etc/ntp.conf', $var_02 = 'ntp/ntp.conf.erb', ) { include ::ntp::params include ::ntp:install } # ntp/manifests/params.pp class ntp::params { $var_03 = 'no.3' $var_o4 = 'no.4' } # ntp/manifests/install.pp class ntp::install { notify

Re: [Puppet Users] Usage of mcollective::user class in custom class

2014-12-10 Thread Johan De Wit
On 10/12/14 22:40, Ajay Kumar wrote: Hi Team, I am new to puppet and I am upgrading to recent release ver 2.0.0 puppet mcollective module from 1.2 ver mcollective module In one of my puppet class using mcollective::user class please find the following code snippet. mcollective::user {