[Puppet Users] external nodes issue

2009-09-28 Thread Matt

Hi all,

I've hit a wall trying to get external nodes working on our production
puppet master.  I'm using the foreman to supply the external nodes
information and have it all working in the dev environment.

I've started all processes in debug - running Puppet 0.25

puppetd -
debug: Puppet::Network::Format[json]: false value when expecting true
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: Could not find default node or by name with 'sl01.domain.sl,
sl01.domain, sl01' on node sl01.domain.sl
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run

puppetmasterd -
info: Not using expired node for sl01.domain.sl from cache; expired at
Mon Sep 28 09:28:47 +0100 2009
debug: Executing '/etc/puppet/node.rb sl01.domain.sl'
info: Caching node for sl01.domain.sl

err: Could not find default node or by name with 'sl01.domain.sl,
sl01.domain, sl01' on node sl01.domain.sl
err: Could not find default node or by name with 'sl01.domain.sl,
sl01.domain, sl01' on node sl01.domain.sl

foreman -
Processing HostsController#externalNodes (for 127.0.0.1 at 2009-09-28
09:39:30) [GET]
  Parameters: {"fqdn"=>"sl01.domain.sl", "action"=>"externalNodes",
"controller"=>"hosts"}
Completed in 9ms (View: 0, DB: 1) | 200 OK
[http://localhost/hosts/externalNodes?fqdn=sl01.domain.sl]

manually -
# su - puppet
-bash-3.2$ cd /etc/puppet
-bash-3.2$ ./node.rb sl01.domain.sl
---
parameters:
  s3: "false"
  puppetmaster: sl02.domain.sl
  java: jre16007
  domainname: domain.sl
classes:
- env
- ganglia


Anyone have any idea how I can find out whats going on?

The only difference I can see between the production and dev boxes is
that the production box uses certdnsnames, as it has both external and
internal clients -
  certname=sl02.domain.com
  certdnsnames=sl02.domain.com:sl02.domain.sl

Thanks,

Matt

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: external nodes issue

2009-09-28 Thread Matt

Update:-

I added a default node to a manifest file, just -

node default {
include env
}

This appears to have made the puppetmasterd kick in to action and
compile the catalog from the foreman for that node. i.e. I see
puppetmasterd compile all the correct classes for the node and not
just the default one.

notice: Compiled catalog for sl01.domain.sl in 0.14 seconds

But the client is still giving -
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run



2009/9/28 Matt :
> Hi all,
>
> I've hit a wall trying to get external nodes working on our production
> puppet master.  I'm using the foreman to supply the external nodes
> information and have it all working in the dev environment.
>
> I've started all processes in debug - running Puppet 0.25
>
> puppetd -
> debug: Puppet::Network::Format[json]: false value when expecting true
> err: Could not retrieve catalog from remote server: Error 400 on
> SERVER: Could not find default node or by name with 'sl01.domain.sl,
> sl01.domain, sl01' on node sl01.domain.sl
> warning: Not using cache on failed catalog
> err: Could not retrieve catalog; skipping run
>
> puppetmasterd -
> info: Not using expired node for sl01.domain.sl from cache; expired at
> Mon Sep 28 09:28:47 +0100 2009
> debug: Executing '/etc/puppet/node.rb sl01.domain.sl'
> info: Caching node for sl01.domain.sl
> 
> err: Could not find default node or by name with 'sl01.domain.sl,
> sl01.domain, sl01' on node sl01.domain.sl
> err: Could not find default node or by name with 'sl01.domain.sl,
> sl01.domain, sl01' on node sl01.domain.sl
>
> foreman -
> Processing HostsController#externalNodes (for 127.0.0.1 at 2009-09-28
> 09:39:30) [GET]
>  Parameters: {"fqdn"=>"sl01.domain.sl", "action"=>"externalNodes",
> "controller"=>"hosts"}
> Completed in 9ms (View: 0, DB: 1) | 200 OK
> [http://localhost/hosts/externalNodes?fqdn=sl01.domain.sl]
>
> manually -
> # su - puppet
> -bash-3.2$ cd /etc/puppet
> -bash-3.2$ ./node.rb sl01.domain.sl
> ---
> parameters:
>  s3: "false"
>  puppetmaster: sl02.domain.sl
>  java: jre16007
>  domainname: domain.sl
> classes:
> - env
> - ganglia
>
>
> Anyone have any idea how I can find out whats going on?
>
> The only difference I can see between the production and dev boxes is
> that the production box uses certdnsnames, as it has both external and
> internal clients -
>  certname=sl02.domain.com
>  certdnsnames=sl02.domain.com:sl02.domain.sl
>
> Thanks,
>
> Matt
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: external nodes issue

2009-09-28 Thread Nicolas Szalay
Le lundi 28 septembre 2009 à 10:52 +0100, Matt a écrit :
> Update:-
> 
> I added a default node to a manifest file, just -
> 
> node default {
> include env
> }
> 
> This appears to have made the puppetmasterd kick in to action and
> compile the catalog from the foreman for that node. i.e. I see
> puppetmasterd compile all the correct classes for the node and not
> just the default one.
> 
> notice: Compiled catalog for sl01.domain.sl in 0.14 seconds
> 
> But the client is still giving -
> warning: Not using cache on failed catalog
> err: Could not retrieve catalog; skipping run


Looks like your YAML is invalid

> > manually -
> > # su - puppet
> > -bash-3.2$ cd /etc/puppet
> > -bash-3.2$ ./node.rb sl01.domain.sl
> > ---
> > parameters:
> >  s3: "false"
> >  puppetmaster: sl02.domain.sl
> >  java: jre16007
> >  domainname: domain.sl
> > classes:
> > - env
> > - ganglia
> >

./scripts/ext_node.rb fluor.XXX
---
classes:
  - mount::webserver::pool
  - webserver::pool
  - webserver::zend
  - common
parameters:
  wwwpool: pool1

Nico.


signature.asc
Description: Ceci est une partie de message numériquement signée


[Puppet Users] Re: external nodes issue

2009-09-28 Thread Matt

You're right, I removed all /var/lib/puppet/* from the client except
the ssl directory and the next poll worked.

Still requires me to have a default node though on the puppetmaster.

Should the client really cache bad catalogs?

2009/9/28 Nicolas Szalay :
> Le lundi 28 septembre 2009 à 10:52 +0100, Matt a écrit :
>> Update:-
>>
>> I added a default node to a manifest file, just -
>>
>> node default {
>>     include env
>> }
>>
>> This appears to have made the puppetmasterd kick in to action and
>> compile the catalog from the foreman for that node. i.e. I see
>> puppetmasterd compile all the correct classes for the node and not
>> just the default one.
>>
>> notice: Compiled catalog for sl01.domain.sl in 0.14 seconds
>>
>> But the client is still giving -
>> warning: Not using cache on failed catalog
>> err: Could not retrieve catalog; skipping run
>
>
> Looks like your YAML is invalid
>
>> > manually -
>> > # su - puppet
>> > -bash-3.2$ cd /etc/puppet
>> > -bash-3.2$ ./node.rb sl01.domain.sl
>> > ---
>> > parameters:
>> >  s3: "false"
>> >  puppetmaster: sl02.domain.sl
>> >  java: jre16007
>> >  domainname: domain.sl
>> > classes:
>> > - env
>> > - ganglia
>> >
>
> ./scripts/ext_node.rb fluor.XXX
> ---
> classes:
>  - mount::webserver::pool
>  - webserver::pool
>  - webserver::zend
>  - common
> parameters:
>  wwwpool: pool1
>
> Nico.
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: How long does the server's node cache stick around?

2009-09-28 Thread Tony Maro

I tried the ignorecache=true on the clients to no avail... the server
would still send the cached node entry.  I could watch the output and
it even reported "using cached node blah blah" instead of "Compiling
node blah blah".

I'm beginning to wonder if it's an LDAP issue... From what I gather of
old user list postings, the server should detect config file changes
and automatically recompile.

On Sep 28, 12:56 am, Chris Blumentritt  wrote:
> I don't know the answer to how long the cache hangs around or how to modify
> how long it will use the cache but I know that if you run puppet with the
> --test option it forces puppet to ignore the cache which is a lot less
> annoying then editing the yaml file.  I suppose in the puppet.conf for your
> clients you could put ignorecache = true and it will always compile the
> manifest for you.
> Chris
>
> On Sun, Sep 27, 2009 at 12:50 PM, Tony Maro  wrote:
>
> > In my testing, puppet has never caught on to a new config or recipe to
> > distribute unless I manually delete the node entry from the yaml/nodes
> > directory.  I couldn't find any documentation on how to clear the
> > cache properly (I stumbled on that method) and I couldn't find any
> > documentation on how long the cache is kept before it recompiles.  All
> > I saw were references to "stale timestamps" but no real details.  I've
> > waited as long as two days and it just doesn't see the change.
>
> > If one day I decide I need to deploy a new required Gnome key to all
> > of my Linux desktops, what's the poper method of making sure that the
> > server realizes all the nodes need to be recompiled?
>
> > I'm using LDAP for storing my node entries, if this makes a
> > difference.  All of my LDAP servers are doing live replication.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: How long does the server's node cache stick around?

2009-09-28 Thread Nigel Kersten

On Mon, Sep 28, 2009 at 7:14 AM, Tony Maro  wrote:
>
> I tried the ignorecache=true on the clients to no avail... the server
> would still send the cached node entry.  I could watch the output and
> it even reported "using cached node blah blah" instead of "Compiling
> node blah blah".
>
> I'm beginning to wonder if it's an LDAP issue... From what I gather of
> old user list postings, the server should detect config file changes
> and automatically recompile.

ignorecache should only apply to the client-side cache, not the server.

I don't use LDAP nodes, and I never have this issue btw.

>
> On Sep 28, 12:56 am, Chris Blumentritt  wrote:
>> I don't know the answer to how long the cache hangs around or how to modify
>> how long it will use the cache but I know that if you run puppet with the
>> --test option it forces puppet to ignore the cache which is a lot less
>> annoying then editing the yaml file.  I suppose in the puppet.conf for your
>> clients you could put ignorecache = true and it will always compile the
>> manifest for you.
>> Chris
>>
>> On Sun, Sep 27, 2009 at 12:50 PM, Tony Maro  wrote:
>>
>> > In my testing, puppet has never caught on to a new config or recipe to
>> > distribute unless I manually delete the node entry from the yaml/nodes
>> > directory.  I couldn't find any documentation on how to clear the
>> > cache properly (I stumbled on that method) and I couldn't find any
>> > documentation on how long the cache is kept before it recompiles.  All
>> > I saw were references to "stale timestamps" but no real details.  I've
>> > waited as long as two days and it just doesn't see the change.
>>
>> > If one day I decide I need to deploy a new required Gnome key to all
>> > of my Linux desktops, what's the poper method of making sure that the
>> > server realizes all the nodes need to be recompiled?
>>
>> > I'm using LDAP for storing my node entries, if this makes a
>> > difference.  All of my LDAP servers are doing live replication.
> >
>



-- 
nigel

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Passing input to script within an exec statement fails

2009-09-28 Thread paul matthews
Hi,
>From the command line I can successfully perform this:-

echo y | /mnt/Linux/install.sh

Trying the same thing from an exec, though, fails and I'm not too sure how
to get round it

  command => "(echo y | /mnt/Linux/install.sh)",

err: //Node[host]/vm_post_install/Exec[install-xenserver-tools]/returns:
change from notrun to 0 failed: (echo y | /mnt/Linux/install.sh) returned 1
instead of 0 at /etc/puppet/modules/vm_post_install/manifests/init.pp:30

I've tried without the brackets as well - same result

Unfortunately, in this case the option does not exist to avoid the script
(as I'm mounting an iso and running the package's install script)

Thanks
Paul


-- 
Paul Matthews
--

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] push a directory of files as part of a manifest?

