Re: [Puppet Users] Problem with Puppet reinstalling Windows APPs

2016-12-08 Thread Dirk Heinrichs
Am 08.12.2016 um 20:09 schrieb ratatapa:

> I have a package that install Adobe Reader DC on my nodes, the issue
> is that each time i run puppet agent -t it always reinstall Adobe Reader.
>
> Is there any way to tell puppet to ignore if program is already installed?

Yes. On Windows (and only on Windows), the resource title of a package
resource must match exactly what Windows shows in the "Name" column when
you open "Control Panel\All Control Panel Items\Programs and Features".
So in your case, it should look like

package { 'Adobe Acrobat Reader DC':
...
}

HTH...

Dirk
-- 
*Dirk Heinrichs* | Senior Systems Engineer, Delivery Pipeline
http://mimage.opentext.com/alt_content/binary/images/email-signature/recommind-ot.png

*Tel*: +49 2226 159666 (Ansage) 1149
*Email*: dirk.heinri...@recommind.com 
*Skype*: dirk.heinrichs.recommind

Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach

Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon
Davies, Roger Illing, Registergericht Amtsgericht Bonn, Registernummer
HRB 10646

This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den
Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie
die unbefugte Weitergabe dieser Mail sind nicht gestattet.





http://www.recommind.com

-- 
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 
https://groups.google.com/d/msgid/puppet-users/0fd20414-b62f-d3bb-c3e2-cb59d731282f%40recommind.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] Announce: New Puppet Training Schedule Now Available

2016-12-08 Thread Stephanie Stouck


We’ve just rolled out our new training schedule for in-person 
 and virtual 
 
training. Regardless of whether you’re just getting started with Puppet or 
an expert looking to advance your skills, we’ve got the course for you.

Seats fill up fast so register now  
or email train...@puppet.com to review your training options.

-- 
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 
https://groups.google.com/d/msgid/puppet-users/32a4651d-58ce-4a07-837f-ccc046f9eef8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] Problem with Puppet reinstalling Windows APPs

2016-12-08 Thread ratatapa
Hi everyone! new puppet user and i'm still learning, doing good atm but 
having a small issue

I have a package that install Adobe Reader DC on my nodes, the issue is 
that each time i run puppet agent -t it always reinstall Adobe Reader.

Is there any way to tell puppet to ignore if program is already installed?

-- 
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 
https://groups.google.com/d/msgid/puppet-users/8235428b-ef8a-4924-9614-54b5d3d5b242%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] Error "Could not find class ::tftp::params" while installing foreman_proxy

2016-12-08 Thread Sankara
Hi 

I am trying to install and configure foreman-proxy 1.12 (in one of the 
node, say compile master) using the module available at 
https://forge.puppet.com/theforeman/foreman_proxy/3.0.1/compatibility 

While running “puppet agent -t”  (to install and configure foreman-proxy) , 
I am getting the below error on my node. Can you please help me to find 
what could be the issue?

[root@poc-agent vagrant]# puppet agent -t --server=
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: 
Could not find class ::tftp::params for poc-agent.local on node 
poc-agent.local
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
[root@poc-agent vagrant]# 

=

What I have in my Puppetfile?

I have added the below line to download the module
mod 'theforeman/foreman_proxy', '3.0.1'

What I did in Foreman UI?
Imported the environment 
created a host group called sankara-foreman-proxy-test
assigned the class foreman_proxy to this host group
Assigned my node poc-agent to this host group

what I did in poc-agent node?
Logged into poc-agent and run the command “puppet agent -t 
--server=” 

Thanks
Sankara

-- 
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 
https://groups.google.com/d/msgid/puppet-users/e025b778-72c9-46a6-88ff-6110d22a919d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Error while installing/configuring foreman-proxy 1.12: Invalid parameter dns_realm on Class[Foreman_proxy]

2016-12-08 Thread Sankara
You are right, I had couple of parameters which is not in that module and 
caused the problem. Even after removing those parameters, the issue was not 
resolved because I had environment_timeout = unlimited and that did not 
flush my environment cache. To resolve that I changed the 
environment_timeout = 0 and restarted the puppetserver service.

Thank you for your help!

Now after fixing all those parameters I a got into different error. Since 
the new error is different, I will go ahead and create another topic.

Regards

Sankara

On Thursday, December 8, 2016 at 4:24:59 AM UTC-8, Greg Sutcliffe wrote:
>
> On 6 December 2016 at 19:40, Sankara  
> wrote:
> > While running “puppet agent -t”  (to install and configure 
> foreman-proxy) , I am getting the below error on my node. Can you please 
> help me to find what could be the issue?
> >
> > Error: Could not retrieve catalog from remote server: Error 400 on 
> SERVER: Invalid parameter dns_realm on Class[Foreman_proxy] at 
> /dev/modules/fmanproxy/manifests/config.pp:128 on node poc-agent.local
> > Warning: Not using cache on failed catalog
> > Error: Could not retrieve catalog; skipping run
>
> Looking at 
> https://github.com/theforeman/puppet-foreman_proxy/blob/master/manifests/init.pp
>  
> the $dns_realm parameter isn't exposed for configuration - it's only used 
> within params.pp to set $dns_tsig_principal (which *is* available in 
> init.pp). Feel free to submit a bug or even send a patch if you feel that 
> behaviour is wrong :)
>
> Cheers
> Greg
> --
> Greg Sutcliffe
> Community Lead, Foreman
> IRC: gwmngilfen
>

-- 
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 
https://groups.google.com/d/msgid/puppet-users/e64c8ed3-3fb5-4d26-b451-411f7d4fa3b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Error while installing/configuring foreman-proxy 1.12: Invalid parameter dns_realm on Class[Foreman_proxy]

2016-12-08 Thread Greg Sutcliffe
On 6 December 2016 at 19:40, Sankara  wrote:
> While running “puppet agent -t”  (to install and configure foreman-proxy)
, I am getting the below error on my node. Can you please help me to find
what could be the issue?
>
> Error: Could not retrieve catalog from remote server: Error 400 on
SERVER: Invalid parameter dns_realm on Class[Foreman_proxy] at
/dev/modules/fmanproxy/manifests/config.pp:128 on node poc-agent.local
> Warning: Not using cache on failed catalog
> Error: Could not retrieve catalog; skipping run

Looking at
https://github.com/theforeman/puppet-foreman_proxy/blob/master/manifests/init.pp
the $dns_realm parameter isn't exposed for configuration - it's only used
within params.pp to set $dns_tsig_principal (which *is* available in
init.pp). Feel free to submit a bug or even send a patch if you feel that
behaviour is wrong :)

Cheers
Greg
--
Greg Sutcliffe
Community Lead, Foreman
IRC: gwmngilfen

-- 
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 
https://groups.google.com/d/msgid/puppet-users/CAE%3D3ySCn1%2BVMGyGn-FD1JcwGKbZvNBo4vU7HdaYuSn1pt58k9A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] grafana

2016-12-08 Thread Arkadi Colson

Hi

Somebody managed to implement Collectd - InfluxDB - Grafana monitoring 
in an automated way? Collectd is not a problem but how to automate 
graphs addition in Grafana for new hosts based on roles?


Thx!
Arkadi

--
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 
https://groups.google.com/d/msgid/puppet-users/0df6ae70-097d-1886-46f6-c3412e05f0e6%40smartbit.be.
For more options, visit https://groups.google.com/d/optout.