Re: [Puppet Users] Puppet Template for controlling puppet nodes puppet.conf file help

2014-08-08 Thread Matthias Saou
Hi,

What I'd recommend is the following in your puppet manifest just
before the template() call to your file :

$fqdn = downcase($::fqdn)

...and that's it. You will need to puppetlabs-stdlib module.

The other solution is to use ruby inside your erb template, with this
as the first line of the file for example :

<% fqdn = scope.lookupvar('::fqdn').downcase -%>

Then use "fqdn" (the local ruby variable) instead of "@fqdn" (the
puppet variable) in your <%= fqdn %>.

Matthias

On Thu, 7 Aug 2014 09:09:44 -0700 (PDT)
Linwood Johnson  wrote:

> I have created a module for my environment that would control the
> content and formatting of the puppet.conf file on my nodes however I
> have ran into a problem with this.  The problem is, I have a few
> servers out in my environment that was built with their hostnames in
> all caps. What happens is that when I first connected them to the
> puppet master and they created their certs everything is in lower
> case but when the puppet.conf controlling module is applied to the
> server, the certname in the puppet.conf file on the node gets changed
> to the All Caps name which brakes its communication to the puppet
> master. For application reasons I can't change the hostname from All
> Caps back to lower case so how can I modify my template so that it
> would populate the certname with the FQDN in lower case letters?
>  
> So for example:
>  
> The certname in the puppet.conf file is helpme.puppethelp.com but
> when my module is applied it changes the certname to
> HELPME.puppethelp.com  - I know that with the <%= fqdn %> variable,
> this is getting it from facter which is querying /etc/hosts
>  
>  
> Below is my templale for the puppet.conf file.
> [main]
> # The Puppet log directory.
> # The default value is '$vardir/log'.
> logdir = /var/log/puppet
> # Where Puppet PID files are kept.
> # The default value is '$vardir/run'.
> rundir = /var/run/puppet
> # Where SSL certificates are kept.
> # The default value is '$confdir/ssl'.
> ssldir = $vardir/ssl
> [agent]
> # The file in which puppetd stores a list of the classes
> # associated with the retrieved configuratiion.  Can be loaded in
> # the separate ``puppet`` executable using the ``--loadclasses``
> # option.
> # The default value is '$confdir/classes.txt'.
> classfile = $vardir/classes.txt
> # Where puppetd caches the local configuration.  An
> # extension indicating the cache format is added automatically.
> # The default value is '$confdir/localconfig'.
> localconfig = $vardir/localconfig
> certname = <%= fqdn %>
> server =  <%= puppetserver %>
> pluginsync = true
> report = true
> graph = true
>  
> Thanks for your help.
> 



-- 
Matthias Saou  ██  ██
 ██  ██
Web: http://matthias.saou.eu/  ██
Mail/XMPP:  matth...@saou.eu   ██  
   ██
GPG: 4096R/E755CC63██  ██  ██
 8D91 7E2E F048 9C9C 46AF  ██  ██  ██  ██
 21A9 7A51 7B82 E755 CC63  

-- 
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/20140808115141.11e53255%40r2d2.marmotte.net.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Puppet/yum fails to install old packages

2014-08-08 Thread Matthias Saou
Hi,

This seems like a problem in your yum repositories, or the rpm
packages they contain. On a clean system, without running any of this,
what does the following do? Does it work?

yum install postgresql92-9.2.8-1PGDG.rhel5

Because according to the output you've sent, yum doesn't find the
matching 'libs' package, yet it ends up on the system somehow in the
end...

Also, in that output, puppet says that the server 8.1.23-10.el5_10
package got installed, but it's not in your final "rpm -qa | grep
postgres" output, so I'm guessing you're not being completely honest
with us here :-)

Since many details are missing, it could be that you're enabling
multiple repositories with a wrong ordering, resulting in puppet not
finding all of the packages on the first run. If that's the case, have
a look at stages and make sure you manage your yum repo configuration
in once which is before 'main'.

Matthias

On Thu, 7 Aug 2014 07:31:19 -0700 (PDT)
Mark Rosedale  wrote:

> Hello,
> 
> So I'm specifying specific packages to install for some of my
> critical software. This is specifically related to centos/yum. When
> new packages are released I get errors when running puppet saying
> that yum has failed to install the specified package because a newer
> version is available, but the package does in fact install. Upon the
> second run it sees the correct version and the catalog runs cleanly. 
> 
> Example code. 
> 
> $postgresqlVersion = $::lsbdistrelease ? {
>   '5.10'=> "9.2.8-1PGDG.rhel5",
>   '6.5' => "9.2.8-1PGDG.rhel6",
>   default   => "9.2.8-1PGDG.rhel6",
> }
> 
> package { $packageList:
> ensure  => $postgresqlVersion,
>   }
> 
> The conflicting package is on centos5 The new version available 
> is 9.2.9-1PGDG.rhel5. First run we get errors like the following
> 
> Notice: 
> /Stage[main]/Postgresql::Install/Package[postgresql-server-8.1.23-10.el5_10]/ensure:
>  
> created
> Error: Could not update: Execution of '/usr/bin/yum -d 0 -e 0 -y
> install postgresql92-server-9.2.8-1PGDG.rhel5' returned 1: postgres
> ql92-9.2.8-1PGDG.rhel5.x86_64 from vivox-postgresql has depsolving
> problems --> Missing Dependency: postgresql92-libs =
> 9.2.8-1PGDG.rhel5 is needed by package
> postgresql92-9.2.8-1PGDG.rhel5.x86_64 (vivox-po stgresql)
> Error: Missing Dependency: postgresql92-libs = 9.2.8-1PGDG.rhel5 is
> needed by package postgresql92-9.2.8-1PGDG.rhel5.x86_64 (vivox-p
> ostgresql)
>  You could try using --skip-broken to work around the problem
>  You could try running: package-cleanup --problems
> package-cleanup --dupes
> rpm -Va --nofiles --nodigest
> Wrapped exception:
> Execution of '/usr/bin/yum -d 0 -e 0 -y install 
> postgresql92-server-9.2.8-1PGDG.rhel5' returned 1: 
> postgresql92-9.2.8-1PGDG.rhel5.x8
> 6_64 from vivox-postgresql has depsolving problems
> 
> I get this for all the postgres packages I'm trying to install,
> however, even with these errors if I check all of the packages have
> been installed. rpm -qa | grep postgres
> postgresql-libs-8.1.23-10.el5_10
> postgresql92-libs-9.2.8-1PGDG.rhel5
> postgresql-libs-8.1.23-10.el5_10
> postgresql92-9.2.8-1PGDG.rhel5
> 
> So on the second run everything that was missed, due to the errors,
> gets completed and I now have a clean run. 
> 
> My question is, is there a way to work around this so that puppet
> doesn't error out on the first run? 
> 
> Thanks,
> mjr
> 



-- 
Matthias Saou  ██  ██
 ██  ██
Web: http://matthias.saou.eu/  ██
Mail/XMPP:  matth...@saou.eu   ██  
   ██
GPG: 4096R/E755CC63██  ██  ██
 8D91 7E2E F048 9C9C 46AF  ██  ██  ██  ██
 21A9 7A51 7B82 E755 CC63  

-- 
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/20140808122216.5c7c0073%40r2d2.marmotte.net.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] CF3 to PE 3.3 - Hiera Question

2014-08-08 Thread Matthias Saou
Hi,

With hiera, you'll need to base all of your logic on fact values.
AFAIK, you can't directly use any regexps, but what you could do to
achieve to same goal is create a custom fact which would get assigned a
specific value if another fact matches a regexp.

Another other solution would be unconditionally include a class, and
have the logic inside that class, to include other classes based on
things like "if $::hostname =~ /^web\d+$/ { include '::foo' }".

Combine the ifs as much as you want, using intermediate booleans to
make things clearer...

HTH,
Matthias

On Wed, 6 Aug 2014 10:22:22 -0700 (PDT)
Tom Tucker  wrote:

