[Puppet Users] puppet stop working since openssl security upgrade ?

2009-11-14 Thread Jean Spirat

err: //serverbase/baseaqueos/File[/usr/local/.aqadmin]: Failed to 
generate additional resources during transaction: Certificates were not 
trusted: hostname was not match with the server certificate


hi,

 since the openssl security upgrade it seems that all my debian host are 
not working anymore with puppet. Does anyone met the same issue here ? 
IT a complete catastrophy if puppet is dead because of this 'security 
upgrade' i am kindof in a panic mode here.

puppetca -c host, puppetca -s host does not change anything

puppetversion = 0.22.4
facterversion = 1.5.6


regards,
Jean



--~--~-~--~~~---~--~~
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: Best Practices Rewrite - First Draft

2009-10-12 Thread Jean Spirat

Julian Simpson a écrit :
 I swear people who use Puppet are more fertile.  Congratulations, Paul!

 Julian.
   
this is just that they do not let chaos do the job even in biology, all 
is managed in a central repository secured by ssl certificates where the 
family keeps his good practice since years now leading to a greater 
chance of success. Of course i think Paul should have a look at children 
virtualisation because they tend to proliferate quickly as they come 
natively with 'i want a brother' service installed and running on port 
3year... :)


regards,
Jean.




--~--~-~--~~~---~--~~
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 Camp Schedule Posted

2009-09-22 Thread Jean Spirat

Peter Meier a écrit :
 (I'm working angles to see if we can get presentations
 streamed/recorded.
   
 +1 for this idea :-)
 

 I'd like to second that. Would be nice!

 cheers pete

   
o yes , would love that too. Will even pay a few $$ to view it if if 
this help to fund the cost of the recording.

regards,
Ghislain.




--~--~-~--~~~---~--~~
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: facter bug ?

2009-08-25 Thread Jean Spirat


 This is a known issue in 1.5.x which we hope to fix for 1.6.0, whilst
 still making fact resolution fast.

 http://projects.reductivelabs.com/issues/1365

 Paul

   

oh i see thanks Paul !

Jean



--~--~-~--~~~---~--~~
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] facter bug ?

2009-08-24 Thread Jean Spirat

hi,

 i have an issue with facter, here:

  sudo facter -y productname
---
productname:

  sudo facter -y |grep productname
productname: PowerEdge 860


you see ? facter productname do not show any answer but facter alone get 
it...

this is on

kernelversion: 2.6.22.14
puppetversion: 0.22.4
rubyversion: 1.8.5
facterversion: 1.5.6

 Is this normal ?

regards,
JEan



--~--~-~--~~~---~--~~
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: Facter 1.5.5

2009-06-03 Thread Jean Spirat



 cd /var/lib/gems/1.8/gems/facter01.5.5  \
 ruby installer.rb
 cd /usr/bin  ln -fs /var/lib/gems/1.8/bin/facter

 Seems the gem install is a little broken.
   

thanks, any way to repport this to someone who is managing the gem :) ?

regards,
Jean.

--~--~-~--~~~---~--~~
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: purging and recurse

2009-05-16 Thread Jean Spirat

Robin Lee Powell a écrit :
 On Sat, May 16, 2009 at 09:45:10PM +0200, jean wrote:
   
 hi,

  I have a problem with purging. I tried to create directory that are:

 file {
 $basedir:
 ensure  =  directory,
 owner   =  'root',
 purge   =  true,
 

 I think purge and ensure conflict?

 -Robin
   
hummm, not far,

it seems this is the owner and mode .. ?  So it seems we cannot create a 
directory owned by root without loosing the purging capability :(

regards,
JEan


--~--~-~--~~~---~--~~
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: stored ressources and file creation

2009-05-12 Thread Jean Spirat



 i have the lenny puppet package running on both and yes i have stored
 config running i see mysql query being done :)

 facterversion = 1.5.1
 puppetversion = 0.24.5
 

 This is likely your problem.  The bug you're encountering didn't hit  
 everyone, but it basically is a Rails constant lookup issue.  You can  
 add some lines to your rails/resource.rb file, something like:

  has_many :param_values, :dependent = :destroy, :class_name =  
 Puppet::Rails::ParamValue
  has_many :param_names, :through = :param_values, :class_name =  
 Puppet::Rails::ParamName

  has_many :resource_tags, :dependent = :destroy, :class_name =  
 Puppet::Rails::ResourceTag
  has_many :puppet_tags, :through = :resource_tags, :class_name =  
 Puppet::Rails::PuppetTag

 Or you can upgrade. :)
   


   i would like to upgrade but this is the package of the debian lenny 
