Re: [Puppet Users] runinterval - is it seconds or minutes? Docs are incomplete!
Absolutely true Tim and while I thank the folks on the thread who chimed in, I totally understand your frustration. Sure docs are never perfect but the fact is you were looking for something specific and couldn't find it, and that sucks. Were you looking at the output of 'puppet master --genconfig' or 'puppet man master', (or something else?) when you ran into the 'duration' term and couldn't find where that was defined? Eric Sorenson - eric.soren...@puppetlabs.com irc.freenode.net #puppet: eric0 Join us at PuppetConf 2013, August 22-23 in San Francisco - http://bit.ly/pupconf13 On May 28, 2013, at 10:26 PM, Tim Schaefer asysarchit...@gmail.com wrote: Thanks for your response, and I'm sorry for ranting, but I remain unhappy with the docs. My expectations do remain high for Puppet Enterprise, and the open source product, I am certainly a huge fan. But I don't think it's unreasonable to have complete docs that include working examples of code and even diagrams to show the overall architecture. I wish I had the bandwidth to work on the docs myself, but too busy with my regular work to do that. Anyway... Anything you can do to make end users more capable of using your product is a win for you and not your competition. Thanks, Tim On May 28, 2:32 pm, Ellison Marks gty...@gmail.com wrote: Well, it's an open source project. If you feel the docs aren't clear enough, you can file a ticket or submit a pull request via git. http://docs.puppetlabs.com/contribute.html -- You received this message because you are subscribed to a topic in the Google Groups Puppet Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/puppet-users/fBC1VXt9nPA/unsubscribe?hl=en. To unsubscribe from this group and all its topics, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Re: mcollective getaddrinfo: Name or service not known
Had the same problem, but worked when i have commented out path. filebucket { 'main': server = 'learn.localdomain', #path = false, } and it was only one time weird, then i uncommented it out and worked fine filebucket { 'main': server = 'learn.localdomain', path = false, } Dont Know Why -- amd On Tuesday, August 21, 2012 6:46:52 PM UTC-5, James Trier wrote: I'm getting these errors when running 'puppet agent --test' after doing a new installation of an agent: err: /Stage[main]/Pe_mcollective::Plugins/File[/opt/puppet/libexec/mcollective/mcollective/security/sshkey.rb]/content: change from {md5}512f42272699eaa085c83d2cc67c27ea to {md5}8fa3e9125fd917948445e3d2621d40e5 failed: Could not back up /opt/puppet/libexec/mcollective/mcollective/security/sshkey.rb: getaddrinfo: Name or service not known err: /Stage[main]/Pe_mcollective::Posix/File[/etc/puppetlabs/mcollective/server.cfg]/content: change from {md5}a9c7335a83c5ac9f6a19bb195ea0c63e to {md5}db6aa935c128b6d7bd12b41dfbe33b91 failed: Could not back up /etc/puppetlabs/mcollective/server.cfg: getaddrinfo: Name or service not known I know the above error is commonly related to DNS but I'm not sure where the disconnect it. These are brand new agent installations. server field in the agent puppet.conf is the server hostname which is also the listed certname shown when 'puppet master --configprint certname,certdnsnames' is typed from the server (certdnsname is blank). Any help or direction? Thanks -- James -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Puppet displays title as 'main'
I have a file with this code in it: notify {'a': message = ${title} } The output after running 'puppet apply file.pp': notice: main notice: /Stage[main]//Notify[a]/message: defined 'message' as 'main' notice: Finished catalog run in 0.57 seconds I expected this output: notice: a notice: /Stage[main]//Notify[a]/message: defined 'message' as 'a' notice: Finished catalog run in 0.57 seconds Why is $title considered to have the value main? -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Re: The way Puppet installs things fail
Did you get any solution for this? I am facing the same problem. Please let me know. On Thursday, January 31, 2013 11:34:54 AM UTC-8, Ayub wrote: Basically, the way puppet installs things things with /usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install package_name fails due to authentication WARNING: The following packages cannot be authenticated But if I do it from an ssh console normally, using apt-get install package_name it works fine without issues. Is there a way to change how puppet uses the package installation method, so it works properly? If you're wondering, I have all relevant keys install, and I have apt-get update before I install anything, so it looks like it's puppets fault. I'm using Puppet 3.0.3 Notice: /Stage[main]/Php/Package[php5-mysql]: Dependency Package[php5] has failures: true Error: Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install php5' returned 100: Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libonig2 libqdbm14 php5-cli php5-common php5-suhosin ssl-cert Suggested packages: apache2-doc apache2-suexec apache2-suexec-custom php-pear openssl-blacklist The following NEW packages will be installed: apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libonig2 libqdbm14 php5 php5-cli php5-common php5-suhosin ssl-cert 0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded. Need to get 9103 kB of archives. After this operation, 25.8 MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap apache2.2-bin apache2-utils apache2.2-common apache2-mpm-prefork libonig2 libqdbm14 php5-common libapache2-mod-php5 php5 php5-cli php5-suhosin ssl-cert E: There are problems and -y was used without --force-yes Error: /Stage[main]/Php/Package[php5]/ensure: change from purged to latest failed: Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install php5' returned 100: Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libonig2 libqdbm14 php5-cli php5-common php5-suhosin ssl-cert Suggested packages: apache2-doc apache2-suexec apache2-suexec-custom php-pear openssl-blacklist The following NEW packages will be installed: apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libonig2 libqdbm14 php5 php5-cli php5-common php5-suhosin ssl-cert 0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded. Need to get 9103 kB of archives. After this operation, 25.8 MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap apache2.2-bin apache2-utils apache2.2-common apache2-mpm-prefork libonig2 libqdbm14 php5-common libapache2-mod-php5 php5 php5-cli php5-suhosin ssl-cert E: There are problems and -y was used without --force-yes -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Puppet displays title as 'main'
A resource declaration doesn't create a new variable scope, so the $title variable has the value of the scope containing the resource, in this case stage main. On 29 May 2013 08:28, av...@ootbdev.com wrote: I have a file with this code in it: notify {'a': message = ${title} } The output after running 'puppet apply file.pp': notice: main notice: /Stage[main]//Notify[a]/message: defined 'message' as 'main' notice: Finished catalog run in 0.57 seconds I expected this output: notice: a notice: /Stage[main]//Notify[a]/message: defined 'message' as 'a' notice: Finished catalog run in 0.57 seconds Why is $title considered to have the value main? -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Developing custom type/providers for multiple OS
Hello all, I am developing a few custom providers for some features that I need into my system (such as dealing with different zipped files or generating some JSON data based on OS files) and I have hit into a question about how to do this for multiple OS? Lets focus into the zipped file provider that should provide a common method to pack or unpack zipped files (tar, tar.gz, rar, zip or any) backed on OS tools or native ruby methods. Maybe the ruby approach would be the most portable one but I will keep that approach aside right now. We end up with 3 providers for the custom type 'zipfile': zip, rar and tar. Those providers may share code but they differ on how to delegate its functionality to third-party apps (7zip on windows and zip/unzip on linux as an example). How can I deal with that? Can I clone the provider into different files such as zip-windows.rb and zip-linux.rb, keep the same header and use the confine method? Is there any filename - provider restriction? Is that the correct approach? I have been searching through other core providers like file but I can not find my answer... Thanks -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Re: attention Puppet Experts: can i run puppet master and agent on same server
Hi There, Puppetlabs also provide some pre-configured virtual machines that can help you rapidly learn the structure of the product. You can check them out here: http://info.puppetlabs.com/download-learning-puppet-VM.html K On Tuesday, May 28, 2013 3:55:07 PM UTC+1, Ripunjay Godhani wrote: Thanks a lot will go through it On 28 May 2013 20:20, Matthew Burgess matthew@gmail.com javascript: wrote: On 28 May 2013 15:48, Ripunjay Godhani ripu...@gmail.com javascript:wrote: Hi Stan Thanks for your quick support , tell me how can i get started.. i haven't yet installed puppet on my machine any instructions would be greatly appreciated PuppetLabs provide some pretty comprehensive documentation at http://docs.puppetlabs.com/#puppetpuppet . It should certainly be enough to get you started. Regards, Matt. -- 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 javascript:. To post to this group, send email to puppet...@googlegroups.comjavascript: . Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Re: runinterval - is it seconds or minutes? Docs are incomplete!
My puppet documentation from running # puppet master --genconfig reveals: # How often puppet agent applies the client configuration; in seconds. # Note that a runinterval of 0 means run continuously rather than # never run. If you want puppet agent to never run, you should start # it with the `--no-client` option. # The default value is '1800'. # runinterval = 1800 Pretty clearly defined there, I think. -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] module dependancy
Hi, Class ['pythonpip'] - Class ['myapp'] … should do the trick for you. Regards, Tom On 14 May 2013, at 20:36, Matt F mfan2...@gmail.com wrote: I have two modules, and I'm having some dependacy problems: 1 - Install python pip: class pythonpip::install { file {/root/.pip: ensure = directory, owner = root, group = root, mode = 755 } file {/root/.pip/pip.conf: ensure = present, source = 'puppet:///modules/pythonlinux/pip.conf', mode= 0644, } } 2 - install some python packages via pip: class myapp::install { package { mechanize: provider = pip; numpy: provider = pip; pandas: provider = pip; reportlab: provider = pip; } } I want to make sure tha the pythonpip::install is alway run before the myapp::install. How can I do that? -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Re: Execution order of classes in a node
On Tuesday, May 28, 2013 3:02:20 PM UTC-5, Bikram wrote: jcbollinger John.Bollinger at stJude.org writes: If you apply only the first two classes to a clean system, does the domain get created? I bet it does.John Yes, if I run the first two classes first and then separately run the wldomain_create class, it creates the domain successfully. When I run all of them together, in that order, that's when it fails. I'm baffled. That's not what I meant. If you apply ONLY the first two classes, and not the third, then does the domain get created? In any case, the behavior you observe is surely related to the details of the modules involved. As such, I can only guess about causes without having the modules to examine. Nevertheless, my guesses are sometimes pretty good, and in this case I suspect you have a containment problem. See the docs (http://docs.puppetlabs.com/puppet/3/reference/lang_containment.html) for an explanation of the issue and a possible solution. John -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Developing custom type/providers for multiple OS
David, You'll need to use confine statements to set the suitability of a particular provider to the OS. See: http://projects.puppetlabs.com/projects/1/wiki/Development_Provider_Developmentunder 'Suitability'. The new Types and Providers book covers this reasonably well also. Finally, take a look at the 'group' provider in the Puppet core code to see how they go between Windows and other OS's. Good Luck! Trevor On Wed, May 29, 2013 at 5:40 AM, David Campos noymn.the.archan...@gmail.com wrote: Hello all, I am developing a few custom providers for some features that I need into my system (such as dealing with different zipped files or generating some JSON data based on OS files) and I have hit into a question about how to do this for multiple OS? Lets focus into the zipped file provider that should provide a common method to pack or unpack zipped files (tar, tar.gz, rar, zip or any) backed on OS tools or native ruby methods. Maybe the ruby approach would be the most portable one but I will keep that approach aside right now. We end up with 3 providers for the custom type 'zipfile': zip, rar and tar. Those providers may share code but they differ on how to delegate its functionality to third-party apps (7zip on windows and zip/unzip on linux as an example). How can I deal with that? Can I clone the provider into different files such as zip-windows.rb and zip-linux.rb, keep the same header and use the confine method? Is there any filename - provider restriction? Is that the correct approach? I have been searching through other core providers like file but I can not find my answer... Thanks -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- Trevor Vaughan Vice President, Onyx Point, Inc (410) 541-6699 tvaug...@onyxpoint.com -- This account not approved for unencrypted proprietary information -- -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] augeas for hosts.allow
Hi I am trying to configure hosts.allow using augeas with puppet. I can add a ip range if process exists with this code augeas { Add ${name} to ${process}: context = /files/etc/hosts.allow, changes = set *[process='${process}']/client[last()+1] ${name}, onlyif = match *[process='${process}']/client[.='${name}'] size == 0, but if a process doesn't exist then I can't do it dynamically, some thing like this works augeas { Add ${name} - ${process}: context = /files/etc/hosts.allow, changes = [ set 02/process ${process}, set 02/client[.='{$name}'] ${name} ], onlyif = match *[process='${process}'] size == 0, } But I have to provide node number (02 here) . The above code is mostly based on https://gist.github.com/rodjek/18c50d8800840696bac0 Can some one give a better option. What I want is that I can define different process and ip range in node manifest file like this ssh::hosts_allow { [ '1.1.1.1', '2.2.2.2', ]: process = 'sshd', ssh::hosts_allow { [ '3.3.3.3 ]: process = 'nrpe', Thanks Kashif -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] mysql create user problem
I'm new to using the puppetlabs/mysql forge module and having trouble creating the user for performing backups. My guess is that I'm overlooking something simple... Any advise is appreciated! I'm using puppet 3.1.1 on the master and puppet 2.7.14 on the node both on RHEL 6.0, mysql 5.1.47, mysql module 0.6.1 and stdlib module 4.1.0 I get the following error: err: /Stage[main]/Mysql::Backup/Database_user[backup@localhost]/ensure: change from absent to present failed: Execution of '/usr/bin/mysql --defaults-file=/root/.my.cnf mysql -e create user 'backup'@'localhost' identified by PASSWORD '*BD5515535695CE93D0D73DB8B4C3297B61184286'' returned 1: *ERROR 1227 (42000) at line 1: Access denied; you need the CREATE USER privilege for this operation* notice: /Stage[main]/Mysql::Backup/Database_grant[backup@localhost]: Dependency Database_user[backup@localhost] has failures: true warning: /Stage[main]/Mysql::Backup/Database_grant[backup@localhost]: Skipping because of failed dependencies For the following puppet code: Database { require = Class['mysql::server'], } class { 'mysql': } class { 'mysql::java': } class { 'mysql::server': config_hash = { 'root_password' = ${dbPassword} }, } database { [ 'dbname1', dbname2' ] : ensure = present, charset = 'latin1', } class { 'mysql::backup': backupuser = ${dbBackupUser}, backuppassword = ${dbBackupPassword}, backupdir = ${dbBackupDir}, } -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Re: mysql create user problem
Never mind! Some how mysql's root user lost privileges and once I fixed that the mysql module worked great! On Wednesday, May 29, 2013 11:05:10 AM UTC-4, Thomas wrote: I'm new to using the puppetlabs/mysql forge module and having trouble creating the user for performing backups. My guess is that I'm overlooking something simple... Any advise is appreciated! I'm using puppet 3.1.1 on the master and puppet 2.7.14 on the node both on RHEL 6.0, mysql 5.1.47, mysql module 0.6.1 and stdlib module 4.1.0 I get the following error: err: /Stage[main]/Mysql::Backup/Database_user[backup@localhost]/ensure: change from absent to present failed: Execution of '/usr/bin/mysql --defaults-file=/root/.my.cnf mysql -e create user 'backup'@'localhost' identified by PASSWORD '*BD5515535695CE93D0D73DB8B4C3297B61184286'' returned 1: *ERROR 1227 (42000) at line 1: Access denied; you need the CREATE USER privilege for this operation* notice: /Stage[main]/Mysql::Backup/Database_grant[backup@localhost]: Dependency Database_user[backup@localhost] has failures: true warning: /Stage[main]/Mysql::Backup/Database_grant[backup@localhost]: Skipping because of failed dependencies For the following puppet code: Database { require = Class['mysql::server'], } class { 'mysql': } class { 'mysql::java': } class { 'mysql::server': config_hash = { 'root_password' = ${dbPassword} }, } database { [ 'dbname1', dbname2' ] : ensure = present, charset = 'latin1', } class { 'mysql::backup': backupuser = ${dbBackupUser}, backuppassword = ${dbBackupPassword}, backupdir = ${dbBackupDir}, } -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Puppet 3.2.1 default log level change?
On Mon, May 27, 2013 at 10:24 AM, Andreas Ntaflos d...@pseudoterminal.orgwrote: On 27/05/13 11:20, Matthias Saou wrote: Hi, The replies to the 3.2.1 release announcement seem to indicate I'm not the only one to have been bitten by the change. I've opened an issue for this: http://projects.puppetlabs.** com/issues/20919 http://projects.puppetlabs.com/issues/20919 Andreas -- 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+unsubscribe@**googlegroups.compuppet-users%2bunsubscr...@googlegroups.com . To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/**group/puppet-users?hl=enhttp://groups.google.com/group/puppet-users?hl=en . For more options, visit https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out . We're tracking this as http://projects.puppetlabs.com/issues/20263. Basically, if you are running `puppet agent` the default loglevel has changed from notice to info. This was an unintended side-effect while trying to fix http://projects.puppetlabs.com/issues/15187. Josh -- Josh Cooper Developer, Puppet Labs *Join us at PuppetConf 2013, August 22-23 in San Francisco - * http://bit.ly/pupconf13* **Register now and take advantage of the Early Bird discount - save 25%!* -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] puppet server passenger configuration
I'm wondering if its possible to create virtual hosted puppet masters using passenger for isolation between groups/customers. How would I go about pointing through apache/passenger to point to a different puppet conf file? -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] puppet server passenger configuration
On 5/29/2013 10:53 AM, Matt wrote: I'm wondering if its possible to create virtual hosted puppet masters using passenger for isolation between groups/customers. How would I go about pointing through apache/passenger to point to a different puppet conf file? Assuming a dir structure like this, /etc/puppetmaster/cust1/ /etc/puppetmaster/cust1/public/config.ru /etc/puppetmaster/cust1/puppetmaster.conf /etc/puppetmaster/cust2/ /etc/puppetmaster/cust2/public/config.ru /etc/puppetmaster/cust2/puppetmaster.conf Each vhost would point to it's public dir Directory /etc/puppetmaster/cust1/public Options None AllowOverride None Order allow,deny allow from all /Directory The config.ru would point to the puppetmaster.conf or whatever you'd like to name it. ARGV --rack ARGV --config=/etc/puppetmaster/cust1/puppetmaster.conf require 'puppet/application/master' And finally the puppetmaster.conf would point to the directories you'd like to use. [main] confdir=/etc/puppetmaster/cust1/etc logdir=/etc/puppetmaster/cust1/logs vardir=/etc/puppetmaster/cust1/var ssldir=$vardir/ssl rundir=/etc/puppetmaster/cust1/run factpath=$vardir/lib/facter templatedir=$confdir/templates [production] modulepath = $confdir/environments/production/modules manifest = $confdir/environments/production/manifests/site.pp Same thing for each additional Puppet master. Ramin -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Re: Could not request certificate: Retrieved certificate does not match private key; please remove certificate from server and regenerate it with the current key
How do you delete the cert on the server? I've tried several approaches, and none of them seem to work. rm /var/lib/puppet/ssl/ca/signed/centos-6-4.commercialventvac.com.pem failed. puppetca –clean centos-6-4.commercialventvac.com.pem Required that I install puppet-common which I did and that still failed. Thank you Jeff On Thursday, December 20, 2012 7:34:23 AM UTC-8, Mehmet Tecer wrote: Krishna, Here is how I quickly resolve this issue. 1- Stop puppet on client. 2- Delete the cert on the server 3- Delete /var/lib/puppet directory on client. 4- Start puppet on client. This should take care of your cert issue. --Mehmet On Wednesday, November 28, 2012 8:53:02 AM UTC-5, krishna bhaskara rao wrote: Hi, I have installed puppet master and puppet agent in two redhat linux machines. After that, I have updated server details in agent machine /etc/hosts file. While executing the ping servername in agent machine, I am getting below response. = [root@ip-10-244-162-253 files]# ping puppet PING server.puppet.com (10.203.34.103) 56(84) bytes of data. 64 bytes from server.puppet.com (10.203.34.103): icmp_seq=1 ttl=61 time=0.723 ms 64 bytes from server.puppet.com (10.203.34.103): icmp_seq=2 ttl=61 time=0.570 ms 64 bytes from server.puppet.com (10.203.34.103): icmp_seq=3 ttl=61 time=0.617 ms == Then While executing one of the below commands puppetd --test or puppetd --server puppet --waitforcert 60 --verbose --test I am getting an error message like below *err: Could not request certificate: Retrieved certificate does not match private key; please remove certificate from server and regenerate it with the current key* I tried after cleaning certificates in both the machines by using puppetca --clean --all also, same error I am getting. Can any one provide a way to come out of this issue. With Regards, Krishna Bhaskara Rao. -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Unable to Connect to Master
I had a vagrant environment working perfectly yesterday, then left it alone for about 10 hours, come back, and having the same error message every time I try to run the agent. Destroyed and brought back up both VM's but still having the same results. I really have no idea where to start with this type of error, my SSL/networking experience is close to none. The VM's can ping each other by hostname and IP, and can ssh into each other. [root@vagrant-puppet-app1 vagrant]# puppet agent --test info: Retrieving plugin err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed: [certificate revoked for /CN=vagrant-puppet-master.pv.com] err: /File[/var/lib/puppet/lib]: Could not evaluate: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed: [certificate revoked for /CN=vagrant-puppet-master.pv.com] Could not retrieve file metadata for puppet://vagrant-puppet-master.pv.com/plugins: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed: [certificate revoked for /CN=vagrant-puppet-master.pv.com] err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed: [certificate revoked for /CN=vagrant-puppet-master.pv.com] warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run err: Could not send report: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed: [certificate revoked for /CN=vagrant-puppet-master.pv.com] -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] optional defined type and dependencies
Hi everybody, I'm a new puppet user, and I have a question about defined types and relationships. I want a defined type to be part of a module. It manages optional configuration files, so the user can decide to declare it one or more times or not to declare it at all. In the case the defined type is declared, I want the contained resources to be in relationship with other resources in my main module class; in particular, I want the resources in the defined type to be managed *after* package and *before* service. Two ways come to mind: 1) embed the necessary require/before (and/or subscribe/notify) inside the the defined type's resources: # == Define: software::mydefinedtype define software::mydefinedtype { file { /path/to/${name}: [...] require = Package['software'], before = Service['software'], } } 2) rely on dependency chains and a resource collector in the main module class (and of course on the containment properties of defined types): # == Class: software class software { [...] Package['software'] - Software::Mydefinedtype | | - Service['software'] } What is, in your opinion, the best method? I've tried both, and both apparently work with no issues. One doubt about method 2: at http://docs.puppetlabs.com/puppet/3/reference/lang_relationships.html, I can read: If one of the resources in a relationship is never declared, compilation will fail with one of the following errors [...] I suppose that this doesn't apply in case of resources chained through resource collectors, does it? I'm asking because, even without declarations of instances of the defined type, I got no such errors. Thanks a lot for your help! -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Hiera Environment Wildcard
I am looking to use hiera in my environment but I cannot get past one thing. In our current puppet code we have some case statements based on environments. The case statements are like the following... 'production' { do this } /^aw/ { do this } # this is for all AWS stuff 'aws' { do this } # this is the production like environment of AWS otherenv { do this } default { do this } # other server that default here I would like hiera to do the following order, hostname, environment, common. I would also like to create one YAML file for all the AW* fîles rather than create one for awtest, awsandbox, awetc. Is there a way to do this in hiera that I am missing? Or will I need to re work some logic in my puppet code? -- _ This email and any files transmitted with it are confidential and intended solely for the addressee. If you received this email in error, please do not disclose the contents to anyone; kindly notify the sender by return email and delete this email and any attachments from your system. © 2011 Currensee Inc. is a member of the National Futures Association (NFA) Member ID 0403251 | Over the counter retail foreign currency (Forex) trading may involve significant risk of loss. It is not suitable for all investors and you should make sure you understand the risks involved before trading and seek independent advice if necessary. Performance, strategies and charts shown are not necessarily predictive of any particular result and past performance is no indication of future results. Investor returns may vary from Trade Leader returns based on slippage, fees, broker spreads, volatility or other market conditions. Currensee Inc | 54 Canal St 4th Floor | Boston, MA 02114 | +1.617.624.3824 -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] puppet server passenger configuration
Thanks, that is exactly what I needed. On Wednesday, May 29, 2013 2:17:06 PM UTC-4, Ramin K wrote: On 5/29/2013 10:53 AM, Matt wrote: I'm wondering if its possible to create virtual hosted puppet masters using passenger for isolation between groups/customers. How would I go about pointing through apache/passenger to point to a different puppet conf file? Assuming a dir structure like this, /etc/puppetmaster/cust1/ /etc/puppetmaster/cust1/public/config.ru /etc/puppetmaster/cust1/puppetmaster.conf /etc/puppetmaster/cust2/ /etc/puppetmaster/cust2/public/config.ru /etc/puppetmaster/cust2/puppetmaster.conf Each vhost would point to it's public dir Directory /etc/puppetmaster/cust1/public Options None AllowOverride None Order allow,deny allow from all /Directory The config.ru would point to the puppetmaster.conf or whatever you'd like to name it. ARGV --rack ARGV --config=/etc/puppetmaster/cust1/puppetmaster.conf require 'puppet/application/master' And finally the puppetmaster.conf would point to the directories you'd like to use. [main] confdir=/etc/puppetmaster/cust1/etc logdir=/etc/puppetmaster/cust1/logs vardir=/etc/puppetmaster/cust1/var ssldir=$vardir/ssl rundir=/etc/puppetmaster/cust1/run factpath=$vardir/lib/facter templatedir=$confdir/templates [production] modulepath = $confdir/environments/production/modules manifest = $confdir/environments/production/manifests/site.pp Same thing for each additional Puppet master. Ramin -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Re: Could not request certificate: Retrieved certificate does not match private key; please remove certificate from server and regenerate it with the current key
I see my mistake. On the client, I should have deleted /var/lib/puppet/ instead of /var/lib/puppet/ssl. Deleting /var/lib/puppet/ cleared the issue. Also, the command puppetca --clean cert CLIENT is outdated. The new command is puppet cert clean CLIENT_FQDN where CLIENT_FQDN is the client's fully qualified domain name, e.g. centos-6-4.commercialventvac.com -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Vancouver, BC, CA puppet meetup group
I'm in the process of setting up a puppet meetup group, and am trying to attract members: http://www.meetup.com/Vancouver-Puppet-Automation/ If you're in or near the Vancouver BC, Canada area and are interested in talking about puppet and things, sign up! Thanks. -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] puppet server passenger configuration
OMG ! I had shot myself in the foot by moving {confdir} from /etc/puppet and then specifying confdir in my config.ru file. Using just --config may be the answer I need. Many thanks. “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) - Original Message - From: Ramin K ramin-l...@badapple.net To: puppet-users@googlegroups.com Sent: Wednesday, May 29, 2013 2:17:06 PM Subject: Re: [Puppet Users] puppet server passenger configuration On 5/29/2013 10:53 AM, Matt wrote: I'm wondering if its possible to create virtual hosted puppet masters using passenger for isolation between groups/customers. How would I go about pointing through apache/passenger to point to a different puppet conf file? Assuming a dir structure like this, /etc/puppetmaster/cust1/ /etc/puppetmaster/cust1/public/config.ru /etc/puppetmaster/cust1/puppetmaster.conf /etc/puppetmaster/cust2/ /etc/puppetmaster/cust2/public/config.ru /etc/puppetmaster/cust2/puppetmaster.conf Each vhost would point to it's public dir Directory /etc/puppetmaster/cust1/public Options None AllowOverride None Order allow,deny allow from all /Directory The config.ru would point to the puppetmaster.conf or whatever you'd like to name it. ARGV --rack ARGV --config=/etc/puppetmaster/cust1/puppetmaster.conf require 'puppet/application/master' And finally the puppetmaster.conf would point to the directories you'd like to use. [main] confdir=/etc/puppetmaster/cust1/etc logdir=/etc/puppetmaster/cust1/logs vardir=/etc/puppetmaster/cust1/var ssldir=$vardir/ssl rundir=/etc/puppetmaster/cust1/run factpath=$vardir/lib/facter templatedir=$confdir/templates [production] modulepath = $confdir/environments/production/modules manifest = $confdir/environments/production/manifests/site.pp Same thing for each additional Puppet master. Ramin -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] mcollective setup question
I am currently trying to get mcollective 2.2.4 up and running on RHEL 6 activeqm appears to be running and bound to the correct port, I see the server and client connections to the activemq box. However when I run mco ping all seems to go well except I get No responses recieved and above that I get the following log messages, debug 2013/05/29 17:02:12: activemq.rb:233:in `receive' Waiting for a message from ActiveMQ debug 2013/05/29 17:02:13: pluginmanager.rb:83:in `[]' Returning cached plugin security_plugin with class MCollective::Security::Ssl debug 2013/05/29 17:02:13: ssl.rb:222:in `deserialize' De-Serializing using marshal debug 2013/05/29 17:02:13: ssl.rb:175:in `validrequest?' Validating request from debug 2013/05/29 17:02:13: runnerstats.rb:43:in `unvalidated' Incrementing unvalidated stat warn 2013/05/29 17:02:13: client.rb:99:in `receive' Ignoring a message that did not pass security validations debug 2013/05/29 17:02:13: activemq.rb:233:in `receive' Waiting for a message from ActiveMQ debug 2013/05/29 17:02:17: client.rb:73:in `unsubscribe' Unsubscribing reply target for discovery Does anyone have any suggestions as to where to look next? -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] mcollective setup question
Does /etc/mcollective/server.cfg look correct (port, servername, etc.)? Is activemq running (and on correct port)? iptables blocking anything? The MCollective module can make things a little easier, btw: https://forge.puppetlabs.com/puppetlabs/mcollective On Wed, May 29, 2013 at 2:12 PM, Mike Bowden michael.r.bow...@gmail.comwrote: I am currently trying to get mcollective 2.2.4 up and running on RHEL 6 activeqm appears to be running and bound to the correct port, I see the server and client connections to the activemq box. However when I run mco ping all seems to go well except I get No responses recieved and above that I get the following log messages, debug 2013/05/29 17:02:12: activemq.rb:233:in `receive' Waiting for a message from ActiveMQ debug 2013/05/29 17:02:13: pluginmanager.rb:83:in `[]' Returning cached plugin security_plugin with class MCollective::Security::Ssl debug 2013/05/29 17:02:13: ssl.rb:222:in `deserialize' De-Serializing using marshal debug 2013/05/29 17:02:13: ssl.rb:175:in `validrequest?' Validating request from debug 2013/05/29 17:02:13: runnerstats.rb:43:in `unvalidated' Incrementing unvalidated stat warn 2013/05/29 17:02:13: client.rb:99:in `receive' Ignoring a message that did not pass security validations debug 2013/05/29 17:02:13: activemq.rb:233:in `receive' Waiting for a message from ActiveMQ debug 2013/05/29 17:02:17: client.rb:73:in `unsubscribe' Unsubscribing reply target for discovery Does anyone have any suggestions as to where to look next? -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- GVoice: 707.410.0371 LinkedIn: http://www.linkedin.com/in/brendanobra -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] How can I use puppet apply with hiera?
I'm running Puppet v2.7.14. I have a puppet master server with Hiera and it works great. I also want to be able to apply my manifests locally on a node. I have installed Hiera on my node and I can verify using the Hiera command line application that values can be looked up: user@tag5-4-qa-sjc:~$ hiera corp_puppet_server region=northamerica datacenter=sjc environment=qa --debug DEBUG: Wed May 29 16:03:46 -0700 2013: Hiera YAML backend starting DEBUG: Wed May 29 16:03:46 -0700 2013: Looking up corp_puppet_server in YAML backend DEBUG: Wed May 29 16:03:46 -0700 2013: Looking for data source regions/northamerica/datacenters/sjc/qa/qa-sjc DEBUG: Wed May 29 16:03:46 -0700 2013: Found corp_puppet_server in regions/northamerica/datacenters/sjc/qa/qa-sjc puppet-qa-sjc.corp.net But when I run puppet I get an error saying that a value can not be looked up: user@tag5-4-qa-sjc:~$ sudo puppet apply --pluginsync --modulepath=/home/user/puppet/modules/ /home/user/puppet/manifests/site.pp Failed to parse template puppet/puppet_run.sh.erb: Could not find value for 'corp_puppet_server' at 2:/home/user/puppet/modules/puppet/templates/puppet_run.sh.erb at /home/user/puppet/modules/puppet/manifests/init.pp:17 on node tag5-4-qa-sjc.corp.net -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Re: How can I use puppet apply with hiera?
I use the following: sudo puppet apply --pluginsync --hiera_config /path/to/hiera.yaml --modulepath=/home/user/puppet/modules/ /home/user/puppet/manifests/site.pp On Wednesday, May 29, 2013 6:06:34 PM UTC-5, Campee wrote: I'm running Puppet v2.7.14. I have a puppet master server with Hiera and it works great. I also want to be able to apply my manifests locally on a node. I have installed Hiera on my node and I can verify using the Hiera command line application that values can be looked up: user@tag5-4-qa-sjc:~$ hiera corp_puppet_server region=northamerica datacenter=sjc environment=qa --debug DEBUG: Wed May 29 16:03:46 -0700 2013: Hiera YAML backend starting DEBUG: Wed May 29 16:03:46 -0700 2013: Looking up corp_puppet_server in YAML backend DEBUG: Wed May 29 16:03:46 -0700 2013: Looking for data source regions/northamerica/datacenters/sjc/qa/qa-sjc DEBUG: Wed May 29 16:03:46 -0700 2013: Found corp_puppet_server in regions/northamerica/datacenters/sjc/qa/qa-sjc puppet-qa-sjc.corp.net But when I run puppet I get an error saying that a value can not be looked up: user@tag5-4-qa-sjc:~$ sudo puppet apply --pluginsync --modulepath=/home/user/puppet/modules/ /home/user/puppet/manifests/site.pp Failed to parse template puppet/puppet_run.sh.erb: Could not find value for 'corp_puppet_server' at 2:/home/user/puppet/modules/puppet/templates/puppet_run.sh.erb at /home/user/puppet/modules/puppet/manifests/init.pp:17 on node tag5-4-qa-sjc.corp.net -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Re: How can I use puppet apply with hiera?
--hiera_config is an invalid option for the version of puppet that I'm using. I must need a newer version.. On Wednesday, May 29, 2013 4:06:34 PM UTC-7, Campee wrote: I'm running Puppet v2.7.14. I have a puppet master server with Hiera and it works great. I also want to be able to apply my manifests locally on a node. I have installed Hiera on my node and I can verify using the Hiera command line application that values can be looked up: user@tag5-4-qa-sjc:~$ hiera corp_puppet_server region=northamerica datacenter=sjc environment=qa --debug DEBUG: Wed May 29 16:03:46 -0700 2013: Hiera YAML backend starting DEBUG: Wed May 29 16:03:46 -0700 2013: Looking up corp_puppet_server in YAML backend DEBUG: Wed May 29 16:03:46 -0700 2013: Looking for data source regions/northamerica/datacenters/sjc/qa/qa-sjc DEBUG: Wed May 29 16:03:46 -0700 2013: Found corp_puppet_server in regions/northamerica/datacenters/sjc/qa/qa-sjc puppet-qa-sjc.corp.net But when I run puppet I get an error saying that a value can not be looked up: user@tag5-4-qa-sjc:~$ sudo puppet apply --pluginsync --modulepath=/home/user/puppet/modules/ /home/user/puppet/manifests/site.pp Failed to parse template puppet/puppet_run.sh.erb: Could not find value for 'corp_puppet_server' at 2:/home/user/puppet/modules/puppet/templates/puppet_run.sh.erb at /home/user/puppet/modules/puppet/manifests/init.pp:17 on node tag5-4-qa-sjc.corp.net -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Re: How can I use puppet apply with hiera?
Upgrading my version of puppet fixes the issue, I guess I'll just do that. On Wednesday, May 29, 2013 4:06:34 PM UTC-7, Campee wrote: I'm running Puppet v2.7.14. I have a puppet master server with Hiera and it works great. I also want to be able to apply my manifests locally on a node. I have installed Hiera on my node and I can verify using the Hiera command line application that values can be looked up: user@tag5-4-qa-sjc:~$ hiera corp_puppet_server region=northamerica datacenter=sjc environment=qa --debug DEBUG: Wed May 29 16:03:46 -0700 2013: Hiera YAML backend starting DEBUG: Wed May 29 16:03:46 -0700 2013: Looking up corp_puppet_server in YAML backend DEBUG: Wed May 29 16:03:46 -0700 2013: Looking for data source regions/northamerica/datacenters/sjc/qa/qa-sjc DEBUG: Wed May 29 16:03:46 -0700 2013: Found corp_puppet_server in regions/northamerica/datacenters/sjc/qa/qa-sjc puppet-qa-sjc.corp.net But when I run puppet I get an error saying that a value can not be looked up: user@tag5-4-qa-sjc:~$ sudo puppet apply --pluginsync --modulepath=/home/user/puppet/modules/ /home/user/puppet/manifests/site.pp Failed to parse template puppet/puppet_run.sh.erb: Could not find value for 'corp_puppet_server' at 2:/home/user/puppet/modules/puppet/templates/puppet_run.sh.erb at /home/user/puppet/modules/puppet/manifests/init.pp:17 on node tag5-4-qa-sjc.corp.net -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] runinterval - is it seconds or minutes? Docs are incomplete!
On Tuesday, May 28, 2013 11:03:26 PM UTC-7, Eric Sorenson wrote: Absolutely true Tim and while I thank the folks on the thread who chimed in, I totally understand your frustration. Sure docs are never perfect but the fact is you were looking for something specific and couldn't find it, and that sucks. Were you looking at the output of 'puppet master --genconfig' or 'puppet man master', (or something else?) when you ran into the 'duration' term and couldn't find where that was defined? No, I was simply trying to change the behavior of the runinterval so that I could get more frequent updates than the 30 minute default. I think my frustration is based on speed and pressure to make things work. I have your competition nipping at my heels and I don't have time to search high and low for answers. Speed matters. I would even go so far gasp to say that IBM's online docs are a better format than Puppet because it's all in one place, no flipping around various pages. There is great value in tree-style dialogs, with a tree on the left, and content on the right. Very fast to work with this kind of documentation. Just sayin... Eric Sorenson - eric.s...@puppetlabs.com javascript: irc.freenode.net #puppet: eric0 Join us at PuppetConf 2013, August 22-23 in San Francisco - http://bit.ly/pupconf13 -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Re: PuppetDB database tunning
Already update to 1.3.1, the old database still there. Theres script for remove it via postgres script or puppet stanza to clean this such as after 30days old? On Wed, May 29, 2013 at 12:19 PM, shell heriyanto shell.heriya...@gmail.com wrote: Hi Ken thanks for your reply, We using Postgresql, we just have about 150 puppet agent, and for 130 agent its just run once per day, every day its take about 150MB. We using puppetDB 1.1.0. I will try to update puppetDB today. On Tue, May 28, 2013 at 10:23 PM, Ken Barber k...@puppetlabs.com wrote: What kind of database is this? Postgresql or the built-in HSQLDB? And - how are you calculating the database size? On Tue, May 28, 2013 at 12:19 PM, shell heriyanto shell.heriya...@gmail.com wrote: no efect, this my configuration: gc-interval = 60 node-ttl = 30m node-purge-ttl = 30m report-ttl = 30m I make ttl fast to see the change but still, my database still grow bigger. Its need to remove the database fast and create again, to make this work? how ttl work? is it just count when we do add the option, so the older database still save? thanks for any comment. On Thu, May 23, 2013 at 9:50 AM, shell heriyanto shell.heriya...@gmail.com wrote: This what i'am find, thank you Klavs. On Wed, May 22, 2013 at 9:44 PM, Klavs Klavsen kl...@enableit.dk wrote: http://docs.puppetlabs.com/puppetdb/1.3/maintain_and_tune.html Den onsdag den 22. maj 2013 09.56.36 UTC+2 skrev Heriyanto: Hi, I've been use puppetdb about 6 months ago, and now the database more than 6gigs Is that any way to recycle database? the data on database more than 30days removed, I try to find is that any option in puppetDB so far, or we need to tune from database side(i use postgresql)? Thanks for any comment. Best regards, Heriyanto -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en . For more options, visit https://groups.google.com/groups/opt_out. -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.