> 
> I’m in the process of migrating from CFEngine 3 to PE 3.3 so please
> pardon me if my terminology is off.
> 
> With CFEngine I could build arrays, define a hostname regex  or
> define network segment variables to gain further control.  How do you
> do this with Hiera?
> 
> CFEngine Examples
> ###
> "web_regex" expression => classmatch("^web\d+$")
> "mail_servers_array" or => { mailA, mailB, mailC, someSYS, someSYS2}; 
> "DC1_DEV_NET" or => { ipv4_10_225_172 };
> "DC2_QA_NET" or => { ipv4_10_224_136 };
> 
> For example….
> If your hostname matches the “web_regex” and you reside in the
> DC2_QA_NET then do X, Y and Z.
> 
> Thanks in advance for your time and assistance.  
> 
> Tom
> 



-- 
Matthias Saou  ██  ██
 ██  ██
Web: http://matthias.saou.eu/  ██
Mail/XMPP:  matth...@saou.eu   ██  
   ██
GPG: 4096R/E755CC63██  ██  ██
 8D91 7E2E F048 9C9C 46AF  ██  ██  ██  ██
 21A9 7A51 7B82 E755 CC63  

-- 
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/20140808123306.132a29fe%40r2d2.marmotte.net.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] Newbie Question on Puppet

2014-08-08 Thread Ganesh Hariharan
Hi All,

I have installed Puppet Master and Puppet Agent in two different host 
machines running CentOS6.5

Generated SSL keys on the client, and exported to server...

I could see the agent name in the management console of the master

What are the next steps  to automate some simple tasks like Apache httpd 
server installation,or even bare minimum simple automation

TIA

G





-- 
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/53ca2a11-15dc-4c11-8520-041c379ee979%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Install MCollective -- What are the basic components?

2014-08-08 Thread R.I.Pienaar


- Original Message -
> From: "Stella" 
> To: puppet-users@googlegroups.com
> Cc: "christopher wood" 
> Sent: Thursday, August 7, 2014 3:22:29 PM
> Subject: Re: [Puppet Users] Install MCollective -- What are the basic 
> components?
> 
> It works as a charm!!! Many thanks to everyone!
> 
> Here is a summary of all the information I have collected about
> MCollective. Hope it will help other people around.
> 
> Overview of MCollective Components and Configuration
> https://docs.puppetlabs.com/mcollective/
> https://docs.puppetlabs.com/mcollective/overview_components.html
> 
> Use Module to install MCollective (recommended)
> https://forge.puppetlabs.com/puppetlabs/mcollective#beginning-with-mcollective
> 
> Standard MCollective Deployment
> 
> https://docs.puppetlabs.com/mcollective/deploy/standard.html
> 
> How to install MCollective manually
> http://www.slideshare.net/johandw/bpug-mcollective-20140624
> 
> Installer and doc about each mco plugin
> http://projects.puppetlabs.com/projects/mcollective-plugins/wiki
> http://yum.puppetlabs.com/el/6.5/products/x86_64/
> 
> how to use mco command:
> http://www.devco.net/archives/2013/02/03/managing-puppet-using-mcollective.php
> https://docs.puppetlabs.com/mcollective/deploy/standard.html

more complete usage guidelines for the CLI and so forth here:

https://docs.puppetlabs.com/mcollective/reference/basic/basic_cli_usage.html

-- 
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/900725164.974.1407443056795.JavaMail.zimbra%40devco.net.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] templates and virtual resources query

2014-08-08 Thread Jason Ball
Hi all,

I have a user collection via a custom virtual resource, this allows me to 
realize users based on their group memberships:

  Accounts <| unixgroups=="foo" |>

this works nicely as centralised authentication is not an option for this 
particular deployment. 

I now need to develop a template that controls access via an xml config 
file, the contents would depend on enumerating users in a given group 
similar to the 'realize' option, conceptually something like the following:

   <% @users.each do |user| -%>
  
  [... add conditional permissions ...]
  
   <% end -%>

While I'm aware I could explicitly list the users, being able to generate a 
value based off the 'realize' would be beneficial as it would allow for a 
single source of truth in my manifests.

Ideally I'm looking for:

   $users = Accounts <| unixgroups="foo" |>

or similar to pass to the template.


-- 
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/e065aae1-30d6-40eb-86fc-7d748f87f9c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Newbie Question on Puppet

2014-08-08 Thread Dan White
Give a look at this:

https://forge.puppetlabs.com/puppetlabs/apache

Good luck. Let the list know how it turns out. 

> On Aug 8, 2014, at 2:57 AM, Ganesh Hariharan  wrote:
> 
> Hi All,
> 
> I have installed Puppet Master and Puppet Agent in two different host 
> machines running CentOS6.5
> 
> Generated SSL keys on the client, and exported to server...
> 
> I could see the agent name in the management console of the master
> 
> What are the next steps  to automate some simple tasks like Apache httpd 
> server installation,or even bare minimum simple automation
> 
> TIA
> 
> G
> 
> 
> 
> 
> 
> -- 
> 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/53ca2a11-15dc-4c11-8520-041c379ee979%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/4FA37AED-6A09-4BE1-B5C9-9C66DE858C59%40icloud.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] How to install GIT on puppet Server

2014-08-08 Thread Satish Katuru
Hi ,

I wanted to Install GIT on Linux machine using Puppet.I need step by step 
details.So Can any one help me on this?

Where do i download it and where do i need to place these folder...etc

Regards,
Sathish.

-- 
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/ed3abe4f-02f0-4968-b802-57a51315deff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Puppetdb query. Search two classes

2014-08-08 Thread Maksim Podlesniy
Thanks, but I says about query like this:

["*and*",
  ["and",
["=", "type", "Class"],
["=", "title", "Php"]],
  ["and",
["=", "type", "Class"],
["=", "title", "Nginx"]]]


Unfortunately, this query doesn't work.

I use generate function and my own python script for puppetdb query. *My 
question is how get list of nodes with two resources in one query.*

четверг, 7 августа 2014 г., 16:18:45 UTC+3 пользователь Ken Barber написал:
>
> I might be thinking about this the wrong way, but I think the API can 
> only do so much on the server side to achieve this. In particular I 
> want to do a distinct aggregation but we don't support that. 
>
> Fortunately, this is achievable on the command line with a tool like 
> JGrep: http://jgrep.org/#howto 
>
> Here is how I would do it: 
>
> https://gist.github.com/kbarber/6840f5b1a74d985d8167 
>
> Any entry that has a 2 next to it, meets the criteria basically. 
>
> ken. 
>
> On Thu, Aug 7, 2014 at 10:02 AM, Maksim Podlesniy  > wrote: 
> > How I may find all nodes with two specified classes? Example: find all 
> nodes 
> > with class Nginx and Php 
> > 
> > Sorry for my bad english. 
> > 
> > -- 
> > 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...@googlegroups.com . 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/puppet-users/8ae479f4-c700-490f-83d3-4e6ec1df292a%40googlegroups.com.
>  
>
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
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/663cecf7-57ab-4c22-b0e0-e9123ba758bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Puppetdb query. Search two classes

2014-08-08 Thread Ken Barber
> Thanks, but I says about query like this:
>
> ["and",
>   ["and",
> ["=", "type", "Class"],
> ["=", "title", "Php"]],
>   ["and",
> ["=", "type", "Class"],
> ["=", "title", "Nginx"]]]

