Re: [Puppet Users] Re: Could not evaluate: Could not retrieve information from environment production source(s) for one module, for other is ok

2014-07-28 Thread Juan Sierra Pons
Hi I think you have missed a r in the $puppetserver variable name puppet://$puppetserve/modules/ntp/etc/ntp.conf ^ Best regards -- Juan Sierra Pons

[Puppet Users] Re: scheduling refresh event BEFORE dependent object

2014-07-28 Thread Dimitris Stafylarakis
Hi people, thanks for your replies. My actual case is *run apt-get update before upgrading a package*. So I have packages in my own repository and I'm managing them through puppet on the production server. I want to be able to set a specific version number and have puppet install the right vers

Re: [Puppet Users] Could not retrieve information from environment production source

2014-07-28 Thread jcbollinger
On Saturday, July 26, 2014 3:51:44 PM UTC-5, Shawn Miller wrote: > > Mine is that way- > /etc/puppet/modules/sudo/files/sudoers > # cat modules/sudo/manifests/init.pp > class sudo { > package { sudo: > ensure => present, > } > if $operatingsystem == "Ubuntu" { > package { "sudo-ldap": > ensure =>

Re: [Puppet Users] Re: scheduling refresh event BEFORE dependent object

2014-07-28 Thread Christopher Wood
On Mon, Jul 28, 2014 at 06:56:08AM -0700, Dimitris Stafylarakis wrote: >Hi people, > >thanks for your replies. My actual case is run apt-get update before >upgrading a package. So I have packages in my own repository and I'm >managing them through puppet on the production server. I

[Puppet Users] Puppet Dashboard 1.2.23 disable link in Main html page

2014-07-28 Thread GregC
Can someone point me to a way to disable the Puppet Dashboard Version link in the top left corner of the main page? Is there a possible way to do this through settings.yml file? The reason I need to do this is that we have no internet access and clicking on the link attempts to connect to git

[Puppet Users] Re: Facter doesnt resolve ipaddress or ipaddress_eth0

2014-07-28 Thread Joao Morais
List, just to document the solution. My CentOS was localized and facter couldn't parse de output properly. Changing the locale to en_US solves this issue. Joao Morais Em quinta-feira, 26 de junho de 2014 14h25min27s UTC-3, Joao Morais escreveu: > > > Hello list. I am trying to read the IP ad

Re: [Puppet Users] Re: Puppet module for Windows 2012 SNMP Service

2014-07-28 Thread Rob Reynolds
On Wed, Jul 23, 2014 at 9:57 AM, Matt Shields wrote: > Hmm, ok. Guess it's time to figure out how WinRM works and if Puppet can > configure it. > I believe it could. A quick search on the forge didn't turn up any existing module. However a search on github turned up https://github.com/nanliu/pu

[Puppet Users] issue understanding site modules

2014-07-28 Thread Wijnand Wiersma
Hi all, I am a bit in distress right now. I have to replicate a dead puppet server on a new server. I have all hiera files and manifests etc in git but I am not able to get a new puppet server to compile catalogs. The old server was 3.4 and the new server is 3.6.2 with directory environments en

[Puppet Users] increasing frequency of puppet agent runs during initial deployment?

2014-07-28 Thread markbergman . gm
I'm beginning to use Puppet, and I'm looking for suggestions for the best way to have 'puppet agent' run very frequently during the initial deployment phase on a new server. In our environment, there's one local puppet module that's called in the 'post' stage. This module essentially depends on al

Re: [Puppet Users] increasing frequency of puppet agent runs during initial deployment?

2014-07-28 Thread Christopher Wood
On Mon, Jul 28, 2014 at 12:53:03PM -0400, markbergman...@gmail.com wrote: > I'm beginning to use Puppet, and I'm looking for suggestions for the > best way to have 'puppet agent' run very frequently during the initial > deployment phase on a new server. > > In our environment, there's one local pu

Re: [Puppet Users] issue understanding site modules

2014-07-28 Thread Christopher Wood
On Mon, Jul 28, 2014 at 11:54:34AM -0700, Wijnand Wiersma wrote: >Hi all, >I am a bit in distress right now. I have to replicate a dead puppet server >on a new server. I have all hiera files and manifests etc in git but I am >not able to get a new puppet server to compile catalogs.

Re: [Puppet Users] increasing frequency of puppet agent runs during initial deployment?

2014-07-28 Thread Christopher Wood
On Mon, Jul 28, 2014 at 03:20:04PM -0400, Christopher Wood wrote: (Hm, true/false reversed here. Test first!) > if str2bool($::donefact) { > $minute = '*' > } > else { > $minute = '30' > } -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To

Re: [Puppet Users] Re: Facter doesnt resolve ipaddress or ipaddress_eth0

2014-07-28 Thread Robin Bowes
Hmm, I find that hard to believe, ie. that's a pretty massive and fundamental bug in facter if that is indeed the case. Can you reproduce on other boxes? R. On 28 July 2014 19:19, Joao Morais wrote: > > List, just to document the solution. My CentOS was localized and facter > couldn't parse d

Re: [Puppet Users] issue understanding site modules

2014-07-28 Thread Denmat
You might like to read this: http://docs.puppetlabs.com/puppet/latest/reference/config_file_environment.html Also this: http://docs.puppetlabs.com/puppet/latest/reference/environments.html If you provide relevant puppet master puppet.conf and directory structure we may be able to help further. T

Re: [Puppet Users] Re: Facter doesnt resolve ipaddress or ipaddress_eth0

2014-07-28 Thread Joao Morais
Em 28/07/14 16:34, Robin Bowes escreveu: Hmm, I find that hard to believe, ie. that's a pretty massive and fundamental bug in facter if that is indeed the case. Perhaps I have a not-so-common use case? I'm manually running (local rundeck) puppet agent in my tests via ssh. Ssh was sending my l

[Puppet Users] Hiera/Puppet: How to handle different versions of applications in multiple environments?

2014-07-28 Thread Devminded
Hello everybody. I'm a developer new to puppet and are working with a complex system made up of several subsystems. We have regulatory requirements which forces us to have several production environments (at-least one per jurisdiction). This is causing us some pains. The main problem is that t

Re: [Puppet Users] Re: scheduling refresh event BEFORE dependent object

2014-07-28 Thread Pete Brown
On 28 Jul 2014 23:56, "Dimitris Stafylarakis" wrote: > > Hi people, > > thanks for your replies. My actual case is run apt-get update before upgrading a package. So I have packages in my own repository and I'm managing them through puppet on the production server. I want to be able to set a specif

[Puppet Users] undefined method `include?' for nil:NilClass

2014-07-28 Thread Peter Romfeld
Hi, I get the following error: # puppet agent --trace -t info: Retrieving plugin info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb info: Loading f

[Puppet Users] Re: Puppet Dashboard 1.2.23 disable link in Main html page

2014-07-28 Thread Stefan Heijmans
config/initializers/app_version_init.rb Sets the URL based on VERSION file app/views/shared/_global_nav.html.haml Think that this is the html page -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop rece

Re: [Puppet Users] issue understanding site modules

2014-07-28 Thread Wijnand Wiersma
Hi, thank you for the responses. I should have pasted the relevant configs instead of pointing to somewhere externally. Some more information: /etc/puppet/puppet.conf [main] logdir=/var/log/puppet vardir=/var/lib/puppet ssldir=/var/lib/puppet/ssl rundir=/var/run/puppet factpath=$vardir/lib/fact