[Puppet Users] r10k and dynamic environments

2014-03-25 Thread Steven James
Hi all. I'm trying to get r10k to pull down a hieradata repo, and deploy it to the appropriate I've added the following section to /etc/r10k.yaml hda-hieradata: remote: 'ssh://g...@stash.blah.com.au/puppet/blah-hieradata.git' basedir: "/etc/puppet/environments/${::environment}/hierada

[Puppet Users] Re: Getting an error when trying to apply manifest locally on windows

2014-03-25 Thread Sam
Please see the output of the command puppet apply init.pp --debug --verbose --trace below. C:/Info: Loading facts in C:/ProgramData/PuppetLabs/puppet/etc/modules/stdlib/lib/facter/facter_dot_d.rb C:/Info: Loading facts in C:/ProgramData/PuppetLabs/puppet/etc/modules/stdlib/lib/facter/pe_version

[Puppet Users] Re: Broken certificate chain on apt.puppetlabs.com?

2014-03-25 Thread Christopher Orr
Thanks. I just checked, and `apt-get update` is now working again as expected. -Chris On Monday, 24 March 2014 23:06:01 UTC+1, Eric Sorenson wrote: > > I think this is fixed now; I used openssl s_client and whereas it used to > have: > > --- > Certificate chain > 0 > s:/serialNumber=tQHCVE0

Re: [Puppet Users] Re: Announce: Puppet 3.5.0-rc2 Available.

2014-03-25 Thread Peter Bukowinski
> On Mar 25, 2014, at 6:57 PM, David Mesler wrote: > > Currently I use the common import "nodes/*" method. With that I've always had > to restart the puppet master processes in order to process new node files. > Will that still be necessary with the new manifest directory behavior? Instead of

[Puppet Users] puppet certificate generate fails for mcollective client

2014-03-25 Thread treydock
Following the mcollective documentation [1] for adding clients to execute mco commands when using SSL I am getting an error executing the 'puppet certificate generate' command as my user account. I feel like I'm missing something very obvious here. $ puppet certificate generate treydock --ssld

[Puppet Users] Re: Announce: Puppet 3.5.0-rc2 Available.

2014-03-25 Thread David Mesler
Currently I use the common import "nodes/*" method. With that I've always had to restart the puppet master processes in order to process new node files. Will that still be necessary with the new manifest directory behavior? -- You received this message because you are subscribed to the Google

[Puppet Users] Re: Puppet under passenger constantly crashing

2014-03-25 Thread treydock
As an update, I tried running 'puppet master --no-daemonize --debug' and am seeing a segmentation fault running outside of passenger/apache... /usr/lib/ruby/site_ruby/1.8/puppet/parser/scope.rb:555: [BUG] Segmentation fault ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux] /usr/lib/ruby/1

Re: [Puppet Users] Uninstall Puppet, Facter and Hiera from OSX Mavericks

2014-03-25 Thread Rob Reynolds
IIRC with OSX you either remove the application file or delete what you pulled out of the DMG file, unless there is a specific uninstaller with the installer (but that might just be in .PKG files). See http://guides.macrumors.com/Uninstalling_Applications_in_Mac_OS_X On Tue, Mar 25, 2014 at 1:11

[Puppet Users] Announce: Facter 2.0.1-rc3 Now Available

2014-03-25 Thread Melissa Stone
*Facter 2.0.1-rc3* *Pre-release * - RC3: March 25, 2014 - RC2: March 12, 2014 - RC1: February 28, 2014 *Facter 2.0.1-rc3 Downloads* Source: https://downloads.puppetlabs.com/facter/facter-2.0.1-rc3.tar.gz Available in native package format in the pre-release repositories at: http://y

Re: [Puppet Users] UTF8 package names on windows (invalid byte sequence)

2014-03-25 Thread Rob Reynolds
I'm not sure we have a workaround for this at the current time. I know in 3.5.0 we have made some improvements in puppet resource package. You might give the RC a try. If that doesn't work, please file an issue on this. As a current workaround for using the windows package resource, have you look

Re: [Puppet Users] Getting an error when trying to apply manifest locally on windows