2009-09-28 Thread li...@truthisfreedom.org.uk

Hi All,

I get the feeling I'm being really dumb here but hey, if you don't ask... ;)

I'm setting up a puppet install for about 80 or so servers and taking a 
"softly softly" approach by starting with Syslog-ng and stunnel configs.

I want to push out a directory of files to /etc/stunnel that includes 
the config and pems for each client.  Is it posible to push an entire 
directory, or do I have to specify each file (as I'm currently doing in 
my dev environment!)?

Thanks in advance,

M.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: push a directory of files as part of a manifest?

2009-09-28 Thread Nigel Kersten

On Mon, Sep 28, 2009 at 7:50 AM, li...@truthisfreedom.org.uk
 wrote:
>
> Hi All,
>
> I get the feeling I'm being really dumb here but hey, if you don't ask... ;)
>
> I'm setting up a puppet install for about 80 or so servers and taking a
> "softly softly" approach by starting with Syslog-ng and stunnel configs.
>
> I want to push out a directory of files to /etc/stunnel that includes
> the config and pems for each client.  Is it posible to push an entire
> directory, or do I have to specify each file (as I'm currently doing in
> my dev environment!)?

http://reductivelabs.com/trac/puppet/wiki/TypeReference#file

Have a look at the "recurse" attribute.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: push a directory of files as part of a manifest?

