Re: [Puppet Users] disabling puppet agent auto-runs on a host

2013-11-25 Thread Calvin Walton
foo.pp' on the command line, then you don't need puppet running as a daemon at all. Just stop the service, disable the init script, and you're good to go. -- Calvin Walton calvin.wal...@kepstin.ca -- You received this message because you are subscribed to the Google Groups Puppet Users group

Re: [Puppet Users] request for /proc/cpuinfo examples from aix, hpux, kfreebsd, non-x86 linux

2013-10-23 Thread Calvin Walton
platform (in this case, a Google/LG Nexus 4 smartphone - platform codename mako) You don't have any existing testcases for a quad-core ARM device, so it might be useful for you. (Attached so as to preserve tabs vs. spaces formatting.) -- Calvin Walton calvin.wal...@kepstin.ca -- You received

Re: [Puppet Users] hiera and defaults

2013-08-26 Thread Calvin Walton
the database type to postgres instead: server::database: postgresql In this case, I'd expect the value from hiera to override the default parameter value, and the server would be installed with postgres, not mysql. -- Calvin Walton calvin.wal...@kepstin.ca -- You received this message because you

Re: [Puppet Users] realizing virtual resource does not match on default properties

2013-04-30 Thread Calvin Walton
it be considered a bug? Running puppet version 3.0.0. I've seen http://projects.puppetlabs.com/issues/9655 which looks related, but I'm not sure if it's the same issue. It would probably be a good idea to open a bug specifically for the issue you're seeing. I would expect this to work :) -- Calvin

Re: [Puppet Users] Re: Puppet 3.1, Hiera and a class parameter called service

2013-04-18 Thread Calvin Walton
be removed once you upgrade to a puppet version that includes the fix. -- Calvin Walton calvin.wal...@kepstin.ca -- 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

Re: [Puppet Users] How we can create two database Using same credetial using Puppet

2013-03-21 Thread Calvin Walton
'), provider = 'mysql', require = Database['vidispine'], } database_grant { 'u...@example.com/vidispine': privileges = 'all', provider = 'mysql', require = Database_user['u...@example.com'], } -- Calvin Walton calvin.wal...@kepstin.ca smime.p7s Description: S/MIME

Re: [Puppet Users] Puppet to copy file instead of symlink

2013-03-05 Thread Calvin Walton
thanks, David. When you read the fine documentation located at: http://docs.puppetlabs.com/references/latest/type.html#file You will note that there is a links parameter on the file resource that can be used to set the behaviour with regards to symlinks. -- Calvin Walton calvin.wal...@kepstin.ca

Re: [Puppet Users] Referencing a variable from one class in another

2013-01-28 Thread Calvin Walton
'], ) { include apache::params @file { $kibana::params::apache_config: ... However, this conflicts with the class {} style declarations in your apache/manifests/init.pp file. For best results, you should switch those to use the include method as well. -- Calvin Walton calvin.wal...@kepstin.ca -- You

Re: [Puppet Users] Referencing a variable from one class in another

2013-01-28 Thread Calvin Walton
On Mon, 2013-01-28 at 11:00 -0600, Ti Leggett wrote: On Jan 28, 2013, at 10:56 AM, Calvin Walton calvin.wal...@kepstin.ca wrote: The fix is trivial, just add an include apache::params (or even just include apache) at the top of your kibana::apache class, like so: # modules/kibana

Re: [Puppet Users] Referencing a variable from one class in another

2013-01-28 Thread Calvin Walton
on the puppet master before the kibana::apache class. This is a parse-time ordering problem, not a run-time ordering problem. The only way to force parse-time ordering right now is to do a direct include, unfortunately. -- Calvin Walton calvin.wal...@kepstin.ca -- You received this message because you

Re: [Puppet Users] Re: Remove certificate requests

2012-12-21 Thread Calvin Walton
certificates in puppet 2.7, but no longer does in 3.0 -- Calvin Walton calvin.wal...@kepstin.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

Re: [Puppet Users] site.pp referring to other manifests without modules

2012-12-21 Thread Calvin Walton
' { include myuser .. other things .. } Then these 'include's will automatically find the file modules/myuser/init.pp and load it for you. That's it! -- Calvin Walton calvin.wal...@kepstin.ca -- You received this message because you are subscribed to the Google Groups Puppet Users group

Re: [Puppet Users] site.pp referring to other manifests without modules

2012-12-21 Thread Calvin Walton
On Fri, 2012-12-21 at 16:09 -0500, Calvin Walton wrote: On Tue, 2012-12-18 at 09:09 -0800, r...@certifydatasystems.com wrote: Hi all, I want to do some code reuse, and modules seem overkill. Is it possible to have something like this? Modules really aren't that much overkill

Re: [Puppet Users] puppet.conf questiosn

2012-12-02 Thread Calvin Walton
process. -- Calvin Walton calvin.wal...@kepstin.ca smime.p7s Description: S/MIME cryptographic signature

Re: [Puppet Users] Could not parse for environment production: Syntax error at '{'; expected '}' at

2012-10-30 Thread Calvin Walton
it the same as a native puppet type. Your node.pp should look like this: node 'thegrid.geofusion' { include apache apache::snippit { 'site-test.conf': } } -- Calvin Walton calvin.wal...@kepstin.ca smime.p7s Description: S/MIME cryptographic signature

Re: [Puppet Users] Accessing variable from a user defined resource in the same module

