Re: [Puppet Users] fingerprint changes after puppet cert --sign

2015-02-19 Thread Peter Kristolaitis
This is expected behaviour. SSL certificate fingerprints are just the cryptographic hash of the entire cert, including the signing info if present.The hash of an unsigned cert is necessarily different than the hash of a signed cert, because they contain different information. On 2/20/201

[Puppet Users] fingerprint changes after puppet cert --sign

2015-02-19 Thread Tejas Gadaria
Hi, I have an issue where my cert finger prints changes after I sign it on the master. I removed all certs from master and deleted /var/lib/puppet/ssl stopped and started puppet master service. Later on client Stopped agent service and removed ssl directory, started puppet agent service and run

[Puppet Users] Puppet

2015-02-19 Thread Chetan Singh
Hi All, I am new to this product. Could anyone provide with some guide on how to build a puppet in my production environment. I also have a satellite server 6 in place. Thanks Chetan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubsc

Re: [Puppet Users] Solaris package installation unattended does not work

2015-02-19 Thread John Warburton
You need an admin(4) file to set some defaults to questions like this. Here's mine % tail -15 modules/base/files/var/sadm/install/admin/puppet # Notes: * man -s 4 admin # * default pkgadd admin file to just install everything # * quit rather than carry on like /var/

[Puppet Users] Re: Newbie got cart before horse - how to make Puppet files match reality

2015-02-19 Thread Juan Treminio
Hi y'all! I'm guessing it may have been a good idea to join this group a while ago. jcbollinger - you're right in that PuPHPet has changed drastically since your original archive was created. Previously, everything was throwing into a single manifest.pp - even for things you may not have chose

Re: [Puppet Users] Re: asking a question a different way

2015-02-19 Thread Peter Berghold
On Thu, Feb 19, 2015 at 11:49 AM, David Bryant-Moore < david.bmo...@puppetlabs.com> wrote: > > > Typically, the MoM will host the CA function for the second tier Masters, > but this isn't an explicit constraint of the model > > > This was the piece I was missing and another answer I got said the s

Re: [Puppet Users] Continuous Availability

2015-02-19 Thread James A. Peltier
- Original Message - | I am trying to setup CA environment or puppet. How do i approach for the | solution and what are the options available? | Thank you in advance. Perhaps you're mixing two technologies? High Availability and Continuous Integration/Delivery/Deployment? -- James

[Puppet Users] Re: Possible to include subdirectories of modules?

2015-02-19 Thread David Bryant-Moore
Hi Antonias. The way you would implement the pattern you want is to use Puppet namespacing. To explain this using your example code below, your directory structure would need to change to: modules/configuration/manifests/git And your include statement would change to: include configuration::

[Puppet Users] Re: asking a question a different way

2015-02-19 Thread David Bryant-Moore
Hi Peter - it's absolutely fine to have a 'Master of Masters.' All you need to do to implement this is to set the server directive in your second tier Masters to point to your Master of Masters. Your agents, per datacentre, will point to their datacentre Master, and have no knowledge of the Mast

Re: [Puppet Users] Possible to include subdirectories in modules

2015-02-19 Thread Peter Kristolaitis
You can't do exactly what you have below, but there is similar functionality built into the module architecture. See: https://docs.puppetlabs.com/puppet/latest/reference/modules_fundamentals.html#example So your .pp file would be named modules/configuration/manifests/git.pp And the module na

[Puppet Users] Puppet AWS basic issue

2015-02-19 Thread Ghh
any pointers? please. -- 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-users+unsubscr...@googlegroups.com. To view this discussion on the web visit ht

[Puppet Users] Re: Weird puppetmaster issue.

2015-02-19 Thread jcbollinger
On Wednesday, February 18, 2015 at 2:12:43 PM UTC-6, Salty Old Cowdawg wrote: > > I've been banging my head against the wall with this one. Probably a > simple fix but I'm not seeing it at the moment. > > I have a proof of concept setup in our lab where I have a central > Foreman/Puppet serve

Re: [Puppet Users] Continuous Availability

2015-02-19 Thread Christopher Wood
I'm not up on the latest fashionable buzzwords, possibly this might be useful: https://docs.puppetlabs.com/guides/scaling_multiple_masters.html On Wed, Feb 18, 2015 at 09:54:47PM -0800, Rajesh Kunwar wrote: >I am trying to setup CA environment or puppet. How do i approach for the >solutio

[Puppet Users] Solaris package installation unattended does not work