which is the latest so perhaps a backport would be the solution but i 
couldn't find anyone, using the squeeze pinning of apt i need to upgrade 
all those:

  apt apt-utils aptitude base-files base-passwd bash binutils bsd-mailx 
coreutils cpio cpp cpp-4.3 debconf debconf-i18n debianutils dpkg 
dpkg-dev facter findutils g++ g++-4.3 gcc gcc-4.3 gcc-4.3-base gnupg 
gpgv grep groff-base gzip
  info iproute iptables irb1.8 libc6 libc6-dev libdb4.6 
libdbd-mysql-perl libdbi-perl libdevmapper1.02.1 libept0 libgcc1 
libgcrypt11 libgdbm3 libgmp3c2 libgnutls26 libgomp1 libgpg-error0 
libgpm2 libjs-prototype liblog4r-ruby1.8
  libmocha-ruby1.8 libmpfr1ldbl libmysql-ruby libmysql-ruby1.8 
libncurses5 libncursesw5 libnet-daemon-perl libopenssl-ruby1.8 
libpam-modules libpam-runtime libpam0g libpcre3 libplrpc-perl 
libreadline-ruby1.8 libreadline5
  libredcloth-ruby1.8 libruby1.8 libsasl2-2 libselinux1 libsepol1 
libsqlite3-0 libssl0.9.8 libstdc++6 libstdc++6-4.3-dev libtasn1-3 
libxapian15 libxml-simple-ruby locales locate login logrotate lsb-base 
lsb-release mailx man-db
  manpages mawk mktemp module-init-tools ncurses-base ncurses-bin 
net-tools passwd python python-minimal python2.5 python2.5-minimal rails 
rake rdoc1.8 readline-common rsyslog ruby1.8 ruby1.8-dev rubygems1.8 sed 
sudo tar traceroute
  tzdata vim vim-common vim-runtime vim-tiny wwwconfig-common zip zlib1g 
zlib1g-dev


so...this seems quite  a lot of change to the basic system for just 
puppet   :)

Thanks for the patch it works now.

regards,
Jean.


--~--~-~--~~~---~--~~
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: stored ressources and file creation

2009-05-11 Thread Jean Spirat


 node A:

 @@file{'/tmp/foo': tag = $fqdnofothernode }

 other node:

 File| tag == $fqdn |

 cheers pete
for me this fails with:

err: Could not retrieve catalog: Puppet::Parser::Compiler failed with 
error NameError: uninitialized constant ParamValue on node x

class mybackup::server  inherits  mybackup {

File | tag == $fqdn |
}

class mybackup::client inherits  mybackup {

@@file{/tmp/$fqdn:content =  $fqdn,tag 
=  'backup01.myserver.net';}

}


i include the mybackup::client on one node, mybackup::server on the node 
'backup01.myserver.net'  and it fails with:

err: Could not retrieve catalog: Puppet::Parser::Compiler failed with 
error NameError: uninitialized constant ParamValue on node x

Even with direct config in the nodes:


node 'main-1' {

@@file{/tmp/$fqdn:content =  $fqdn,tag =  
'backup01';}

}