2012-10-26 Thread Calvin Walton
here. Using mname::config::$a is not working. I am using %= scope.lookupvar(mname::config::$a % to get the value. In templates, you don't use the $ character on variable names. If the template is being used directly in the mname::config type, you can do %= @a % (preferred) or %= a % -- Calvin

Re: [Puppet Users] Using regex to match hostnames in hiera

2012-10-26 Thread Calvin Walton
parameter lookup, or call the hiera() functions anywhere in your manifest. -- Calvin Walton calvin.wal...@kepstin.ca smime.p7s Description: S/MIME cryptographic signature

Re: [Puppet Users] Possible to exclude an event in Puppet dashboard?

2012-10-22 Thread Calvin Walton
the facts for the next puppet run. -- Calvin Walton calvin.wal...@kepstin.ca smime.p7s Description: S/MIME cryptographic signature

Re: [Puppet Users] Retiring information from collections

2012-10-17 Thread Calvin Walton
This is documented at http://docs.puppetlabs.com/puppetdb/1/maintain_and_tune.html#deactivate-decommissioned-nodes -- Calvin Walton calvin.wal...@kepstin.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

Re: [Puppet Users] Resource Chaining Classes

2012-09-10 Thread Calvin Walton
/puppet/2.7/reference/lang_run_stages.html#limitations-and-known-issues in particular, make sure that the classes in the non-main stage don't include other classes without setting the stage on them as well! -- Calvin Walton calvin.wal...@kepstin.ca -- You received this message because you

Re: [Puppet Users] Speed up file resource on Windows

2012-08-30 Thread Calvin Walton
in the tree, then sync each file separately. If you have the ability to put the directories in packages and install them, or even just put them in a zip archive and unzip them to install them, you will see much better performance. -- Calvin Walton calvin.wal...@kepstin.ca -- You received this message

Re: [Puppet Users] Possible to copy ssh key from node A to node B?

2012-08-30 Thread Calvin Walton
puppet masters. It looks like this: https://gist.github.com/3531206 -- Calvin Walton calvin.wal...@kepstin.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

Re: [Puppet Users] How to set default values for downloaded modules?

2012-08-24 Thread Calvin Walton
': server_list = [ 'a.example.com', 'b.example.com' ] } } note testsrv { include myconfig::ntp } -- Calvin Walton calvin.wal...@kepstin.ca -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group

Re: [Puppet Users] Override a file{} directive - is it possible?

2012-08-18 Thread Calvin Walton
some_classes $security_limits_disabled = true } -- Calvin Walton calvin.wal...@kepstin.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

Re: [Puppet Users] How to modify client authentication in passenger based puppet master behind ssl proxy

2012-08-18 Thread Calvin Walton
syntax for this. Do note that you want to make sure to *only* pass through these headers when receiving a request from the proxy server! Otherwise any client could connect, even on unsecured HTTP, and pretend to be authenticated as whomever it wants by just adding headers to the request. -- Calvin

Re: [Puppet Users] Array Length

2012-08-15 Thread Calvin Walton
% and % in the template is interpreted as ruby code. Everything outside is passed through as text to the output. -- Calvin Walton calvin.wal...@kepstin.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

Re: [Puppet Users] Delete unmanaged files in directory

2012-08-08 Thread Calvin Walton
', recurse = true, purge = true, } Make sure you read the documentation for details: http://docs.puppetlabs.com/references/latest/type.html#file -- Calvin Walton calvin.wal...@kepstin.ca -- You received this message because you are subscribed to the Google Groups Puppet Users

Re: [Puppet Users] File default precedence..?

2012-08-04 Thread Calvin Walton
class from in that one; so don't do that. -- Calvin Walton calvin.wal...@kepstin.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

Re: [Puppet Users] Installing a customized package: use custom repo / overwrite / patch?

2012-08-01 Thread Calvin Walton
', require = [ Package['thepackage'], File['some-patch'] ], } If the package will always be installed and upgraded through puppet, you might consider making the exec 'refreshonly' and notifying it from the package resource. -- Calvin Walton calvin.wal...@kepstin.ca -- You received

Re: [Puppet Users] err: Invalid parameter hostgroup at line 370 on node

2012-08-01 Thread Calvin Walton
') { if $ip == 'UNSET' { $ip = $::fqdn } ... } -- Calvin Walton calvin.wal...@kepstin.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

Re: [Puppet Users] rand losing its randomness after using fqdn_rand

2012-08-01 Thread Calvin Walton
= srand(Digest::MD5.hexdigest([lookupvar('::fqdn'),args].join(':')).hex) rand(max).to_s +srand(old_seed) end -- Calvin Walton calvin.wal...@kepstin.ca -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email

Re: [Puppet Users] Running make via puppet manifest

2012-08-01 Thread Calvin Walton
talks about ordering and dependencies. -- Calvin Walton calvin.wal...@kepstin.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

Re: [Puppet Users] Can an template (erb file) get installed via a package resource?

2012-08-01 Thread Calvin Walton
/modules1.html#modules to find out how this works. -- Calvin Walton calvin.wal...@kepstin.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

Re: [Puppet Users] Could not find dependency Package even the package already theres.

2012-07-31 Thread Calvin Walton
, and will install it if it is missing. -- Calvin Walton calvin.wal...@kepstin.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

Re: [Puppet Users] Creating Subgroups in Puppet Dashboard

2012-07-22 Thread Calvin Walton
, in case you have a one-off situation. -- Calvin Walton Blindside Networks http://www.blindsidenetworks.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

[Puppet Users] Re: Gentoo package provider

2012-06-26 Thread Calvin Walton
On Thursday, 21 June 2012 14:04:05 UTC-4, Stefan Schulte wrote: In my opinion these changes should fix all the issues above. One issue will still exists though: You can install multiple versions of the same package (slots): # portageq match / autoconf sys-devel/autoconf-2.13