2014-03-25 Thread Rob Reynolds
Can you run puppet apply init.pp --debug --verbose --trace ? On Tue, Mar 25, 2014 at 4:02 AM, Sam wrote: > Hello, > I installed the elasticsearch-logstash module on my windows 7 > laptop and when I try to apply the manifest locally to install logstash, I > am getting the following error

[Puppet Users] Puppet under passenger constantly crashing

2014-03-25 Thread treydock
I recently moved from manually configured Puppetmaster under passenger to fully managed using theforeman/puppet module. Now I am experiencing constant crashes (every few minutes) of the passenger process that runs the puppetmaster. Host is CentOS 6.5 running Puppet 3.4.3. This is the entry I

[Puppet Users] Uninstall Puppet, Facter and Hiera from OSX Mavericks

2014-03-25 Thread Ber Clausen
Hi there! I'm quite new to OSX, so after a while building stuff I ended up installing Puppet, Facter and Hiera .dmg files from Puppetlabs site. Now I need to uninstall them so I can Puppet via gem. Puppet 3.5.0-rc2 Hiera 1.3.2 Facter 2.0.1-rc2 How can I uninstall this packages? Thanks a lot i

Re: [Puppet Users] How to debug catalog transfer?

2014-03-25 Thread Rob Reynolds
I think you are probably right there that it is part of the general encoding problems. I would add yourself as a watcher on those tickets. On Tue, Mar 25, 2014 at 6:22 AM, Andy Spiegl wrote: > Okay, I ended up removing id.rb and timezone.rb COMPLETELY. > Now it works and puppet doesn't complain

Re: [Puppet Users] passing more parameters to define

2014-03-25 Thread jcbollinger
On Monday, March 24, 2014 11:19:43 AM UTC-5, A. Gorlov wrote: > > This is done already. > question about changes in > > $keys = [ "key1", "key2" ] > pubkey { $keys: user => $login } > > to post some other values to define > > A defined type is just a resource type. You can assign as many par

[Puppet Users] Re: hash of arrays to call a define

2014-03-25 Thread jcbollinger
On Monday, March 24, 2014 12:10:24 AM UTC-5, backg...@gmail.com wrote: > > Given this hash of arrays: > > $players = { > 'joe' => [ > '150', > '200', > ], > 'janet' => > '120', > '240', > ], > } > > ... and given a define that's like this: > > profile::generate {$player:

[Puppet Users] Re: puppet dependency for conditional statement

2014-03-25 Thread jcbollinger
On Tuesday, March 25, 2014 3:00:13 AM UTC-5, Weng Wilson wrote: > > Hi, > > I'm new to puppet. Our deployment process is kind of sequential, so I > frequently use chain arrow "->" to solve the dependency. But when there is > conditional statements such as "if ... else ..." , the chain will brok

Re: [Puppet Users] puppet line