Think about what this does behind the scenes on the resources endpoint
(see the query here:
https://gist.github.com/kbarber/d557da843b363ce3af3a#file-gistfile1-sql-L9-L13)
, it ultimately is just going to attempt to find a class resource that
has the title php AND nginx. Since a column can't have two values,
this will return nothing. If you had a base OR at the top, it would
return both the php and nginx classes, but this still isn't going to
provide you everything, but at least it will give you enough
information to break this down on the client end.

In the SQL world, the way I might construct such a query, is to get
all the class resources with nginx and php as the title, and then you
would need a list of distinct certificate names for both, and you
would want to find the overlap between the two, using an intersection
query for example
(http://www.postgresql.org/docs/9.3/static/queries-union.html). None
of this is supported by the PuppetDB query API today.

> Unfortunately, this query doesn't work.
>
> I use generate function and my own python script for puppetdb query. My
> question is how get list of nodes with two resources in one query.

Take another look at my suggestion:
https://gist.github.com/kbarber/6840f5b1a74d985d8167. It _is_ one
query. There is no shame in doing some work on the client side to
finish the job, you should be able to accomplish this last step in
Python quite easily.

ken.

-- 
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/CAE4bNTnm0N038Xg6vScyzwvU%3Dfz9DpBnxVnp7E6c5bCFU7DUag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] How to install GIT on puppet Server

2014-08-08 Thread Dan White

package { 'git': ensure => present, }

Or a more detailed approach is available at 
https://forge.puppetlabs.com/puppetlabs/git 
Also, check out : https://docs.puppetlabs.com/puppet_core_types_cheatsheet.pdf  and 
"The Trifecta"

“Sometimes I think the surest sign that intelligent life exists elsewhere in the 
universe is that none of it has tried to contact us.”  (Bill Waterson: Calvin & 
Hobbes)


On Aug 08, 2014, at 07:50 AM, Satish Katuru  wrote:


Hi ,

I wanted to Install GIT on Linux machine using Puppet.I need step by step 
details.So Can any one help me on this?

Where do i download it and where do i need to place these folder...etc

Regards,
Sathish.


--
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/ed3abe4f-02f0-4968-b802-57a51315deff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
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/b4a3803b-be52-426c-ac0c-317b81584ed3%40me.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Install MCollective -- What are the basic components?

2014-08-08 Thread Stella
Jose, thank you for the two side notes, very helpful. Will do.

On Thursday, August 7, 2014 5:26:51 PM UTC-4, Jose Luis Ledesma wrote:
>
> Hi,
>
> A couple of side notes.
> 1. You can use the mcollective::plugin defined type to install the 
> different agents
>
> 2. It's recommended to use SSL for authentication to enhance security. ( 
> in fact not using it is very insecure)
>
> Regards,
> El 07/08/2014 22:22, "Stella" > 
> escribió:
>
> It works as a charm!!! Many thanks to everyone! 
>
> Here is a summary of all the information I have collected about 
> MCollective. Hope it will help other people around.
>
> Overview of MCollective Components and Configuration
> https://docs.puppetlabs.com/mcollective/
> https://docs.puppetlabs.com/mcollective/overview_components.html
>
> Use Module to install MCollective (recommended)
>
> https://forge.puppetlabs.com/puppetlabs/mcollective#beginning-with-mcollective
>
> Standard MCollective Deployment 
> 
> https://docs.puppetlabs.com/mcollective/deploy/standard.html
>
> How to install MCollective manually
> http://www.slideshare.net/johandw/bpug-mcollective-20140624
>
> Installer and doc about each mco plugin
> http://projects.puppetlabs.com/projects/mcollective-plugins/wiki
> http://yum.puppetlabs.com/el/6.5/products/x86_64/
>
> how to use mco command:
>
> http://www.devco.net/archives/2013/02/03/managing-puppet-using-mcollective.php
> https://docs.puppetlabs.com/mcollective/deploy/standard.html
>
> To conclude, to install MCollective:
>
> 1. On puppet master machine, run "puppet module install 
> puppetlabs-mcollective"
>
> 2. edit your site.pp and replace with correct hostname(server need to be 
> installed on all machines; middle/client need to be installed on puppet 
> master).
>
> node 'broker1.example.com' {
>   class { '::mcollective':
> middleware   => true,
> middleware_hosts => [ 'broker1.example.com' ],
>   }}
> node 'server1.example.com' {
>   class { '::mcollective':
> middleware_hosts => [ 'broker1.example.com' ],
>   }}
> node 'control1.example.com' {
>   class { '::mcollective':
> client=> true,
> middleware_hosts => [ 'broker1.example.com' ],
>   }}
>
>
> 3. push module to puppet master and agent (puppet apply site.pp; puppet 
> agent --test)
>
> 4. Install Mcollective agent plugins on ALL the machines.
> yum install mcollective-filemgr-agent
> yum install mcollective-nettest-agent
> yum install mcollective-package-agent
> yum install mcollective-service-agent
>   
>
>
> On Thursday, August 7, 2014 3:24:52 PM UTC-4, Christopher Wood wrote:
>
> (inline) 
>
> On Thu, Aug 07, 2014 at 12:03:59PM -0700, Stella wrote: 
> >Quick question: 
> > 
> >I am following instruction on the forge module for MCollective 
> install and 
> >configuraiton. 
> >https://forge.puppetlabs.com/puppetlabs/mcollective 
> > 
> >It gives the example of "I just want to run it, what's the minimum I 
> >need?". 
> > 
> >  *** 
> >  node 'broker1.example.com' { 
> >class { '::mcollective': 
> >  middleware   => true, 
> >  middleware_hosts => [ 'broker1.example.com' ], 
> >} 
> >  } 
> > 
> >  node 'server1.example.com' { 
> >class { '::mcollective': 
> >  middleware_hosts => [ 'broker1.example.com' ], 
> >} 
> >  } 
> > 
> >  node 'control1.example.com' { 
> >class { '::mcollective': 
> >  client=> true, 
> >  middleware_hosts => [ 'broker1.example.com' ], 
> >} 
> >  } 
> >  *** 
> > 
> >  In init.pp, the default value for each component is: 
> > 
> >   $server = true, 
> >   $client = false, 
> >   $middleware = false, 
> > 
> >  In the example, for both broker (middleware) and control1(client), it 
> doesn't specify value for $server. 
> >  So it means both middleware and client will get the default value 
> ($server = true). 
> >  Is this correct? Should server should be installed on middleware and 
> client? 
>
> This is correct. The server portion is the mcollective daemon. Without 
> that daemon you will not be able to remotely manage the middleware and 
> client hosts. If you need to restrict most people from managing those look 
> at the ACL plugins. 
>
> >  I think the server should not be installed on middleware and client. 
> >  We should specfiy $server=false for both middleware and client to 
> overwrite the default value of true. 
> >  Please correct me if I am wrong. 
> > 
> >  Also can I installed both middleware and client on one machine, which 
> is my puppet master machine? 
>
> I don't recall, sorry. Try it and see? 
>
> > 
> >  Thanks!! 
> > 
> >On Thursday, August 7, 2014 1:32:32 PM UTC-4, Stella wrote: 
> > 
> >  Thank a lot Chris! 
> > 
> >  I think I got the big picture. What I plan to do: 
> > 
> >  1. p

[Puppet Users] Re: Puppet uses catalog of node B for node A

2014-08-08 Thread Helmut Rickel
Hello John,
I made the situation as simple as possible and - unfortunatly - I still can 
reproduce the problem.

I have two nodes called BGHW-DS-T-AA1 and BGHW-DS-T-SA1 and two modules 
called java and tomcat. The only task of the modules is to copy one file to 
the node. The module java is used on both nodes while tomcat is needed on 
BGHW-DS-T-SA1 only. This is defined via hiera. I append the files at the 
end of this posting. 

After restarting the puppet master I call "puppet agent -t" on 
BGHW-DS-T-AA1 in a while-loop and the module "java" is applied. After some 
time I call "puppet agent -t" on BGHW-DS-T-SA1 and afterwards the module 
"tomcat" is applied on BGHW-DS-T-AA1 as well!

This is the shell on BGHW-P-AA1 (the important line is the red one):
BGHW-DS-T-AA1:/data/software # while true; do date ; puppet agent -t; sleep 
1; echo ; done
Fr 8. Aug 14:22:11 CEST 2014
Info: Retrieving plugin
Info: Caching catalog for bghw-ds-t-aa1.bghw.de
Info: Applying configuration version '1407500588'
Notice: My certificate identifies me as 'bghw-ds-t-aa1.bghw.de'; I identify 
myself as 'bghw-ds-t-aa1.bghw.de', or alternatively as 'BGHW-DS-T-AA1'
Notice: /Stage[main]/Main/Notify[Node ID]/message: defined 'message' as 'My 
certificate identifies me as 'bghw-ds-t-aa1.bghw.de'; I identify myself as 
'bghw-ds-t-aa1.bghw.de', or alternatively as 'BGHW-DS-T-AA1''
Notice: Finished catalog run in 2.20 seconds