2009-09-28 Thread li...@truthisfreedom.org.uk

Nigel Kersten wrote:
> On Mon, Sep 28, 2009 at 7:50 AM, li...@truthisfreedom.org.uk
>  wrote:
>> Hi All,
>>
>> I get the feeling I'm being really dumb here but hey, if you don't ask... ;)
>>
>> I'm setting up a puppet install for about 80 or so servers and taking a
>> "softly softly" approach by starting with Syslog-ng and stunnel configs.
>>
>> I want to push out a directory of files to /etc/stunnel that includes
>> the config and pems for each client.  Is it posible to push an entire
>> directory, or do I have to specify each file (as I'm currently doing in
>> my dev environment!)?
> 
> http://reductivelabs.com/trac/puppet/wiki/TypeReference#file
> 
> Have a look at the "recurse" attribute.

I knew it had to be possible!

So if I set the manifest as follows:

file{ "/path/to/dir":
source=>"/path/to/source/dir"
recurse=>true
...
}

then it should work?

Thanks,

M.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Capistrano roles filled in using puppet's stored config db

2009-09-28 Thread Joe McDonagh

Hello puppeteers, if anyone is interested I have figured how to fill in 
capistrano roles via the stored config db. I have the following script 
served out to my puppetmasters via puppet (gethosts.rb):

#!/usr/bin/env ruby

require "puppet"

ActiveRecord::Base.establish_connection(
   :adapter  => 'mysql',
   :database => 'puppet',
   :host => 'localhost',
   :password => 'puppet',
   :username => 'puppet'
)

class Hosts < Puppet::Rails::Host; end

puts Hosts.find(:all,
:include=> [ :fact_values, :fact_names ],
:conditions => [ "fact_names.name = ?
  and fact_values.value = ?",
 "operatingsystem",
 "ubuntu"
   ]
   ).map { |host| host.name }


This lists, line by line, my ubuntu boxes. In a Capfile I have:

role :puppet_masters,
   "puppet.whatever.com"

role :ubuntu do end

task :enum, :roles => [:puppet_masters] do
   desc "Enumerate hosts from puppet DB"

   hosts = Hash.new
   logger.info "Hosts:"

   run '/usr/local/bin/gethosts.rb', :pty => true do |ch, stream, out|
  next if out.chomp == ''
  logger.info out.sub(/\//,' ')
  out.split("\r\n").each do |host|
 role(:ubuntu, host)
  end
   end
end

enum

Later on I can do something like

task :aptup_all, :roles => [ :ubuntu ]
   run "sudo apt-get update -y && sudo apt-get upgrade -y"
end

Of course this is pretty rudimentary, but I plan on extending my Capfile 
to do a lot more tasks.

-- 
Joe McDonagh
Operations Engineer
www.colonfail.com


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: push a directory of files as part of a manifest?

2009-09-28 Thread Nigel Kersten

On Mon, Sep 28, 2009 at 7:57 AM, li...@truthisfreedom.org.uk
 wrote:
>
> Nigel Kersten wrote:
>> On Mon, Sep 28, 2009 at 7:50 AM, li...@truthisfreedom.org.uk
>>  wrote:
>>> Hi All,
>>>
>>> I get the feeling I'm being really dumb here but hey, if you don't ask... ;)
>>>
>>> I'm setting up a puppet install for about 80 or so servers and taking a
>>> "softly softly" approach by starting with Syslog-ng and stunnel configs.
>>>
>>> I want to push out a directory of files to /etc/stunnel that includes
>>> the config and pems for each client.  Is it posible to push an entire
>>> directory, or do I have to specify each file (as I'm currently doing in
>>> my dev environment!)?
>>
>> http://reductivelabs.com/trac/puppet/wiki/TypeReference#file
>>
>> Have a look at the "recurse" attribute.
>
> I knew it had to be possible!
>
> So if I set the manifest as follows:
>
> file{ "/path/to/dir":
>        source=>"/path/to/source/dir"
>        recurse=>true
>        ...
> }
>
> then it should work?