2014-03-25 Thread Spencer Krum
Hi, I really think you want to use the file_line type from the puppetlabs-stdlib module. Thanks, Spencer On Tue, Mar 25, 2014 at 10:11 AM, puppetstan wrote: > Hi, > > I have 2 problems with lines functions : the first and the second ;) > > My configuration : > > I create line functions (presen

[Puppet Users] puppet line

2014-03-25 Thread puppetstan
Hi, I have 2 problems with lines functions : the first and the second ;) My configuration : I create line functions (present, absent...) define line ($file, $line, $ensure = 'present') { case $ensure { default : { err("unknown ensure value ${ensure}") } p

[Puppet Users] Re: chaining of create_resources

2014-03-25 Thread jcbollinger
On Monday, September 2, 2013 5:57:44 AM UTC-5, kashif wrote: > > > Hi > I am using create_resource to create a dir and then mount it. I am using > two create_resources and want one to be completed before other. > > $mount_point = hiera('test::mount_point', []) > $defaults = { > 'ensure' => '

[Puppet Users] Re: chaining of create_resources

2014-03-25 Thread jcbollinger
On Monday, September 2, 2013 5:57:44 AM UTC-5, kashif wrote: > > > Hi > I am using create_resource to create a dir and then mount it. I am using > two create_resources and want one to be completed before other. > > $mount_point = hiera('test::mount_point', []) > $defaults = { > 'ensure' => '

[Puppet Users] external facts are not updated

2014-03-25 Thread yannig rousseau
Hi all, I use external facts to collect data to our puppetmaster. When running the "facter" or the "puppet agent -t" command, the external facts are correctly collected. But as soon as I let the puppet service run, the external facts are no more gathered into inventory anymore I use puppet pup

[Puppet Users] mongodb database setup unauthorized auth=true and enableLocalhostAuthBypass=1

2014-03-25 Thread Ben Marengo
hi all i am having trouble trying to puppetize my mongodb setup using the module https://github.com/puppetlabs/puppetlabs-mongodb. puppet fails when executing `/usr/bin/mongo --quiet --eval db.getMongo().getDBNames()` the full error msg is `Error: /Stage[main]/Mongo::Deploy_mongo/Mongodb_dat

[Puppet Users] Re: chaining of create_resources

2014-03-25 Thread Adam Stacey
I would be interested to know if you found a solution for this...? Adam On Monday, 2 September 2013 11:57:44 UTC+1, kashif wrote: > > > Hi > I am using create_resource to create a dir and then mount it. I am using > two create_resources and want one to be completed before other. > > $mount_p

[Puppet Users] UTF8 package names on windows (invalid byte sequence)

2014-03-25 Thread mailnoxx
Hi, I'm currently trying to install Skype's MSI using puppet. The name of the package returned by 'puppet resource package' is "SkypeT 6.14". The correct one would be "Skype™ 6.14". However, puppet fails to handle both: If specified with the trademark sign, I get an "invalid byte sequence in U

[Puppet Users] puppet dependency for conditional statement

2014-03-25 Thread Weng Wilson
Hi, I'm new to puppet. Our deployment process is kind of sequential, so I frequently use chain arrow "->" to solve the dependency. But when there is conditional statements such as "if ... else ..." , the chain will broken. The next operation cannot design which resource to depend on. Could anyb

[Puppet Users] Getting an error when trying to apply manifest locally on windows

2014-03-25 Thread Sam
Hello, I installed the elasticsearch-logstash module on my windows 7 laptop and when I try to apply the manifest locally to install logstash, I am getting the following error. C:\ProgramData\PuppetLabs\puppet\etc\modules\logstash\manifests>puppet apply init.pp Error: Could not find pare

Re: [Puppet Users] puppet manifest/template code validation

2014-03-25 Thread Garrett Honeycutt
On 3/25/14, 8:46 AM, Paolo Supino wrote: > Hi > > Being lazy and forgetful a while ago I wrote a small bash shell script > that checks puppet manifests and ruby code embedded in templates. > > I'm posting it to the group in hope that others will find it useful and > suggest improvements... :-) >

Re: [Puppet Users] puppet manifest/template code validation

2014-03-25 Thread Paolo Supino
Hi Thanx for the links :-) Yes they are, but being a "little consultant" they are outside of my realm of implementation and integration... Paolo On Tue, Mar 25, 2014 at 11:45 AM, devzero2000 wrote: > On Tue, Mar 25, 2014 at 8:46 AM, Paolo Supino > wrote: > > Hi > > > > Being lazy and

Re: [Puppet Users] How to debug catalog transfer?

2014-03-25 Thread Andy Spiegl
Okay, I ended up removing id.rb and timezone.rb COMPLETELY. Now it works and puppet doesn't complain anymore. Does that sound like opening a new issue? I don't think so because it sounds like the general encoding problem puppet has to deal with soon. Right? But if it helps I will open a new issu

Re: [Puppet Users] puppet manifest/template code validation

2014-03-25 Thread devzero2000
On Tue, Mar 25, 2014 at 8:46 AM, Paolo Supino wrote: > Hi > > Being lazy and forgetful a while ago I wrote a small bash shell script that > checks puppet manifests and ruby code embedded in templates. > > I'm posting it to the group in hope that others will find it useful and > suggest improvement

[Puppet Users] puppet manifest/template code validation

2014-03-25 Thread Paolo Supino
Hi Being lazy and forgetful a while ago I wrote a small bash shell script that checks puppet manifests and ruby code embedded in templates. I'm posting it to the group in hope that others will find it useful and suggest improvements... :-) Paolo -- You received this message because you ar