Re: [Puppet Users] Dependacies with Custom Types

2016-07-12 Thread Josh Cooper
On Tue, Jul 12, 2016 at 1:09 AM, wrote: > I had a look at the Zabbix module. I think it works there as the > dependency is in the provider rather than in the type. Having thought about > some more I think it's easier to just remove the dependency on that module. > > On Tuesday, 12 July 2016 00:07

[Puppet Users] Custom facts are updated in the next execution of "puppet agent --test"

2016-07-12 Thread Amrit Atmajit
Hi, I am using following code snippet in one of the init.pp file of puppet master to load the updated facts in "facts.yaml" available in "C:\marionette-collective\etc\" folder. file { "c:/marionette-collective/etc/facts.yaml": loglevel => debug, content => inline_template("

Re: [Puppet Users] Re: control-repo how to use the profile setup

2016-07-12 Thread Alex Samad
Thanks On 12 July 2016 at 18:23, Gavin Williams wrote: > Alex > > I've done something similar for managing Oracle Java installation... > > I've created a 'base::software::java' class [1] within a site 'base' module, > but you could equally do this in your profile I guess... > > As you can see fro

Re: [Puppet Users] Re: most idiomatic way to set resource defaults

2016-07-12 Thread Matt Zagrabelny
On Tue, Jul 12, 2016 at 3:28 PM, Matthew Pounsett wrote: > > > On Monday, 11 July 2016 10:31:45 UTC-4, R.I. Pienaar wrote: >> >> >> best avoid create_resources in puppet 4 :) > > > Why is that? I can't speak for R.I., but I believe puppet 4 has "first class" looping constructs. Thus, create_reso

Re: [Puppet Users] Re: most idiomatic way to set resource defaults

2016-07-12 Thread Matthew Pounsett
On Monday, 11 July 2016 10:31:45 UTC-4, R.I. Pienaar wrote: > > > best avoid create_resources in puppet 4 :) > Why is that? -- 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, s

Re: [Puppet Users] Re: Augtool installation

2016-07-12 Thread jiminfotechnologist
Hi Shrawan, How about you remove 1.0.0 version completely and install 1.5.0. You can uninstall any package in redhat/centos by yum remove I'm hoping that this is not a production neither development but your own VM ! :) Cheers, Jim On Tuesday, July 12, 2016 at 7:37:54 PM UTC+10, Shrawan Bhagw

[Puppet Users] puppetdb general questions

2016-07-12 Thread dkoleary
Hey, all; I've come to the point where i need to install puppetdb in my opensource puppet server 4.5 implementation. Although the use of exported resources is on the scope, the two immediate use cases that I'm looking for are: - puppet node status - Use of a dashboard yet TBD I looked

Re: [Puppet Users] encrypting hiera data?

2016-07-12 Thread Simon Hönscheid
Hi Doug, hiera-eyaml or trocla (random generation and storage backend(use mysql)) are your friends. If you just want to encrypt hiera data try hiera-eyaml. I prefer the gpg backend. Kind Regards Simon Am 08.07.16 um 15:29 schrieb dkoleary: Hey; I've come to the point where I need to encry

Re: [Puppet Users] Custom facts are updated in the next execution of "puppet agent --test"

2016-07-12 Thread Rob Nelson
Amrit, since you are deploying it as a file resource, it has to be deployed to the agent before it will be used. You could instead add the fact to your module, where plugin sync will push it to the agent before it collects facts, which means it is there on the first facts run. See https://docs.pupp

Re: [Puppet Users] Re: Augtool installation

2016-07-12 Thread Shrawan Bhagwat
Hi David, Waiting for you response. :) Regards, Shrawan On Friday, 1 July 2016 19:36:47 UTC+5:30, Shrawan Bhagwat wrote: > > Hi David, > > Thanks for you response :) > > I have had downloaded puppet agent following that guide. but still i am > getting the same error. > > I have installed ruby-a

Re: [Puppet Users] Re: control-repo how to use the profile setup

2016-07-12 Thread Gavin Williams
Alex I've done something similar for managing Oracle Java installation... I've created a 'base::software::java' class [1] within a site 'base' module, but you could equally do this in your profile I guess... As you can see from the class, if the '$source' param starts with 'puppet', then it'

Re: [Puppet Users] Dependacies with Custom Types

2016-07-12 Thread apgriffiths79
I had a look at the Zabbix module. I think it works there as the dependency is in the provider rather than in the type. Having thought about some more I think it's easier to just remove the dependency on that module. On Tuesday, 12 July 2016 00:07:43 UTC+1, Rob Nelson wrote: > > I don't know the

[Puppet Users] Custom facts are updated in the next execution of "puppet agent --test"

2016-07-12 Thread Amrit Atmajit
Hi, I am using following code snippet in one of the init.pp file of puppet master to load the updated facts in "facts.yaml" available in "C:\marionette-collective\etc\" folder. file { "c:/marionette-collective/etc/facts.yaml": loglevel => debug, content => inline_template("<%= s

[Puppet Users] Re: puppet master status

2016-07-12 Thread jiminfotechnologist
I am wondering why you are using old puppet version when new one is much much better ? Just out of curiosity. The new puppet installation is remarkably easy. You just import the repo and install it with you or (apt). For apt you would need to run apt-get update though. Keen to hear from you.

[Puppet Users] Re: puppet agent

2016-07-12 Thread jiminfotechnologist
When you do puppet agent -t check out your puppetserver.log. Post the output from puppetserver.log file . Thanks Jim On Tuesday, July 12, 2016 at 8:06:39 AM UTC+10, Joaquin Henriquez wrote: > > Hi List > > Puppet agent (after puupet agent -t) is not sending th CSR to the Puppet > master: > > Ag

[Puppet Users] Not able to execute puppet cert list

2016-07-12 Thread jiminfotechnologist
Good Folks, Having an issue while executing puppet cert list a normal user it doesn't give me a list of outstanding pending certificates.. Please find below [jim@puppet ~]$ puppet cert list [jim@puppet ~]$ puppet cert list --all [jim@puppet ~]$ sudo puppet cert list --all [sudo]

[Puppet Users] Configuration changes not coming through.

2016-07-12 Thread jiminfotechnologist
Good Morning Friends, Last night I wrote some sample class and ran puppet agent -t on agent nodes including server. Interesting enough, changes did not come through on puppet server and one agent node both of them are on CentOS 6.8. Changes came through on the other two nodes which run CentOS 7