Fr 8. Aug 14:22:17 CEST 2014
Info: Retrieving plugin
Info: Caching catalog for bghw-ds-t-aa1.bghw.de
Info: Applying configuration version '1407500588'
Notice: My certificate identifies me as 'bghw-ds-t-aa1.bghw.de'; I identify 
myself as 'bghw-ds-t-aa1.bghw.de', or alternatively as 'BGHW-DS-T-AA1'
Notice: /Stage[main]/Main/Notify[Node ID]/message: defined 'message' as 'My 
certificate identifies me as 'bghw-ds-t-aa1.bghw.de'; I identify myself as 
'bghw-ds-t-aa1.bghw.de', or alternatively as 'BGHW-DS-T-AA1''
Notice: Finished catalog run in 2.13 seconds

Fr 8. Aug 14:22:25 CEST 2014
Info: Retrieving plugin
Info: Caching catalog for bghw-ds-t-aa1.bghw.de
Info: Applying configuration version '1407500588'
Notice: My certificate identifies me as 'bghw-ds-t-aa1.bghw.de'; I identify 
myself as 'bghw-ds-t-aa1.bghw.de', or alternatively as 'BGHW-DS-T-AA1'
Notice: /Stage[main]/Main/Notify[Node ID]/message: defined 'message' as 'My 
certificate identifies me as 'bghw-ds-t-aa1.bghw.de'; I identify myself as 
'bghw-ds-t-aa1.bghw.de', or alternatively as 'BGHW-DS-T-AA1''
Notice: Finished catalog run in 2.24 seconds

Fr 8. Aug 14:22:32 CEST 2014
Info: Retrieving plugin
Info: Caching catalog for bghw-ds-t-aa1.bghw.de
Info: Applying configuration version '1407500588'
Notice: My certificate identifies me as 'bghw-ds-t-aa1.bghw.de'; I identify 
myself as 'bghw-ds-t-aa1.bghw.de', or alternatively as 'BGHW-DS-T-AA1'
Notice: /Stage[main]/Main/Notify[Node ID]/message: defined 'message' as 'My 
certificate identifies me as 'bghw-ds-t-aa1.bghw.de'; I identify myself as 
'bghw-ds-t-aa1.bghw.de', or alternatively as 'BGHW-DS-T-AA1''
Notice: 
/Stage[main]/Tomcat/File[/data/software/apache-tomcat-7.0.37.tar.gz]/ensure: 
defined content as '{md5}a3cfe7ea8e8d2155cb2a0016e10b615f'
Notice: Finished catalog run in 4.97 seconds

Fr 8. Aug 14:22:43 CEST 2014
Info: Retrieving plugin
Info: Caching catalog for bghw-ds-t-aa1.bghw.de
Info: Applying configuration version '1407500588'
Notice: My certificate identifies me as 'bghw-ds-t-aa1.bghw.de'; I identify 
myself as 'bghw-ds-t-aa1.bghw.de', or alternatively as 'BGHW-DS-T-AA1'
Notice: /Stage[main]/Main/Notify[Node ID]/message: defined 'message' as 'My 
certificate identifies me as 'bghw-ds-t-aa1.bghw.de'; I identify myself as 
'bghw-ds-t-aa1.bghw.de', or alternatively as 'BGHW-DS-T-AA1''
Notice: Finished catalog run in 2.56 seconds

On BGHW-DS-T-SA1 "puppet agent -t" was startet at 14:22:29
BGHW-DS-T-SA1:/data/software # date ; puppet agent -t
Fr 8. Aug 14:22:29 CEST 2014
Info: Retrieving plugin
Info: Caching catalog for bghw-ds-t-sa1.bghw.de
Info: Applying configuration version '1407500588'
Notice: My certificate identifies me as 'bghw-ds-t-sa1.bghw.de'; I identify 
myself as 'bghw-ds-t-sa1.bghw.de', or alternatively as 'BGHW-DS-T-SA1'
Notice: /Stage[main]/Main/Notify[Node ID]/message: defined 'message' as 'My 
certificate identifies me as 'bghw-ds-t-sa1.bghw.de'; I identify myself as 
'bghw-ds-t-sa1.bghw.de', or alternatively as 'BGHW-DS-T-SA1''
Notice: Finished catalog run in 2.86 seconds

I reduced the number of files in /etc/puppet on the master as far as 
possible:
puppet@BGHW-P-SV1:/etc/puppet> find . -type f
./manifests/site.pp
./auth.conf
./hiera/node/BGHW-DS-T-SA1.bghw.de.yaml
./hiera/node/BGHW-DS-T-AA1.bghw.de.yaml
./modules/tomcat/manifests/init.pp
./modules/tomcat/files/apache-tomcat-7.0.37.tar.gz
./modules/java/manifests/init.pp
./modules/java/files/jdk-7u11-linux-x64.tar.gz
./puppet.conf
./hiera.yaml

Here you find the important files:
puppet@BGHW-P-SV1:/etc/puppet> *cat hiera.yaml*
:backend

[Puppet Users] NIC Module

2014-08-08 Thread Don Dorman
Good morning everyone.

I am looking to create a puppet 3.2.4 modules to scan all available IP 
routes across a lot os servers, and to save the information to a report.

-- 
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/7c016c0c-f3de-4159-8eea-4c0ca402691e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] MCollective Puppet Agent Not Working?

2014-08-08 Thread Stella
Hi all,

I installed and configured MCollective 2.5.3 yesterday. Also I have 
installed several agent plugin:

yum install mcollective-filemgr-agent
yum install mcollective-nettest-agent
yum install mcollective-package-agent
yum install mcollective-service-agent
yum install mcollective-puppet-agent

Now I can run command to stop remote service:

mco rpc service stop service=ntpd

However, it seems I can't get puppet to work with MCollective. 
When I run "mco puppet", it displays:


Known commands:
   completion   factsfind
   help inventoryping
   plugin   rpc  

Puppet is not listed as "Known commands". Why? Do I miss anything?

Help please! Last step to the victory! Thanks a lot!


-- 
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/6347c6e0-54a1-4061-8e04-8757d2299f8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] MCollective Puppet Agent Not Working?

2014-08-08 Thread Christopher Wood
Things to check:

Have you installed the mcollective-puppet-agent package on the server and 
restarted mcollective there?

Have you installed mcollective-puppet-client on the client?

If you check your package list, some (not all) of the plugins have a separate 
-client package which you need for your command line mco invocations to work.

On Fri, Aug 08, 2014 at 06:26:58AM -0700, Stella wrote:
>Hi all,
> 
>I installed and configured MCollective 2.5.3 yesterday. Also I have
>installed several agent plugin:
> 
>yum install mcollective-filemgr-agent
>yum install mcollective-nettest-agent
>yum install mcollective-package-agent
>yum install mcollective-service-agent
>yum install mcollective-puppet-agent
> 
>Now I can run command to stop remote service:
> 
>  mco rpc service stop service=ntpd
> 
>  However, it seems I can't get puppet to work with MCollective.
>  When I run "mco puppet", it displays:
> 
>Known commands:
>   completion   facts    find   
>   help inventory    ping   
>   plugin   rpc 
> 
>Puppet is not listed as "Known commands". Why? Do I miss anything?
> 
>Help please! Last step to the victory! Thanks a lot!
> 
>--
>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 [1]puppet-users+unsubscr...@googlegroups.com.
>To view this discussion on the web visit
>
> [2]https://groups.google.com/d/msgid/puppet-users/6347c6e0-54a1-4061-8e04-8757d2299f8b%40googlegroups.com.
>For more options, visit [3]https://groups.google.com/d/optout.
> 
> References
> 
>Visible links
>1. mailto:puppet-users+unsubscr...@googlegroups.com
>2. 
> https://groups.google.com/d/msgid/puppet-users/6347c6e0-54a1-4061-8e04-8757d2299f8b%40googlegroups.com?utm_medium=email&utm_source=footer
>3. https://groups.google.com/d/optout

