Re: [Puppet Users] How does Puppet Push Model works

2016-08-16 Thread Dirk Heinrichs
Am 17.08.2016 um 05:14 schrieb megha sharma: > How does puppet push model works for application deployment. It should > be done in such a way that deployment happens only when required and > the same should be initiated from puppet master. It's not really push. Puppet agent runs on each node and

[Puppet Users] How does Puppet Push Model works

2016-08-16 Thread megha sharma
Hello, How does puppet push model works for application deployment. It should be done in such a way that deployment happens only when required and the same should be initiated from puppet master. Thanks, Megha -- You received this message because you are subscribed to the Google Groups

[Puppet Users] Re: how to ensure LVM created before installing postgres

2016-08-16 Thread Alex Samad
HI So got this to work volume_group { 'vg_pgdata': ensure => present, physical_volumes => '/dev/sdc1' } logical_volume { 'lv_pgdata92': ensure => present, volume_group => 'vg_pgdata', require => Volume_Group['vg_pgdata'], } Also found out that

[Puppet Users] Re: how to ensure LVM created before installing postgres

2016-08-16 Thread Alex Samad
Hi Just tried this logical_volume { 'lv_pgdata92': ensure => present, volume_group => 'vg_pgdata', requires => volume_group { 'vg_pgdata': ensure => present, physical_volumes => '/dev/sdc1' } Got this Error: Could not retrieve catalog from

[Puppet Users] Noop metaparameter in class not working as expected

2016-08-16 Thread Julio Guevara
All puppet agent have on puppet.conf noop = true I need to make sure that some classes (like the class that configure the puppet-agents or mcollective) can run regardless of noop setting. Following documentation for puppet 4.5.3 i found that

[Puppet Users] Re: how to ensure LVM created before installing postgres

2016-08-16 Thread Alex Samad
Okay that sounds okay, how do I add fatal call to it to stop it processing any more Alex On Tuesday, 16 August 2016 17:53:33 UTC+10, Gavin Williams wrote: > > Alex > > You're looking for 'Requires' - See > https://docs.puppet.com/puppet/latest/reference/lang_relationships.html > > Basically,

Re: [Puppet Users] R10k Deploy single module first time

2016-08-16 Thread Christopher Wood
You can incrementally check r10k syntax with: r10k r10k deploy (etc.) In your case maybe one of these? Try it and see, I never use these. r10k deploy module modulename r10k deploy module --environment myenv modulename On Tue, Aug 16, 2016 at 08:14:14AM -0700, broncosd183 wrote: >Hello, >

[Puppet Users] R10k Deploy single module first time

2016-08-16 Thread broncosd183
Hello, Is there a way to deploy a single module from a puppetfile the first time it is added to an environment's puppetfile without deploying other modules? Normally when we add a module from the forge or git we add it to the puppetfile and then run r10k deploy environment -pv. That deploys

Re: [Puppet Users] variable scoping and erb templates

2016-08-16 Thread R.I.Pienaar
- Original Message - > From: "Matt Zagrabelny" > To: "puppet-users" > Sent: Tuesday, 16 August, 2016 15:07:28 > Subject: Re: [Puppet Users] variable scoping and erb templates > On Tue, Aug 16, 2016 at 8:04 AM, jcbollinger

[Puppet Users] Re: Puppet Without Agent

2016-08-16 Thread jcbollinger
On Monday, August 15, 2016 at 8:41:04 AM UTC-5, guilherme...@netbr.com.br wrote: > > Hi guys, > > I wonder if I can use the Puppet without agent. I only need the Puppet > connect on some servers through SSH and run some command lines. > > Do you know if Puppet do this? > > Puppet will not

Re: [Puppet Users] variable scoping and erb templates

2016-08-16 Thread Matt Zagrabelny
On Tue, Aug 16, 2016 at 8:04 AM, jcbollinger wrote: >> >> On Tue, Aug 16, 2016 at 1:31 AM, Lowe Schmidt wrote: >> > What version of Puppet are you running? >> >> Debian Jessie: >> >> 3.7.2-4 >> > > > That looks like bug PUP-1220. Note that

Re: [Puppet Users] variable scoping and erb templates

2016-08-16 Thread jcbollinger
On Tuesday, August 16, 2016 at 7:06:28 AM UTC-5, Matt Zagrabelny wrote: > > Hi Lowe, > > On Tue, Aug 16, 2016 at 1:31 AM, Lowe Schmidt > wrote: > > What version of Puppet are you running? > > Debian Jessie: > > 3.7.2-4 > > That looks like bug PUP-1220

Re: [Puppet Users] variable scoping and erb templates

2016-08-16 Thread Matt Zagrabelny
Hi Lowe, On Tue, Aug 16, 2016 at 1:31 AM, Lowe Schmidt wrote: > What version of Puppet are you running? Debian Jessie: 3.7.2-4 -m > -- > Lowe Schmidt | +46 723 867 157 > > On 15 August 2016 at 20:48, Matt Zagrabelny wrote: >> >> Greetings! >> >> I am

Re: [Puppet Users] Can I include hieradata in my puppet repo?

2016-08-16 Thread Rob Nelson
Including hieradata in your controlrepo is a common practice recommended now by Puppet. See http://garylarizza.com/blog/2015/11/16/workflows-evolved-even-besterer-practices/ for an explanation of why and https://github.com/puppetlabs/control-repo for an example layout. Rob Nelson

[Puppet Users] Can I include hieradata in my puppet repo?

2016-08-16 Thread Pubudu Gunatilaka
Hi, I am using hieradata with puppet modules. Can I include hieradata in my puppet module repository? I can use a .pmtignore file and exclude hieradata from bundling to the puppet module. What is the best practise? Thank you! -- You received this message because you are subscribed to the

[Puppet Users] Re: how to ensure LVM created before installing postgres

2016-08-16 Thread Gavin Williams
Alex You're looking for 'Requires' - See https://docs.puppet.com/puppet/latest/reference/lang_relationships.html Basically, you can add "requires => Logical_Volume['lv_pgdata']" to the 'postgresql::server' class, and if the Logical_Volume resource fails for whatever reason, then the

Re: [Puppet Users] variable scoping and erb templates

2016-08-16 Thread Lowe Schmidt
What version of Puppet are you running? -- Lowe Schmidt | +46 723 867 157 On 15 August 2016 at 20:48, Matt Zagrabelny wrote: > Greetings! > > I am hitting a curious question and couldn't find an answer. > > I can access variables from other classes when using an erb