node 'backup01' {

   File | tag == 'backup01' |

}


regards,
Jean.

--~--~-~--~~~---~--~~
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: stored ressources and file creation

2009-05-11 Thread Jean Spirat

Peter Meier a écrit :
 Hi

 puppet version? Did you turn stored configs on? etc.

 I assume you have followed
 http://reductivelabs.com/trac/puppet/wiki/ExportedResources ?

 cheers pete
   
yes,

i have the lenny puppet package running on both and yes i have stored 
config running i see mysql query being done :)

facterversion = 1.5.1
puppetversion = 0.24.5
(root) mysql -V
mysql  Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (i486) using 
readline 5.2


if i just invert the nodes i have the very same error on the other node:

node 'main-1' {

   File | tag == 'backup01' |
}


node 'backup01' {

@@file{/tmp/$fqdn:content =  $fqdn,tag 
=  'backup01';}
}


err: Could not retrieve catalog: Puppet::Parser::Compiler failed with 
error NameError: uninitialized constant ParamValue on node main-1




regards,
Jean


--~--~-~--~~~---~--~~
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: stored ressources and file creation

2009-05-11 Thread Jean Spirat

Jean Spirat a écrit :
 Peter Meier a écrit :
   
 Hi

 puppet version? Did you turn stored configs on? etc.

 I assume you have followed
 http://reductivelabs.com/trac/puppet/wiki/ExportedResources ?

 cheers pete
   
 

:)

when i put: 

File | tag == $fqdn |
or
File | tag == $fqdn |

then it fails with err: Could not retrieve catalog: 
Puppet::Parser::Compiler failed with error NameError: uninitialized 
constant ParamValue on node backup01

If i put:

File | tag == testme |

 i just do nothing (obviously) but if i change the file tag to : tag= 
testme then i got the same error.

  , emptying the tables of the puppetd server do not change the behavior :(

If i put:

File |  |


then the files are created... :(


so there is an issue i cannot see here in the  tag ==  part of the 
thing ...


Jean.


--~--~-~--~~~---~--~~
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] stored ressources and file creation

2009-05-08 Thread Jean Spirat

hi,

 I was wondering, can we create stored virtual ressources like a @@file 
on a node and have it realized on another node ?

regards,
Jean.

--~--~-~--~~~---~--~~
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: Could not request certificate: Certificate retrieval failed: header too long

2009-05-07 Thread Jean Spirat

Jean Spirat a écrit :
 hello,

 I tried to reinstall puppet to start with a clean install. I use debian
 packages for lenny. I purged the package, make sure that /var/lib/puppet
 and /etc/puppet where removed, i run puppetca --clean on the master and
 reinstalled it.

 then i run :

 ~#  puppetd --onetime  --test --waitforcert 30

 warning: peer certificate won't be verified in this SSL session
 err: Could not request certificate: Certificate retrieval failed: header
 too long
   
solved this was disk spoace issue ... i spent countless time on this and 
nothing to do with ssl, just plain old disk space problem 

regards,
Jean.



--~--~-~--~~~---~--~~
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: stored/virtual ressources

2009-05-07 Thread Jean Spirat

For the stored config i use this:

in the client node i do :

include backupset::client
backupset::client::backupme{ 'mybackup': }



inside the backupset::client class i have:

define backupme(   $periode='1',
$rsyncversion='29+',
$serveur='backup01.myserver.com'){

@@file { /etc/BackupPC/serveurs/$fqdn:
content = 
template(backupset/hostfile.erb),
tag =  $serveur;
}
}



in the server node i got:

include backupset::server


inside the  backupset::server class i have :

File | tag == $fqdn |


but this never create any files on the server side :(

i got :
err: Could not retrieve catalog: Puppet::Parser::Compiler failed with 
error NameError: uninitialized constant ParamValue on node 
backup01.myserver.com


i am kind of lost here on why it does not work:)


regards,
Jean.



--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---