Yep. Note that if you want to get rid of files in that location that
aren't in the source, you'll need to add purge => true.

>
> Thanks,
>
> M.
>
> >
>



-- 
nigel

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: How long does the server's node cache stick around?

2009-09-28 Thread Chad Huneycutt

I do have this issue.  Any time I add a new node, I have to restart
the puppet master.

On Mon, Sep 28, 2009 at 10:21 AM, Nigel Kersten  wrote:
>
> On Mon, Sep 28, 2009 at 7:14 AM, Tony Maro  wrote:
>>
>> I tried the ignorecache=true on the clients to no avail... the server
>> would still send the cached node entry.  I could watch the output and
>> it even reported "using cached node blah blah" instead of "Compiling
>> node blah blah".
>>
>> I'm beginning to wonder if it's an LDAP issue... From what I gather of
>> old user list postings, the server should detect config file changes
>> and automatically recompile.
>
> ignorecache should only apply to the client-side cache, not the server.
>
> I don't use LDAP nodes, and I never have this issue btw.
>
>>
>> On Sep 28, 12:56 am, Chris Blumentritt  wrote:
>>> I don't know the answer to how long the cache hangs around or how to modify
>>> how long it will use the cache but I know that if you run puppet with the
>>> --test option it forces puppet to ignore the cache which is a lot less
>>> annoying then editing the yaml file.  I suppose in the puppet.conf for your
>>> clients you could put ignorecache = true and it will always compile the
>>> manifest for you.
>>> Chris
>>>
>>> On Sun, Sep 27, 2009 at 12:50 PM, Tony Maro  wrote:
>>>
>>> > In my testing, puppet has never caught on to a new config or recipe to
>>> > distribute unless I manually delete the node entry from the yaml/nodes
>>> > directory.  I couldn't find any documentation on how to clear the
>>> > cache properly (I stumbled on that method) and I couldn't find any
>>> > documentation on how long the cache is kept before it recompiles.  All
>>> > I saw were references to "stale timestamps" but no real details.  I've
>>> > waited as long as two days and it just doesn't see the change.
>>>
>>> > If one day I decide I need to deploy a new required Gnome key to all
>>> > of my Linux desktops, what's the poper method of making sure that the
>>> > server realizes all the nodes need to be recompiled?
>>>
>>> > I'm using LDAP for storing my node entries, if this makes a
>>> > difference.  All of my LDAP servers are doing live replication.
>> >
>>
>
>
>
> --
> nigel
>
> >
>



-- 
Chad M. Huneycutt

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: authentication issue with passenger

2009-09-28 Thread Allan Marcus
yes, I have all those settings. Attached are the relevant files.

To sum up:

Everything works fine with webrick
Nothing I do can make server 0.25.1 w/passenger work with a 0.24.8  
client
Only way I can get server 0.25.1 w/passenger to work with a 0.25.1  
client is to have a a wide open auth.conf file

path /
auth any
allow *

Thanks for your help.

---
Thanks,

Allan Marcus
505-667-5666

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



client_248.log
Description: Binary data


client_251.log
Description: Binary data


puppet.conf
Description: Binary data


server.log
Description: Binary data


On Sep 26, 2009, at 8:26 AM, Christian Hofstaedtler wrote:

>
> Also: please check that you have the required settings in the masters
> puppet.conf as mentioned in 
> http://github.com/reductivelabs/puppet/blob/master/ext/rack/README
>
> If it still doesn't work, please post a full log from master + server
> for a single client run.
>
> Christian
> --~--~-~--~~~---~--~~
> You received this message because you are subscribed to the Google  
> Groups "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com
> To unsubscribe from this group, send email to 
> puppet-users+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/puppet-users?hl=en
> -~--~~~~--~~--~--~---
>



[Puppet Users] Re: Passing input to script within an exec statement fails

2009-09-28 Thread Allan Marcus

You could try to add

path=> "/bin:/usr/bin",

for the echo command.

---
Thanks,

Allan Marcus
505-667-5666



On Sep 28, 2009, at 8:46 AM, paul matthews wrote:

> Hi,
>
> From the command line I can successfully perform this:-
>
> echo y | /mnt/Linux/install.sh
>
> Trying the same thing from an exec, though, fails and I'm not too  
> sure how to get round it
>
>   command => "(echo y | /mnt/Linux/install.sh)",
>
> err: //Node[host]/vm_post_install/Exec[install-xenserver-tools]/ 
> returns: change from notrun to 0 failed: (echo y | /mnt/Linux/ 
> install.sh) returned 1 instead of 0 at /etc/puppet/modules/ 
> vm_post_install/manifests/init.pp:30
>
> I've tried without the brackets as well - same result
>
> Unfortunately, in this case the option does not exist to avoid the  
> script (as I'm mounting an iso and running the package's install  
> script)
>
> Thanks
> Paul
>
>
> -- 
> Paul Matthews
> --
>
> >


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: authentication issue with passenger (resolved)

