Re: [Puppet Users] Difference between Puppet agent v. apply

2016-02-18 Thread Jeff Abrahamson
On Thursday, 18 February 2016 05:18:19 UTC+1, Henrik Lindberg wrote: > > On 18/02/16 02:10, warron.french wrote: > > Can someone please clearly explain why/when to use: > > puppet apply versus Puppet agent? > > > > puppet agent makes requests to the master - the master compiles the > catalog.

[Puppet Users] Re: Connecting to https://puppet:8140

2016-02-18 Thread Jeff Abrahamson
A final note on this: I wiped the host, reinitialized (because I'm at that stage of setting things up that this is reasonable and required test), and these problems went away. It bothers me that I don't understand how and why the certificates were messed up, but I suspect it had to do with my pla

[Puppet Users] SOA Infra getting skipped while RCU creation

2016-02-18 Thread meenu . singh13
Hello everyone, I am trying to create SOA BPEL domain and while running the puppet script, it is skipping creating the SOAINFRA schema. *Log* Info: rcu_status compare output NotFound with prefix DEVOHPBPEL Info: RCU present Info: rcu statement: /u01/oracle/product/fmw1213/oracle_common/bin

[Puppet Users] Re: Please explain need for multiple .ppm files in a single module

2016-02-18 Thread jcbollinger
On Wednesday, February 17, 2016 at 7:01:32 PM UTC-6, Warron French wrote: > > Where I work a great of the Puppet Modules employed are downloaded from > the Puppet Forge; however, some are created by my teammates. > > What I can't figure out is WHY are some modules written with multiple .pp > fi

[Puppet Users] Re: Difference between Puppet agent v. apply

2016-02-18 Thread jcbollinger
On Wednesday, February 17, 2016 at 7:10:29 PM UTC-6, Warron French wrote: > > Can someone please clearly explain why/when to use: > puppet apply versus Puppet agent? > Responding to your specific (mis)understandings: > I believe, but I want to be thoroughly corrected, the following: > 1. pu

Re: [Puppet Users] SOA Infra getting skipped while RCU creation

2016-02-18 Thread Lowe Schmidt
1. How do you run puppet? 2. Please show us the code for the puppet module you are using, and the profile/role you are using to configure the node. 3. The log does not seem to be related to Puppet, but to SOA BPEL, are you sure this is the log from Puppet? -- Lowe Schmidt | +46 723 867 157 On 18

Re: [Puppet Users] Difference between Puppet agent v. apply

2016-02-18 Thread warron.french
Henrik, that looks like the text straight of the man page, which is what I can't quite wrap my head around. I thought the purpose of the catalog is for telling the agent what modules it needs to pull to update its files to what is specified in the modules. -- Warron Frenc

Re: [Puppet Users] Difference between Puppet agent v. apply

2016-02-18 Thread Rich Burroughs
The agent does not pull modules in a master/agent setup. They are only on the master. The catalog contains the info that the agent needs to get its managed resources into the desired state. It's not a list of modules. Rich On Thu, Feb 18, 2016 at 12:31 PM warron.french wrote: > Henrik, that l

Re: [Puppet Users] Re: Difference between Puppet agent v. apply

2016-02-18 Thread warron.french
jcbollinger Rspec? I have never even heard of that, not even during my Puppet Training (in a classroom). That's interesting. Jcbollinger, I think your explanation has unclouded my understanding quite a bit - thank you. Also, my shop uses 'puppet agent -t' on the command line when we want to

Re: [Puppet Users] Difference between Puppet agent v. apply

2016-02-18 Thread warron.french
Hi Rich, thank you for the clarification. The more we discuss this, the more clear (granted slowly) it becomes for me. -- Warron French On Thu, Feb 18, 2016 at 3:36 PM, Rich Burroughs wrote: > The agent does not pull modules in a master/agent setup. They are only on >

Re: [Puppet Users] Connecting to https://puppet:8140

2016-02-18 Thread warron.french
Jeff, I think I ran into this last weekend while setting up my own Puppet Master. It truly sounds like the exact same issue. I believe I had to add an extra CNAME record for the name *puppet*, either that or I had to go and alter the *A-record * in my DNS from *puppetmaster *to *puppet*. ---

Re: [Puppet Users] Re: Please explain need for multiple .ppm files in a single module

2016-02-18 Thread warron.french
JCBollinger, in my training classes over the last 3 years, we always wrote modules with a single init.pp; that's why I am surprised. Thanks JC, -- Warron French On Thu, Feb 18, 2016 at 9:08 AM, jcbollinger wrote: > > > On Wednesday, February 17, 2016 at 7:01:32 PM UTC-

Re: [Puppet Users] Difference between Puppet agent v. apply

2016-02-18 Thread Rich Burroughs
They would not likely have covered Rspec in Puppet Fundamentals, if you took that. Rspec is a Ruby testing framework, and most of the Puppet testing tools out there are based on it. And I think your challenge you mention isn't uncommon. A lot of sysadmins can write scripts but don't have experienc

Re: [Puppet Users] Re: Please explain need for multiple .ppm files in a single module

2016-02-18 Thread Denmat
Here's what puppet docs say. https://docs.puppetlabs.com/puppet/latest/reference/modules_fundamentals.html#manifests One single .pp for complex modules are a nightmare. Better to separate into smaller chunks. > On 19 Feb 2016, at 07:51, warron.french wrote: > > JCBollinger, in my training clas

[Puppet Users] To namespace, or not to namespace, that is the question

2016-02-18 Thread Micah Anderson
Hello, puppet users Reviewing a friend's puppet module, puppet-lint shows he didn't use the explicit namespace on variables. He told me that he used the Style Guide[1] and the Beginner's Guide to Modules[2] which are a little unclear about the right way to do this, so I wanted to write to clari

Re: [Puppet Users] firewall module to accept array of sources/dests

2016-02-18 Thread Alex Harvey
On 14 February 2016 at 00:30, Felix Frank wrote: > > Sure, but I feel that this case is especially confusing. > > The user does not remove a resource from their manifest. They change a > parameter of one of their resources, which feels like changing a property > value for a proper resource. The fa