Re: [Puppet Users] librarian-puppet vs R10K

2016-01-28 Thread Christopher Wood
The requirement to "deploy code in complex ways" sounds like an "enterprise" thing. On the one hand, these companies may have few spare cycles for synchronizing configurations across disparate customer-facing products. On the other hand, there can be certain strategically important environments

[Puppet Users] Re: Making a "role" fact work

2016-01-28 Thread Gavin Williams
Gareth I've been working through the same issue internally here for a new Cloud based platform, and came up with the solution of pre-loading the machine with the role at the point the machine is provisioned. Then when it first checks in with Puppet it's already for the fact present... Might

[Puppet Users] Making a "role" fact work

2016-01-28 Thread gareth . humphries . ig
Hi All, I'm trying to add a new fact to puppet, which is the role the host has - I'm using the popular roles/profiles methodology, so all nodes have exactly one role:: class. I want to get the into a fact. I've managed to get it working easily enough, but either not automatically or only on

Re: [Puppet Users] Error: Cannot start Windows Service. Access denied

2016-01-28 Thread Josh Cooper
On Thu, Jan 28, 2016 at 6:48 AM, Alex M wrote: > Hi, > i have Puppet v3.7.2 and same agent on Windows Server 2012 R2. > Now i'm training to maintain Windows Services. For that i created new > manifest: > > # cat /etc/puppet/modules/disablesmb/manifests/init.pp >

[Puppet Users] Hiera subkeys lookup should be configurable

2016-01-28 Thread Adrian Muraru
Hi guys, Hiera 3 apparently breaks old yaml configuration where keys are containing "." char. I filed https://tickets.puppetlabs.com/browse/HI-496. Is it just me seeing this issue? thanks, adrian -- You received this message because you are subscribed to the Google Groups "Puppet Users"

Re: [Puppet Users] Error: Cannot start Windows Service. Access denied

2016-01-28 Thread Alex M
but when run as Administrator i receive an error: C:\>puppet agent -t Info: Caching certificate for test1.domain.company.com Error: Could not request certificate: The certificate retrieved from the master does not match the agent's private key. Certificate fingerprint:

Re: [Puppet Users] librarian-puppet vs R10K

2016-01-28 Thread Steve Traylen
On Thu, 2016-01-28 at 06:40 -0800, Alex Harvey wrote: > Hi all, > > I am interested in the future of the Librarian-puppet project - to > find out how many people are still using it, and if there are people > out there who actually prefer it over R10K. > There's another one to consider

Re: [Puppet Users] librarian-puppet vs R10K

2016-01-28 Thread Garrett Honeycutt
On 1/28/16 9:40 AM, Alex Harvey wrote: > Hi all, > > I am interested in the future of the Librarian-puppet project - to find > out how many people are still using it, and if there are people out > there who actually prefer it over R10K. > > I recently looked into R10K for a few projects I was

Re: [Puppet Users] Re: Puppet x64 msi not installing files

2016-01-28 Thread Bjoern Meier
hi, I didn't suggest anything like this. Take a virtuell machine, try to install without UAC. By the way: if you think turning off UAC just for an admin-install is a security issue, then: there are other issues as well. So, if you get install puppet without UAC, you have the choice: turning

Re: [Puppet Users] Re: Puppet x64 msi not installing files

2016-01-28 Thread Bjoern Meier
hi, I didn't suggest anything like this. Take a virtuell machine, try to install without UAC. By the way: if you think turning off UAC just for an admin-install is a security issue, then: there are other issues as well. So, if you get install puppet without UAC, you have the coice: turning UAC

Re: [Puppet Users] How to install tomcat silenlty using puppet on Windows 7

2016-01-28 Thread Maruti Gangumolu
Thanks Dirk! It worked. I'm still facing with module class file. When I'm invoking site.pp -> nodes.pp -> init.pp manifest files I'm getting an error that apache class is not found. Could you please help me with it? # Manage apache tomcat v8 application server class apache { package {

Re: [Puppet Users] librarian-puppet vs R10K

2016-01-28 Thread Alex Harvey
On Friday, January 29, 2016 at 2:31:14 AM UTC+11, Steve Traylen wrote: > > > There's another one to consider > https://github.com/cernops/jens > it recently got an update to accept hook calls from gitlab. We get > our git pushes deployed in 0.4s now. > Thanks I'll keep it in mind! > > --

[Puppet Users] librarian-puppet vs R10K

2016-01-28 Thread Alex Harvey
Hi all, I am interested in the future of the Librarian-puppet project - to find out how many people are still using it, and if there are people out there who actually prefer it over R10K. I recently looked into R10K for a few projects I was working on, and I found it to be surprisingly

[Puppet Users] New Docker module features, compose and network

2016-01-28 Thread Gareth Rushgrove
Hi All I've just added a couple of features to the Puppet Docker module, specifically to use Docker Compose alongside Puppet and to configure Docker networks. https://github.com/garethr/garethr-docker#networks https://github.com/garethr/garethr-docker#compose Thanks to Scott Coulton for some of

Re: [Puppet Users] librarian-puppet vs R10K

2016-01-28 Thread Alex Harvey
On Friday, January 29, 2016 at 6:15:41 AM UTC+11, Garrett Honeycutt wrote: > > > Hi Alex, > > I generally implement both for customers. Though I use Dan Bode's > librarian-puppet-simple which purposely does not handle dependencies. I > spoke at a couple Puppet Camp's regarding dealing with

[Puppet Users] Re: Making a "role" fact work

2016-01-28 Thread Gareth Humphries
Follow-up - I've managed to extract the node definition which includes the top level classes ("settings" and "role") - I'm presently working on how to extract the data I need from that. I lookup the node with: node=Puppet::Node.indirection.find( lookupvar('fqdn') ) Which works, and if i pp()

Re: [Puppet Users] Warning: Local environment: "production" doesn't match server specified node environment

2016-01-28 Thread Matt Zagrabelny
Hi Alfredo, Thanks for the reply. On Wed, Jan 27, 2016 at 4:47 PM, Alfredo De Luca wrote: > Hi Matt. > AFAIK production is the default environment assigned to all the nodes. Sure. > try > puppet config print environment Yep, production: # puppet config print

[Puppet Users] Error: Cannot start Windows Service. Access denied

2016-01-28 Thread Alex M
Hi, i have Puppet v3.7.2 and same agent on Windows Server 2012 R2. Now i'm training to maintain Windows Services. For that i created new manifest: # cat /etc/puppet/modules/disablesmb/manifests/init.pp class disablesmb { service { 'Audiosrv': ensure => running,