2009-09-28 Thread Allan Marcus

I think I have it working now.

---
Thanks,

Allan Marcus
505-667-5666



On Sep 28, 2009, at 10:13 AM, Allan Marcus wrote:

> yes, I have all those settings. Attached are the relevant files.
>
> To sum up:
>
> Everything works fine with webrick
> Nothing I do can make server 0.25.1 w/passenger work with a 0.24.8
> client
> Only way I can get server 0.25.1 w/passenger to work with a 0.25.1
> client is to have a a wide open auth.conf file
>
> path /
> auth any
> allow *
>
> Thanks for your help.
>
> ---
> Thanks,
>
> Allan Marcus
> 505-667-5666
>
> >
> 
>
> On Sep 26, 2009, at 8:26 AM, Christian Hofstaedtler wrote:
>
>>
>> Also: please check that you have the required settings in the masters
>> puppet.conf as mentioned in 
>> http://github.com/reductivelabs/puppet/blob/master/ext/rack/README
>>
>> If it still doesn't work, please post a full log from master + server
>> for a single client run.
>>
>> Christian
>> --~--~-~--~~~---~--~~
>> You received this message because you are subscribed to the Google
>> Groups "Puppet Users" group.
>> To post to this group, send email to puppet-users@googlegroups.com
>> To unsubscribe from this group, send email to 
>> puppet-users+unsubscr...@googlegroups.com
>> For more options, visit this group at 
>> http://groups.google.com/group/puppet-users?hl=en
>> -~--~~~~--~~--~--~---
>>
>


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: Using variables in virtual resources

2009-09-28 Thread Eric Gerlach

On Fri, Sep 18, 2009 at 09:08:37AM +0200, Kenneth Holter wrote:
> Hi.
> 
> 
> I've defined a virtual user "kenneth", and depending on a variable in the
> node definiton I'd like to add the users to different groups. Consider this
> example:
> 
> ##  Code start
> 
> node "server.example.com" {
>$server_type = "typeA"
> 
>realize User[kenneth]
> 
> }
> 
>   @user {"kenneth":
> ensure => present,
> uid => 1000,
> gid => 1000,
> groups => $server_type ? {
>typeA => "wheel",
>default => undef,
> },
> 
> home => "/home/kenneth",
> shell => "/bin/bash",
> comment => "A comment",
> password => ''
> 
>  }
> 
> ## Code end
> 
> If I add the user to an ordinary class (like "class user_kenneth") instead
> of defining it as a virtual resource, everything works fine. But when using
> a virtual definition like this, the variable "server_type" doesn't seem to
> have any effect on the if statement "groups". Am I doing something wrong, or
> is this not supposed to work? I'm running version 0.24.4.

I've been off for over a week, so I just noticed you never got an answer to
this question.  The variables are filled out at the time the virtual resource
is defined, not at the time it's realized.

You might be able to do something like:

realize User[kenneth]

User[kenneth] {
groups => $server_type ? {
typeA => "wheel",
default => undef,
}
}

to realize it the way you want.  Haven't tried anything like that though.
Maybe someone else can comment if it works.

Cheers,

-- 
Eric Gerlach, Network Administrator
Federation of Students
University of Waterloo
p: (519) 888-4567 x36329
e: egerl...@feds.uwaterloo.ca

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: external nodes issue

2009-09-28 Thread Christian Schröder
Matt schrieb:
> Hi all,
> 
> I've hit a wall trying to get external nodes working on our production
> puppet master.  I'm using the foreman to supply the external nodes
> information and have it all working in the dev environment.
> 
> manually -
> # su - puppet
> -bash-3.2$ cd /etc/puppet
> -bash-3.2$ ./node.rb sl01.domain.sl
> ---
> parameters:
>   s3: "false"
>   puppetmaster: sl02.domain.sl
>   java: jre16007
>   domainname: domain.sl
> classes:
> - env
> - ganglia

Maybe it is just a typo in this mail, but the classes (env and ganglia)
should be indented to be a valid yaml list as value for the classes key.

regards
Christian



signature.asc
Description: OpenPGP digital signature


[Puppet Users] puppet / works & does not work: the quantum effect

2009-09-28 Thread Nico -telmich- Schottelius
Good morning dear puppet users,

if you experience "it works - it does not work" situations with puppet
like I do, here may be the reason for it:

  http://www.nico.schottelius.org/blog/puppet-sometimes-loads-a-class/

I was told that this behaviour is "correct" on IRC, but I don't agree
with it: a configuration should either work or not, not both.

What's your point of view?
Is my approach not the way puppet users/devs think or do you also see
this as a bug?

Sincerly,

Nico

-- 
Currently moving *.schottelius.org to http://www.nico.schottelius.org/ ...

PGP: BFE4 C736 ABE5 406F 8F42  F7CF B8BE F92A 9885 188C


signature.asc
Description: Digital signature


[Puppet Users] lunch at Google on Wednesday for Puppet Campers?

2009-09-28 Thread Nigel Kersten

If you're interested in coming along for lunch at Google on Wednesday
before Puppet Camp, let me know and I'll see if we can handle the load
:)



-- 
nigel

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: lunch at Google on Wednesday for Puppet Campers?