2015-02-19 Thread Andreas Dvorak
Dear all I am trying to install a Solaris package but it does work. Puppet uses -n to run unattended, but interaction is required. package{'CSWpkgutil': ensure => installed, source => "http://sv2653/repo/solaris/CSWpkgutil-${::hardwareisa}.pkg";, } Error message: Execution

[Puppet Users] asking a question a different way

2015-02-19 Thread Peter Berghold
is it possible for one puppet master to be managed by another? Ascii art to illustrate what I mean: Puppet Grand Master / | \ Master1 master2master3 clients:1 clients:2clients:3 My goal i

[Puppet Users] Possible to include subdirectories in modules

2015-02-19 Thread tuner
Hello, i want to include subdirectories of modules/-path, e.g. cat modules/*configuration/git*/manifests/init.pp class git { if $::osfamily == 'redhat' { package { 'git': ensure => present, } } } And then include with something like: cat manifests/site/git.pp

[Puppet Users] Possible to include subdirectories of modules?

2015-02-19 Thread Antonios Dimtsoudis
Hello, i want to include subdirectories of modules, for example something like: cat modules/*configuration/git*/manifests/init.pp class git { if $::osfamily == 'redhat' { package { 'git': ensure => present, } } } And then include git like: cat manifests/site/

[Puppet Users] Puppet AWS basic issue

2015-02-19 Thread Ghh
Experts: I have set up the AWS key id and access key in .fog file while I run some basic commands like * puppet node_aws list -region=us-west-2* I get no outputs of the EC2 instances , just comes back to the prompt, but I am running already now When I execute the same command, I get the er

[Puppet Users] Re: Puppet directory environments mysteriously breaking -- help?

2015-02-19 Thread Johan De Wit
For the record, Got the same error, I solved it by adding the following to my puppet.conf : server = De default (puppet) was not resolvable in my environment Grts On Wednesday, 29 October 2014 14:32:25 UTC+1, jcbollinger wrote: > > > > On Wednesday, October 29, 2014 8:31:12 AM UTC-5, jcboll

Re: [Puppet Users] Design help: django deployment

2015-02-19 Thread Jonathan Gazeley
On 18/02/15 21:05, Pete Brown wrote: If you can't find anything decent I would see that as an opportunity to add your resulting module to puppet forge. :) Indeed :) I couldn't find anything quite suitable so I started work on a basic module. https://forge.puppetlabs.com/jgazeley/django Chee

Re: [Puppet Users] My puppet code is not idempotent (Windows package provider)

2015-02-19 Thread cko
I installed the package manually and used "puppet resource package" to determine the exact package name. But I just found out that Puppet *doesn't install the package* at all *unless* I run puppet manually via "puppet agent -t". The report says otherwise. The Puppet service on the nodes runs a

Re: [Puppet Users] My puppet code is not idempotent (Windows package provider)

2015-02-19 Thread Dirk Heinrichs
Am 19.02.2015 um 10:29 schrieb cko: > But on every puppet run, the "package" resource gets applied. Example > tagmail output: > > /Thu Feb 19 09:48:28 +0100 2015 /Stage[main]/[ .. module > ]/Package[signotec WinUSB]/ensure (notice): created > Thu Feb 19 10:16:59 +0100 2015 /Stage[main]/[ .. module

[Puppet Users] My puppet code is not idempotent (Windows package provider)

2015-02-19 Thread cko
Hi everyone, I'm using the following manifest to deploy a driver package (and its certificate) to about 150 Windows Server 2008 R2 nodes. https://gist.github.com/anonymous/1cbaa90e1d0497ebaeb3 The "file" and "exec" resources are applied successfully and only once. But on every puppet run, the

Re: [Puppet Users] using heredoc in an erb template with hiera

2015-02-19 Thread Angel L. Mateo
El 18/02/15 a las 19:08, Mark Rosedale escribió: Hello, I'm using hiera with puppet 3.7. What I need to do is pass in a formatted string to puppet to be used inside an erb template. What I'd really like is to use heredoc, but it doesn't seem like that is going to work. Does anyone have informati

Re: [Puppet Users] Continuous Availability

2015-02-19 Thread Johan De Wit
you can start here : https://docs.puppetlabs.com/guides/scaling_multiple_masters.html try also : http://bit.ly/1FwNZbK hth johan On 19/02/15 06:54, Rajesh Kunwar wrote: I am trying to setup CA environment or puppet. How do i approach for the solution and what are the options available? Tha