-- 
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/20140808133245.GA1562%40iniquitous.heresiarch.ca.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] MCollective Puppet Agent Not Working?

2014-08-08 Thread Stella
Hi Chris,

Yes, I have installed the mcollective-puppet-agent package on the server 
and restarted mcollective there (I learned the lesson yesterday that you 
need to restart).

But I have NOT installed mcollective-puppet-client on the client. I am not 
aware of it at all.

After I installed mcollective-puppet-client on the client, "mco puppet" 
works!

Thank you very much, Chris MCollecctive (that's how I remember you, haha!)

Stella


On Friday, August 8, 2014 9:33:14 AM UTC-4, Christopher Wood wrote:
>
> Things to check: 
>
> Have you installed the mcollective-puppet-agent package on the server and 
> restarted mcollective there? 
>
> Have you installed mcollective-puppet-client on the client? 
>
> If you check your package list, some (not all) of the plugins have a 
> separate -client package which you need for your command line mco 
> invocations to work. 
>
> On Fri, Aug 08, 2014 at 06:26:58AM -0700, Stella wrote: 
> >Hi all, 
> > 
> >I installed and configured MCollective 2.5.3 yesterday. Also I have 
> >installed several agent plugin: 
> > 
> >yum install mcollective-filemgr-agent 
> >yum install mcollective-nettest-agent 
> >yum install mcollective-package-agent 
> >yum install mcollective-service-agent 
> >yum install mcollective-puppet-agent 
> > 
> >Now I can run command to stop remote service: 
> > 
> >  mco rpc service stop service=ntpd 
> > 
> >  However, it seems I can't get puppet to work with MCollective. 
> >  When I run "mco puppet", it displays: 
> > 
> >Known commands: 
> >   completion   factsfind
> >   help inventoryping
> >   plugin   rpc  
> > 
> >Puppet is not listed as "Known commands". Why? Do I miss anything? 
> > 
> >Help please! Last step to the victory! Thanks a lot! 
> > 
> >-- 
> >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 [1]puppet-users...@googlegroups.com . 
> >To view this discussion on the web visit 
> >[2]
> https://groups.google.com/d/msgid/puppet-users/6347c6e0-54a1-4061-8e04-8757d2299f8b%40googlegroups.com.
>  
>
> >For more options, visit [3]https://groups.google.com/d/optout. 
> > 
> > References 
> > 
> >Visible links 
> >1. mailto:puppet-users+unsubscr...@googlegroups.com  
> >2. 
> https://groups.google.com/d/msgid/puppet-users/6347c6e0-54a1-4061-8e04-8757d2299f8b%40googlegroups.com?utm_medium=email&utm_source=footer
>  
> >3. https://groups.google.com/d/optout 
>

-- 
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/85085d10-dc74-44c1-9bb8-c62b1f030ced%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] MCollective Puppet Agent Not Working?

2014-08-08 Thread Johan De Wit
If you are looking for a book : 
http://shop.oreilly.com/product/0636920032472.do


Learning MCollective - Parallel Server Management in Puppet and Chef




On 08/08/14 15:56, Stella wrote:

Hi Chris,

Yes, I have installed the mcollective-puppet-agent package on the 
server and restarted mcollective there (I learned the lesson yesterday 
that you need to restart).


But I have NOT installed mcollective-puppet-client on the client. I am 
not aware of it at all.


After I installed mcollective-puppet-client on the client, "mco 
puppet" works!