2009-09-28 Thread Carl Caum
I'd definitely be interested in going but I don't get in to SF till
11:00am.  According to GMaps, the earliest I could get the Google Campus is
at 2:00pm by bus. Anyone have any suggestions?

On Mon, Sep 28, 2009 at 12:57 PM, Nigel Kersten  wrote:

>
> If you're interested in coming along for lunch at Google on Wednesday
> before Puppet Camp, let me know and I'll see if we can handle the load
> :)
>
>
>
> --
> nigel
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: lunch at Google on Wednesday for Puppet Campers?

2009-09-28 Thread James Turnbull

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Nigel Kersten wrote:
> If you're interested in coming along for lunch at Google on Wednesday
> before Puppet Camp, let me know and I'll see if we can handle the load
> :)

I am going to be hackfesting and talking the ears off whomever shows
 up there.

Cheers

James Turnbull

- --
Author of:
* Pro Linux Systems Administration (http://tinyurl.com/linuxadmin)
* Pulling Strings with Puppet (http://tinyurl.com/pupbook)
* Pro Nagios 2.0 (http://tinyurl.com/pronagios)
* Hardening Linux (http://tinyurl.com/hardeninglinux)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEVAwUBSsEDHyFa/lDkFHAyAQL+AQf+PiIRMgY9vOG+JTMosmA1InKGne1X+U4W
PulQ4AogaajCJqGy176qfciMgIj67bLnSdUlgjwW4eq17Hc1nZtPDjbVUw2RuxlQ
W1reGJnmSSw8MZE/xEgdPXiVot/9sx98Iy29OB19zQ2VYgQx8rk+ULE88/mpck/x
rkn95eqJSlEcN7qOjaNg9pibPjUN/UUZMgQ8SmsLrUDIgveTRiMqWKbwY8566qz2
821JFjoIHLserHTr0+hMOuWYvyMY1kND0DnwIfzK9VrqPqEBY0tBdxwyx1iKItiq
Cy/PFRE5d6FUhL7LjUznnnv/E4GDwdkXSe8YR9ddm6H/fgW7uL26Hw==
=0w7k
-END PGP SIGNATURE-

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: puppet / works & does not work: the quantum effect

2009-09-28 Thread James Turnbull

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Nico -telmich- Schottelius wrote:
> Good morning dear puppet users,
> 
> if you experience "it works - it does not work" situations with puppet
> like I do, here may be the reason for it:
> 
>   http://www.nico.schottelius.org/blog/puppet-sometimes-loads-a-class/
> 
> I was told that this behaviour is "correct" on IRC, but I don't agree
> with it: a configuration should either work or not, not both.
> 
> What's your point of view?
> Is my approach not the way puppet users/devs think or do you also see
> this as a bug?

- From reading your blog post I am not sure that behaviour/explanation
 is exactly correct but the best approach would be to log a ticket
please.

Thanks

James Turnbull

- --
Author of:
* Pro Linux Systems Administration (http://tinyurl.com/linuxadmin)
* Pulling Strings with Puppet (http://tinyurl.com/pupbook)
* Pro Nagios 2.0 (http://tinyurl.com/pronagios)
* Hardening Linux (http://tinyurl.com/hardeninglinux)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEVAwUBSsEDbCFa/lDkFHAyAQJi6Af/Qc+A5bJf9yA5mf1TfMBHEj7NmesvK+T4
pQP00ypWEACvl4rLPP27n8clEUfjtCLtYlNrAj4Es4fLPeSVaDrFnxTbYL821gDs
bH8lXCwJjwQYDbXjd8+BphQ1Y8VBt3rCGajO0tLUj9MLd7TNHbyqkKb9M+bFP1JH
xy3GvVDZtV1gHVR8qMzqWTg/TmJZq8rWEyk6oJSJ2qwan2Zs/zSCYVjDaSN+Kkhn
3zEAZqX5QZ8OKS1KiHswljRZ5fWa87YYv2fNTaUcUZxm/auYeDZEUVYPiJe++OKA
0D4agiShQE4hXueUYoz32v7kbmv1W0V0nM0ra0J5662qSdZR7E7R7A==
=tY3y
-END PGP SIGNATURE-

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: lunch at Google on Wednesday for Puppet Campers?

2009-09-28 Thread Alex Laslavic

Love to but my flight won't get in until late afternoon.  Have fun.

On 9/28/09, Nigel Kersten  wrote:
>
> If you're interested in coming along for lunch at Google on Wednesday
> before Puppet Camp, let me know and I'll see if we can handle the load
> :)
>
>
>
> --
> nigel
>
> >
>

-- 
Sent from my mobile device


Alex Laslavic

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: lunch at Google on Wednesday for Puppet Campers?

2009-09-28 Thread Al @ Lab42

I definitively would love to lunch at Google.
Coming to SF Tuesday evening.
We should also define some kind of meeting place&hour for the
Wednesday evening meetup.
I don't intend to sleep too much in the follwing days :-)

Al

On Sep 28, 8:40 pm, Alex Laslavic  wrote:
> Love to but my flight won't get in until late afternoon.  Have fun.
>
> On 9/28/09, Nigel Kersten  wrote:
>
>
>
> > If you're interested in coming along for lunch at Google on Wednesday
> > before Puppet Camp, let me know and I'll see if we can handle the load
> > :)
>
> > --
> > nigel
>
> --
> Sent from my mobile device
>
> Alex Laslavic
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: lunch at Google on Wednesday for Puppet Campers?

2009-09-28 Thread Ian Ward Comfort

On 28 Sep 2009, at 11:29 AM, Carl Caum wrote:
> I'd definitely be interested in going but I don't get in to SF till  
> 11:00am.  According to GMaps, the earliest I could get the Google  
> Campus is at 2:00pm by bus. Anyone have any suggestions?

Caltrain should be faster -- especially if your flight is on time and  
you make the 11:31 southbound from Millbrae.  See:

http://flysfo.com/web/page/atsfo/airtrain/map/index.html
http://www.caltrain.com/timetable.html#weekday-southbound

-- 
Ian Ward Comfort 
System Administrator, Student Computing, Stanford University


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Wednesday night drinks?

2009-09-28 Thread Michael Halligan

Is anybody interested in getting together at my place downtown to  
drink scotch, talk Puppet, and chill out before the big day?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: lunch at Google on Wednesday for Puppet Campers?

2009-09-28 Thread Carl Caum
Thanks.  It still it looks like I couldn't get there before 2:00pm.  Oh
well, have fun.

On Mon, Sep 28, 2009 at 2:03 PM, Ian Ward Comfort <
icomf...@rescomp.stanford.edu> wrote:

>
> On 28 Sep 2009, at 11:29 AM, Carl Caum wrote:
> > I'd definitely be interested in going but I don't get in to SF till
> > 11:00am.  According to GMaps, the earliest I could get the Google
> > Campus is at 2:00pm by bus. Anyone have any suggestions?
>
> Caltrain should be faster -- especially if your flight is on time and
> you make the 11:31 southbound from Millbrae.  See:
>
>http://flysfo.com/web/page/atsfo/airtrain/map/index.html
>http://www.caltrain.com/timetable.html#weekday-southbound
>
> --
> Ian Ward Comfort 
> System Administrator, Student Computing, Stanford University
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: copying file from multiple sources

2009-09-28 Thread Luke Schierer
On Fri, Sep 25, 2009 at 4:04 PM, Luke Schierer wrote:

>
> This works for my redhat 5 machines, I'm able to pull from the array of
> sources.  However, it does n work for redhat 4 machines.  If a redhat 4
> machine is listed in the array, I get
>
> err: Could not call fileserver.list: # called for nil.NilClass>
> err: //Node[host1]/File[/path/to/target]: Failed to generate additional
> resources durring transaction
>
>

I am still unable to figure out why puppetd on rhel5  can pull from a
puppetmaster on rhel5 but not a puppetmaster on rhel4.   Again, any help
would be greatly appreciated.

Luke

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: lunch at Google on Wednesday for Puppet Campers?

2009-09-28 Thread Dan Bode
I am very interested at coming to Google for lunch on Wednesday.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: lunch at Google on Wednesday for Puppet Campers?

2009-09-28 Thread Carl Caum
Change of plans.  I rented a car.  I could make it if it's around 12:00 ish.

On Mon, Sep 28, 2009 at 2:12 PM, Carl Caum  wrote:

> Thanks.  It still it looks like I couldn't get there before 2:00pm.  Oh
> well, have fun.
>
>
> On Mon, Sep 28, 2009 at 2:03 PM, Ian Ward Comfort <
> icomf...@rescomp.stanford.edu> wrote:
>
>>
>> On 28 Sep 2009, at 11:29 AM, Carl Caum wrote:
>> > I'd definitely be interested in going but I don't get in to SF till
>> > 11:00am.  According to GMaps, the earliest I could get the Google
>> > Campus is at 2:00pm by bus. Anyone have any suggestions?
>>
>> Caltrain should be faster -- especially if your flight is on time and
>> you make the 11:31 southbound from Millbrae.  See:
>>
>>http://flysfo.com/web/page/atsfo/airtrain/map/index.html
>>http://www.caltrain.com/timetable.html#weekday-southbound
>>
>> --
>> Ian Ward Comfort 
>> System Administrator, Student Computing, Stanford University
>>
>>
>> >>
>>
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: lunch at Google on Wednesday for Puppet Campers?

2009-09-28 Thread Brice Figureau

On 28/09/09 19:57, Nigel Kersten wrote:
> If you're interested in coming along for lunch at Google on Wednesday
> before Puppet Camp, let me know and I'll see if we can handle the load
> :)

I'd really love to come.
I don't know yet where I'll be on wednesday, but there are great 
chances, I'll be in Los Altos, so not that far from the Google Campus...
-- 
Brice Figureau
My Blog: http://www.masterzen.fr/


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: lunch at Google on Wednesday for Puppet Campers?

2009-09-28 Thread Ohad Levy
Hi,

I would be happy to join - Thanks Nigel :)

if anyone needs a ride from the Serreno hotel (or nearby) , and / or want to
drive together let me know :)

Ohad

On Tue, Sep 29, 2009 at 1:57 AM, Nigel Kersten  wrote:

>
> If you're interested in coming along for lunch at Google on Wednesday
> before Puppet Camp, let me know and I'll see if we can handle the load
> :)
>
>
>
> --
> nigel
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: external nodes issue

2009-09-28 Thread Ohad Levy
Hi Matt,

Thats a bit odd, when using external nodes you shouldn't need any node
definitions within your manifests.

any chance you have some leftover nodes definitions?

Ohad

On Mon, Sep 28, 2009 at 5:52 PM, Matt  wrote:

>
> Update:-
>
> I added a default node to a manifest file, just -
>
> node default {
>include env
> }
>
> This appears to have made the puppetmasterd kick in to action and
> compile the catalog from the foreman for that node. i.e. I see
> puppetmasterd compile all the correct classes for the node and not
> just the default one.
>
> notice: Compiled catalog for sl01.domain.sl in 0.14 seconds
>
> But the client is still giving -
> warning: Not using cache on failed catalog
> err: Could not retrieve catalog; skipping run
>
>
>
> 2009/9/28 Matt :
> > Hi all,
> >
> > I've hit a wall trying to get external nodes working on our production
> > puppet master.  I'm using the foreman to supply the external nodes
> > information and have it all working in the dev environment.
> >
> > I've started all processes in debug - running Puppet 0.25
> >
> > puppetd -
> > debug: Puppet::Network::Format[json]: false value when expecting true
> > err: Could not retrieve catalog from remote server: Error 400 on
> > SERVER: Could not find default node or by name with 'sl01.domain.sl,
> > sl01.domain, sl01' on node sl01.domain.sl
> > warning: Not using cache on failed catalog
> > err: Could not retrieve catalog; skipping run
> >
> > puppetmasterd -
> > info: Not using expired node for sl01.domain.sl from cache; expired at
> > Mon Sep 28 09:28:47 +0100 2009
> > debug: Executing '/etc/puppet/node.rb sl01.domain.sl'
> > info: Caching node for sl01.domain.sl
> > 
> > err: Could not find default node or by name with 'sl01.domain.sl,
> > sl01.domain, sl01' on node sl01.domain.sl
> > err: Could not find default node or by name with 'sl01.domain.sl,
> > sl01.domain, sl01' on node sl01.domain.sl
> >
> > foreman -
> > Processing HostsController#externalNodes (for 127.0.0.1 at 2009-09-28
> > 09:39:30) [GET]
> >  Parameters: {"fqdn"=>"sl01.domain.sl", "action"=>"externalNodes",
> > "controller"=>"hosts"}
> > Completed in 9ms (View: 0, DB: 1) | 200 OK
> > [http://localhost/hosts/externalNodes?fqdn=sl01.domain.sl]
> >
> > manually -
> > # su - puppet
> > -bash-3.2$ cd /etc/puppet
> > -bash-3.2$ ./node.rb sl01.domain.sl
> > ---
> > parameters:
> >  s3: "false"
> >  puppetmaster: sl02.domain.sl
> >  java: jre16007
> >  domainname: domain.sl
> > classes:
> > - env
> > - ganglia
> >
> >
> > Anyone have any idea how I can find out whats going on?
> >
> > The only difference I can see between the production and dev boxes is
> > that the production box uses certdnsnames, as it has both external and
> > internal clients -
> >  certname=sl02.domain.com
> >  certdnsnames=sl02.domain.com:sl02.domain.sl
> >
> > Thanks,
> >
> > Matt
> >
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Problem installing Solaris Datastream Package

2009-09-28 Thread Andy Kocher

Hi,

I'm having problem with the way Puppet is processing Solaris
datastream packages. The following error occurs:

err: //Node[basenode]/openssl/Package[openssl-0.9.8k-sol10-x86-local]/
ensure: change from absent to present failed: Execution of '/usr/sbin/
pkgadd -a /etc/puppet/files/puppet -d /var/tmp/staging/openssl/
openssl-0.9.8k-sol10-x86-local -n openssl-0.9.8k-sol10-x86-local'
returned 1: pkgadd: ERROR: no packages were found in 

The correct command would be

/usr/sbin/pkgadd -a /etc/puppet/files/puppet -d /var/tmp/staging/
openssl/openssl-0.9.8k-sol10-x86-local

Any help is appreciated.

cheers,
Andy

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] PuppetCamp is almost here

2009-09-28 Thread Andrew Shafer
PuppetCamp is only a few days away.

I know some people are already in San Francisco.

Luke will be around tomorrow night and I'm coming in Wednesday morning.

We should be hanging around the Serrano hotel Wednesday afternoon with the
full Reductive Labs crew, Teyo, Markus, Rein and Scott.
Come lobby for features and fixes or hack on your ideas with us. I believe
James Turnbull, Brice Figureau, and Paul Nasrat should be around as well so
there should be enough people around to shed light on nearly any Puppet
related topic.

And there are also some emergent plans to meet up for dinner...

If you are in the neighborhood let us know (especially if you are staying at
the Serrano)

I should (mostly) know what is going on, so feel free to contact me.

email works, but might be slower than calling/texting 615.554.8774 or
message @littleidea on twitter (to allow for serendipitous coordination)

For those of you who can't make it, the morning sessions are going to be
recorded by SFSU folks with slides and everything.

I'm toying with streaming/capturing some of the open space discussion, but
the thing I'm most worried about is getting decent sound.

At the very least, we should be posting notes and highlights.

If anyone has any comments, questions or concerns, let me know.

Regards,
Andrew

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: lunch at Google on Wednesday for Puppet Campers?

2009-09-28 Thread Al @ Lab42

Hi Ohad,
I'll come from Serrano too, so a shared car ride is welcomed.
Meet you there tuesday evening or wednesday morning...

Al

On 29 Set, 03:12, Ohad Levy  wrote:
> Hi,
>
> I would be happy to join - Thanks Nigel :)
>
> if anyone needs a ride from the Serreno hotel (or nearby) , and / or want to
> drive together let me know :)
>
> Ohad
>
> On Tue, Sep 29, 2009 at 1:57 AM, Nigel Kersten  wrote:
>
> > If you're interested in coming along for lunch at Google on Wednesday
> > before Puppet Camp, let me know and I'll see if we can handle the load
> > :)
>
> > --
> > nigel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---