Thank you very much, Chris MCollecctive (that's how I remember you, haha!)

Stella


On Friday, August 8, 2014 9:33:14 AM UTC-4, Christopher Wood wrote:

Things to check:

Have you installed the mcollective-puppet-agent package on the
server and restarted mcollective there?

Have you installed mcollective-puppet-client on the client?

If you check your package list, some (not all) of the plugins have
a separate -client package which you need for your command line
mco invocations to work.

On Fri, Aug 08, 2014 at 06:26:58AM -0700, Stella wrote:
>Hi all,
>
>I installed and configured MCollective 2.5.3 yesterday. Also
I have
>installed several agent plugin:
>
>yum install mcollective-filemgr-agent
>yum install mcollective-nettest-agent
>yum install mcollective-package-agent
>yum install mcollective-service-agent
>yum install mcollective-puppet-agent
>
>Now I can run command to stop remote service:
>
>  mco rpc service stop service=ntpd
>
>  However, it seems I can't get puppet to work with MCollective.
>  When I run "mco puppet", it displays:
>
>Known commands:
>   completion   facts find
>   help inventory ping
>   plugin   rpc
>
>Puppet is not listed as "Known commands". Why? Do I miss
anything?
>
>Help please! Last step to the victory! Thanks a lot!
>
>--
>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 [1]puppet-users...@googlegroups.com .
>To view this discussion on the web visit
>  
 [2]https://groups.google.com/d/msgid/puppet-users/6347c6e0-54a1-4061-8e04-8757d2299f8b%40googlegroups.com


.

>For more options, visit [3]https://groups.google.com/d/optout
.
>
> References
>
>Visible links
>1. mailto:puppet-users+unsubscr...@googlegroups.com

>2.

https://groups.google.com/d/msgid/puppet-users/6347c6e0-54a1-4061-8e04-8757d2299f8b%40googlegroups.com?utm_medium=email&utm_source=footer



>3. https://groups.google.com/d/optout


--
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/85085d10-dc74-44c1-9bb8-c62b1f030ced%40googlegroups.com 
.

For more options, visit https://groups.google.com/d/optout.



--
Johan De Wit

Open Source Consultant

Red Hat Certified Engineer  (805008667232363)
Puppet Certified Professional 2013/2014 (PCP006)
_
 
Open-Future Phone +32 (0)2/255 70 70

Zavelstraat 72  Fax   +32 (0)2/255 70 71
3071 KORTENBERG Mobile+32 (0)474/42 40 73
BELGIUM http://www.open-future.be
_
 



Next Events:
Linux Training | https://www.open-future.be/linux-training-8-till-12th-september
Puppet Introduction Course | 
https://www.open-future.be/puppet-introduction-course-15th-september
Puppet Fundamentals Training | https://www.open-future.be/puppet-fundamentals-training-16-till-18th-september 
Zabbix Certified Specialist | https://www.open-future.be/zabbix-certified-specialisttraining-22-till-24th-september

Zabbix Certified Professional | 
https://www.open-future.be/zabbix-certified-professional-training-25-till-26th-september
Subscribe to our newsletter | http://eepurl.com/BUG8H

--
You received this message be

Re: [Puppet Users] Puppet/yum fails to install old packages

2014-08-08 Thread Mark Rosedale
Hey Matthias, 

Thanks for the response. So I do see some additional information that may 
help. 

So it appears that puppet does successfully install postgresql and 
postgresql-server and postgres92, and that explains what did get installed.

Notice: /Stage[pre]/Yum::Repo/Exec[refresh-yum-cache]: Triggered 'refresh' 
from 1 events
Notice: 
/Stage[main]/Postgresql::Install/Package[postgresql-8.1.23-10.el5_10]/ensure: 
created
Notice: 
/Stage[main]/Postgresql::Install/Package[postgresql-server-8.1.23-10.el5_10]/ensure:
 
created
Error: Could not update: Execution of '/usr/bin/yum -d 0 -e 0 -y install 
postgresql92-server-9.2.8-1PGDG.rhel5' returned 1: postgres
ql92-9.2.8-1PGDG.rhel5.x86_64 from vivox-postgresql has depsolving problems
  --> Missing Dependency: postgresql92-libs = 9.2.8-1PGDG.rhel5 is needed 
by package postgresql92-9.2.8-1PGDG.rhel5.x86_64 (vivox-po
stgresql)
Error: Missing Dependency: postgresql92-libs = 9.2.8-1PGDG.rhel5 is needed 
by package postgresql92-9.2.8-1PGDG.rhel5.x86_64 (vivox-p
ostgresql)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
Wrapped exception:
Execution of '/usr/bin/yum -d 0 -e 0 -y install 
postgresql92-server-9.2.8-1PGDG.rhel5' returned 1: 
postgresql92-9.2.8-1PGDG.rhel5.x8
6_64 from vivox-postgresql has depsolving problems
  --> Missing Dependency: postgresql92-libs = 9.2.8-1PGDG.rhel5 is needed 
by package postgresql92-9.2.8-1PGDG.rhel5.x86_64 (vivox-po
stgresql)
Error: Missing Dependency: postgresql92-libs = 9.2.8-1PGDG.rhel5 is needed 
by package postgresql92-9.2.8-1PGDG.rhel5.x86_64 (vivox-p
ostgresql)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
Error: 
/Stage[main]/Postgresql::Install/Package[postgresql92-server]/ensure: 
change from absent to 9.2.8-1PGDG.rhel5 failed: Could n
ot update: Execution of '/usr/bin/yum -d 0 -e 0 -y install 
postgresql92-server-9.2.8-1PGDG.rhel5' returned 1: postgresql92-9.2.8-1PG
DG.rhel5.x86_64 from vivox-postgresql has depsolving problems
  --> Missing Dependency: postgresql92-libs = 9.2.8-1PGDG.rhel5 is needed 
by package postgresql92-9.2.8-1PGDG.rhel5.x86_64 (vivox-po
stgresql)
Error: Missing Dependency: postgresql92-libs = 9.2.8-1PGDG.rhel5 is needed 
by package postgresql92-9.2.8-1PGDG.rhel5.x86_64 (vivox-p
ostgresql)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
Error: Could not update: Execution of '/usr/bin/yum -d 0 -e 0 -y install 
postgresql92-contrib-9.2.8-1PGDG.rhel5' returned 1: postgre
sql92-9.2.8-1PGDG.rhel5.x86_64 from vivox-postgresql has depsolving problems
  --> Missing Dependency: postgresql92-libs = 9.2.8-1PGDG.rhel5 is needed 
by package postgresql92-9.2.8-1PGDG.rhel5.x86_64 (vivox-po
stgresql)
Error: Missing Dependency: postgresql92-libs = 9.2.8-1PGDG.rhel5 is needed 
by package postgresql92-9.2.8-1PGDG.rhel5.x86_64 (vivox-p
ostgresql)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
Wrapped exception:
Execution of '/usr/bin/yum -d 0 -e 0 -y install 
postgresql92-contrib-9.2.8-1PGDG.rhel5' returned 1: 
postgresql92-9.2.8-1PGDG.rhel5.x
86_64 from vivox-postgresql has depsolving problems
  --> Missing Dependency: postgresql92-libs = 9.2.8-1PGDG.rhel5 is needed 
by package postgresql92-9.2.8-1PGDG.rhel5.x86_64 (vivox-po
stgresql)
Error: Missing Dependency: postgresql92-libs = 9.2.8-1PGDG.rhel5 is needed 
by package postgresql92-9.2.8-1PGDG.rhel5.x86_64 (vivox-p
ostgresql)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
Wrapped exception:
Execution of '/usr/bin/yum -d 0 -e 0 -y install 
postgresql92-devel-9.2.8-1PGDG.rhel5' returned 1: 
postgresql92-9.2.8-1PGDG.rhel5.x86_64 from vivox-postgresql has depsolving 
problems
  --> Missing Dependency: postgresql92-libs = 9.2.8-1PGDG.rhel5 is needed 
by package postgresql92-9.2.8-1PGDG.rhel5.x86_64 (vivox-postgresql)
Error: Missing Dependency: postgresql92-libs = 9.2.8-1PGDG.rhel5 is needed 
by package postgresql92-9.2.8-1PGDG.rhel5.x86_64 (vivox-postgresql)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
Error: /Stage[main]/Postgresql::Install/Package[postgresql92-devel]/ensure: 
chang

Re: [Puppet Users] Access to apt.puppetlabs.com slow for some IP addresses

2014-08-08 Thread Matthaus Owens
Johannes,

I don't see anything on our end that would be causing the issue you're
seeing. I have enabled some additional logging on the apt repos to get
us extra information about what might be going on. I have also opened
a ticket https://tickets.puppetlabs.com/browse/CPR-60 to track this
issue. Please feel free to add any additional information that might
help us diagnose the problem. Thanks!


On Wed, Aug 6, 2014 at 2:11 AM, Johannes Grassler
 wrote:
> Hello,
>
> we are currently creating and tearing down lots of VMs in our lab
> environment. This includes retrieving and installing Puppet from the
> Puppetlabs repository at apt.puppetlabs.com. Recently we found that from
> some addresses in our lab's /24 access to http://apt.puppetlabs.com is
> painfully slow (things are trickling in at ~800 bytes per second). We
> double-checked our lab network and the automated VM provisioning process and
> found nothing amiss. Now we are wondering whether we ran into some kind of
> rate limiting on the repository's side, since we do repeatedly retrieve the
> same packages in the course of VM provisioning, more often than not from the
> same IP address. One of the 'slow' addresses in question is 37.44.0.243. Is
> there anyone on this list who could look into this?
>
> If we are indeed causing too much load we'd be happy to set up a public
> mirror of apt.puppetlabs.com.
>
> Cheers,
>
> Johannes
>
> --
> SysEleven GmbH
> Umspannwerk - Aufgang C
> Ohlauer Straße 43
> 10999 Berlin
>
> Tel +49 30 233 2012 0
> Fax +49 30 616 755 50
>
> http://www.syseleven.de
> http://www.facebook.com/SysEleven
>
> Firmensitz: Berlin
> Registergericht: AG Berlin Charlottenburg, HRB 108571 B
> Geschäftsführer: Marc Korthaus, Thomas Lohner
>
> --
> 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/a289bd73-cddf-4b76-80d1-c5e5ee6f30d5%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
Matthaus Owens
Puppet Labs

Join us at PuppetConf 2014, September 20-24 in San Francisco
Register by September 8th to take advantage of the Final Countdown —save $149!

-- 
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/CACD%3DwAfKvsWK-Mf9GTBU%3D5Qj-YtkH%2BwRKga6rkf0dvLLXBPL%2Bg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] MCollective Puppet Agent Not Working?

2014-08-08 Thread Stella
Thank you Johan! For now, I just need to evaluate if we need to proceed 
with MCollective. If yes, I will take a look at this book. Thank you for 
the recommendation. Have a good weekend.

On Friday, August 8, 2014 10:35:04 AM UTC-4, Johan De Wit wrote:
>
>  If you are looking for a book : 
> http://shop.oreilly.com/product/0636920032472.do
>
>  Learning MCollective - Parallel Server Management in Puppet and Chef
>
>  
>
>
> On 08/08/14 15:56, Stella wrote:
>  
> Hi Chris,
>
> Yes, I have installed the mcollective-puppet-agent package on the server 
> and restarted mcollective there (I learned the lesson yesterday that you 
> need to restart).
>
> But I have NOT installed mcollective-puppet-client on the client. I am not 
> aware of it at all.
>
> After I installed mcollective-puppet-client on the client, "mco puppet" 
> works!
>
> Thank you very much, Chris MCollecctive (that's how I remember you, haha!)
>
> Stella
>
>
> On Friday, August 8, 2014 9:33:14 AM UTC-4, Christopher Wood wrote: 
>>
>> Things to check: 
>>
>> Have you installed the mcollective-puppet-agent package on the server and 
>> restarted mcollective there? 
>>
>> Have you installed mcollective-puppet-client on the client? 
>>
>> If you check your package list, some (not all) of the plugins have a 
>> separate -client package which you need for your command line mco 
>> invocations to work. 
>>
>> On Fri, Aug 08, 2014 at 06:26:58AM -0700, Stella wrote: 
>> >Hi all, 
>> > 
>> >I installed and configured MCollective 2.5.3 yesterday. Also I have 
>> >installed several agent plugin: 
>> > 
>> >yum install mcollective-filemgr-agent 
>> >yum install mcollective-nettest-agent 
>> >yum install mcollective-package-agent 
>> >yum install mcollective-service-agent 
>> >yum install mcollective-puppet-agent 
>> > 
>> >Now I can run command to stop remote service: 
>> > 
>> >  mco rpc service stop service=ntpd 
>> > 
>> >  However, it seems I can't get puppet to work with MCollective. 
>> >  When I run "mco puppet", it displays: 
>> > 
>> >Known commands: 
>> >   completion   factsfind
>> >   help inventoryping
>> >   plugin   rpc  
>> > 
>> >Puppet is not listed as "Known commands". Why? Do I miss anything? 
>> > 
>> >Help please! Last step to the victory! Thanks a lot! 
>> > 
>> >-- 
>> >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 [1]puppet-users...@googlegroups.com. 
>> >To view this discussion on the web visit 
>> >[2]
>> https://groups.google.com/d/msgid/puppet-users/6347c6e0-54a1-4061-8e04-8757d2299f8b%40googlegroups.com.
>>  
>>
>> >For more options, visit [3]https://groups.google.com/d/optout. 
>> > 
>> > References 
>> > 
>> >Visible links 
>> >1. mailto:puppet-users+unsubscr...@googlegroups.com 
>> >2. 
>> https://groups.google.com/d/msgid/puppet-users/6347c6e0-54a1-4061-8e04-8757d2299f8b%40googlegroups.com?utm_medium=email&utm_source=footer
>>  
>> >3. https://groups.google.com/d/optout 
>>
>  -- 
> 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...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/puppet-users/85085d10-dc74-44c1-9bb8-c62b1f030ced%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>
> -- 
> Johan De Wit
>
> Open Source Consultant
>
> Red Hat Certified Engineer  (805008667232363)
> Puppet Certified Professional 2013/2014 (PCP006)
> _
>  
> Open-Future Phone +32 (0)2/255 70 70
> Zavelstraat 72  Fax   +32 (0)2/255 70 71
> 3071 KORTENBERG Mobile+32 (0)474/42 40 73
> BELGIUM http://www.open-future.be
> _
>  
>
>
> Upcoming Events:
>
> Linux Training | 
> https://www.open-future.be/linux-training-8-till-12th-september
>
> Puppet Introduction Course | 
> https://www.open-future.be/puppet-introduction-course-15th-september
>
> Puppet Fundamentals Training | 
> https://www.open-future.be/puppet-fundamentals-training-16-till-18th-september
>
> Zabbix Certified Specialist | 
> https://www.open-future.be/zabbix-certified-specialisttraining-22-till-24th-september
>
> Zabbix Certified Professional | 
> https://www.open-future.be/zabbix-certified-professional-training-25-till-26th

[Puppet Users] What is the best way to have puppet send email notification?

2014-08-08 Thread Stella
Hi guys,

I am now having a working Puppet 3.6.2 environment with Dashboard and 
MCollective. 

Now I am wondering what is the best way to have puppet send email 
notification if an event happens, such as package installed, service 
stopped, file changed, etc.

I googled and it seems there is no definite answer. People are using 
different methods. Is there any "official" way? I do notice there is a 
"Notify" type in puppet.

Thanks,
Stella

-- 
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/a3828865-b491-4958-8bfc-e37c51783495%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] What is the best way to have puppet send email notification?

2014-08-08 Thread José Luis Ledesma
Hi,

Look at the tagmail feature

https://docs.puppetlabs.com/puppet/latest/reference/config_file_tagmail.html

Hth,
El 08/08/2014 21:59, "Stella"  escribió:

> Hi guys,
>
> I am now having a working Puppet 3.6.2 environment with Dashboard and
> MCollective.
>
> Now I am wondering what is the best way to have puppet send email
> notification if an event happens, such as package installed, service
> stopped, file changed, etc.
>
> I googled and it seems there is no definite answer. People are using
> different methods. Is there any "official" way? I do notice there is a
> "Notify" type in puppet.
>
> Thanks,
> Stella
>
> --
> 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/a3828865-b491-4958-8bfc-e37c51783495%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAF_B3ddjyEVqkUuGv51Yz6LvXg441q4s_5dVv%3DbiFp5n6vaY6w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Re: Puppet uses catalog of node B for node A

2014-08-08 Thread José Luis Ledesma
Hi,

If I understand correctly you have an include java|tomcat inside the
init.pp of each class definition?

I don't really know what is happening but I bet that if you remove these
lines it will start to work correctly.

Regards,
El 08/08/2014 15:12, "Helmut Rickel"  escribió:

> Hello John,
> I made the situation as simple as possible and - unfortunatly - I still
> can reproduce the problem.
>
> I have two nodes called BGHW-DS-T-AA1 and BGHW-DS-T-SA1 and two modules
> called java and tomcat. The only task of the modules is to copy one file to
> the node. The module java is used on both nodes while tomcat is needed on
> BGHW-DS-T-SA1 only. This is defined via hiera. I append the files at the
> end of this posting.
>
> After restarting the puppet master I call "puppet agent -t" on
> BGHW-DS-T-AA1 in a while-loop and the module "java" is applied. After some
> time I call "puppet agent -t" on BGHW-DS-T-SA1 and afterwards the module
> "tomcat" is applied on BGHW-DS-T-AA1 as well!
>
> This is the shell on BGHW-P-AA1 (the important line is the red one):
> BGHW-DS-T-AA1:/data/software # while true; do date ; puppet agent -t;
> sleep 1; echo ; done
> Fr 8. Aug 14:22:11 CEST 2014
> Info: Retrieving plugin
> Info: Caching catalog for bghw-ds-t-aa1.bghw.de
> Info: Applying configuration version '1407500588'
> Notice: My certificate identifies me as 'bghw-ds-t-aa1.bghw.de'; I
> identify myself as 'bghw-ds-t-aa1.bghw.de', or alternatively as
> 'BGHW-DS-T-AA1'
> Notice: /Stage[main]/Main/Notify[Node ID]/message: defined 'message' as
> 'My certificate identifies me as 'bghw-ds-t-aa1.bghw.de'; I identify
> myself as 'bghw-ds-t-aa1.bghw.de', or alternatively as 'BGHW-DS-T-AA1''
> Notice: Finished catalog run in 2.20 seconds
>
> Fr 8. Aug 14:22:17 CEST 2014
> Info: Retrieving plugin
> Info: Caching catalog for bghw-ds-t-aa1.bghw.de
> Info: Applying configuration version '1407500588'
> Notice: My certificate identifies me as 'bghw-ds-t-aa1.bghw.de'; I
> identify myself as 'bghw-ds-t-aa1.bghw.de', or alternatively as
> 'BGHW-DS-T-AA1'
> Notice: /Stage[main]/Main/Notify[Node ID]/message: defined 'message' as
> 'My certificate identifies me as 'bghw-ds-t-aa1.bghw.de'; I identify
> myself as 'bghw-ds-t-aa1.bghw.de', or alternatively as 'BGHW-DS-T-AA1''
> Notice: Finished catalog run in 2.13 seconds
>
> Fr 8. Aug 14:22:25 CEST 2014
> Info: Retrieving plugin
> Info: Caching catalog for bghw-ds-t-aa1.bghw.de
> Info: Applying configuration version '1407500588'
> Notice: My certificate identifies me as 'bghw-ds-t-aa1.bghw.de'; I
> identify myself as 'bghw-ds-t-aa1.bghw.de', or alternatively as
> 'BGHW-DS-T-AA1'
> Notice: /Stage[main]/Main/Notify[Node ID]/message: defined 'message' as
> 'My certificate identifies me as 'bghw-ds-t-aa1.bghw.de'; I identify
> myself as 'bghw-ds-t-aa1.bghw.de', or alternatively as 'BGHW-DS-T-AA1''
> Notice: Finished catalog run in 2.24 seconds
>
> Fr 8. Aug 14:22:32 CEST 2014
> Info: Retrieving plugin
> Info: Caching catalog for bghw-ds-t-aa1.bghw.de
> Info: Applying configuration version '1407500588'
> Notice: My certificate identifies me as 'bghw-ds-t-aa1.bghw.de'; I
> identify myself as 'bghw-ds-t-aa1.bghw.de', or alternatively as
> 'BGHW-DS-T-AA1'
> Notice: /Stage[main]/Main/Notify[Node ID]/message: defined 'message' as
> 'My certificate identifies me as 'bghw-ds-t-aa1.bghw.de'; I identify
> myself as 'bghw-ds-t-aa1.bghw.de', or alternatively as 'BGHW-DS-T-AA1''
> Notice:
> /Stage[main]/Tomcat/File[/data/software/apache-tomcat-7.0.37.tar.gz]/ensure:
> defined content as '{md5}a3cfe7ea8e8d2155cb2a0016e10b615f'
> Notice: Finished catalog run in 4.97 seconds
>
> Fr 8. Aug 14:22:43 CEST 2014
> Info: Retrieving plugin
> Info: Caching catalog for bghw-ds-t-aa1.bghw.de
> Info: Applying configuration version '1407500588'
> Notice: My certificate identifies me as 'bghw-ds-t-aa1.bghw.de'; I
> identify myself as 'bghw-ds-t-aa1.bghw.de', or alternatively as
> 'BGHW-DS-T-AA1'
> Notice: /Stage[main]/Main/Notify[Node ID]/message: defined 'message' as
> 'My certificate identifies me as 'bghw-ds-t-aa1.bghw.de'; I identify
> myself as 'bghw-ds-t-aa1.bghw.de', or alternatively as 'BGHW-DS-T-AA1''
> Notice: Finished catalog run in 2.56 seconds
>
> On BGHW-DS-T-SA1 "puppet agent -t" was startet at 14:22:29
> BGHW-DS-T-SA1:/data/software # date ; puppet agent -t
> Fr 8. Aug 14:22:29 CEST 2014
> Info: Retrieving plugin
> Info: Caching catalog for bghw-ds-t-sa1.bghw.de
> Info: Applying configuration version '1407500588'
> Notice: My certificate identifies me as 'bghw-ds-t-sa1.bghw.de'; I
> identify myself as 'bghw-ds-t-sa1.bghw.de', or alternatively as
> 'BGHW-DS-T-SA1'
> Notice: /Stage[main]/Main/Notify[Node ID]/message: defined 'message' as
> 'My certificate identifies me as 'bghw-ds-t-sa1.bghw.de'; I identify
> myself as 'bghw-ds-t-sa1.bghw.de', or alternatively as 'BGHW-DS-T-SA1''
> Notice: Finished catalog run in 2.86 seconds
>
> I reduced the number of files in /etc/puppet on the master as far as
> possible:
> puppet@

Re: [Puppet Users] What is the best way to have puppet send email notification?

2014-08-08 Thread Stella
Sweeet! It works. I just configured the most basic one without creating 
'explicit tag". Very clear document. 

Thank you Jose! Have a good weekend!

On Friday, August 8, 2014 4:03:31 PM UTC-4, Jose Luis Ledesma wrote:
>
> Hi,
>
> Look at the tagmail feature
>
>
> https://docs.puppetlabs.com/puppet/latest/reference/config_file_tagmail.html
>
> Hth,
> El 08/08/2014 21:59, "Stella" > 
> escribió:
>
>> Hi guys,
>>
>> I am now having a working Puppet 3.6.2 environment with Dashboard and 
>> MCollective. 
>>
>> Now I am wondering what is the best way to have puppet send email 
>> notification if an event happens, such as package installed, service 
>> stopped, file changed, etc.
>>
>> I googled and it seems there is no definite answer. People are using 
>> different methods. Is there any "official" way? I do notice there is a 
>> "Notify" type in puppet.
>>
>> Thanks,
>> Stella
>>
>> -- 
>> 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...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/puppet-users/a3828865-b491-4958-8bfc-e37c51783495%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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/c7e89588-f0a3-4c5c-80ee-4bbb18bed3d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] What is the best way to have puppet send email notification?

2014-08-08 Thread Dan White

https://docs.puppetlabs.com/guides/reporting.html

“Sometimes I think the surest sign that intelligent life exists elsewhere in the 
universe is that none of it has tried to contact us.”  (Bill Waterson: Calvin & 
Hobbes)


On Aug 08, 2014, at 03:59 PM, Stella  wrote:


Hi guys,

I am now having a working Puppet 3.6.2 environment with Dashboard and 
MCollective.

Now I am wondering what is the best way to have puppet send email notification 
if an event happens, such as package installed, service stopped, file changed, 
etc.

I googled and it seems there is no definite answer. People are using different methods. Is there 
any "official" way? I do notice there is a "Notify" type in puppet.

Thanks,
Stella


--
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/a3828865-b491-4958-8bfc-e37c51783495%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
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/e428f68d-5607-406b-b620-ff9c68694f77%40me.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] hiera-mysql working with hiera cli but not through puppet agent

2014-08-08 Thread Daniel Kinon
 

Hello,

   I'm running opensource hiera 1.3.4 and puppet 3.6.2.  I'm attempting to 
use hiera-yaml and hiera-mysql backends at the same time.  When I run hiera 
on the command line I retrieve the values I expected from both yaml and 
mysql but when an agent checks in (daemon or manual), it isn't retrieving 
values from mysql.  Any ideas on why command line works but agent checkin 
doesn't?


Here are the pertinent details:

   1. /etc/puppet/hiera.yaml:
   2. ~
   3. ---
   4. :backends:
   5.   - yaml
   6.   - mysql
   7.  
   8. :mysql:
   9.   :host: 
   10.   :user: puppet
   11.   :pass: X
   12.   :database: hieradata
   13.   :query:
   14. - SELECT hieraValue FROM deployment WHERE hieraKey='%{key}' AND 
   datacenter='%{::aws_vpc_name}' AND organization='%{::aws_tag_merchant}' AND 
   environment='%{::aws_tag_cluster}' AND puppetEnv='%{env}'
   15.  
   16. :logger: console
   17.  
   18. :yaml:
   19.   :datadir: '/etc/puppet/hieradata'
   20.  
   21. :hierarchy:
   22.   - "certs/%{clientcert}"
   23.   - "hosts/%{fqdn}"
   24.   - 
   "deployment/%{::aws_vpc_name}/%{::aws_tag_merchant}-%{::aws_tag_cluster}"
   25.   - common
   26. 
   27.  
   28. output from hiera:
   29. 
   30. $ hiera -c /etc/puppet/hiera.yaml testmodule::deploy::latest_build 
   nothing ::aws_vpc_name=mc2 ::aws_tag_merchant=test 
   ::aws_tag_cluster=testcluster env=production
   31. 514
   32. 
   33.  
   34. output from puppet agent checkin:
   35. 
   36. # puppet agent -t
   37. Info: Retrieving pluginfacts
   38. Info: Retrieving plugin
   39. Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
   40. Info: Loading facts in /var/lib/puppet/lib/facter/aws-metadata.rb
   41. Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
   42. Info: Loading facts in /var/lib/puppet/lib/facter/staging_http_get.rb
   43. Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
   44. Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
   45. Info: Loading facts in /var/lib/puppet/lib/facter/staging_windir.rb
   46. Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
   47. Error: Could not retrieve catalog from remote server: Error 400 on 
   SERVER: Could not find data item testmodule::deploy::latest_build in any 
   Hiera data file and no default supplied at 
   /etc/puppet/modules/testmodule/manifests/init.pp:79 on node testnode1.local
   48. Warning: Not using cache on failed catalog
   49. Error: Could not retrieve catalog; skipping run
   50. 
   

Thanks,

-Dan


-- 
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/ea214f6c-b81b-4eda-8646-ca68ac959d7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.