Re: [Puppet Users] Custom Types and Providers

2014-07-10 Thread Dan Bode
My best guess is that modulepath is not configured to the correct location. After you run parse_config, see what Puppet[:modulepath] returns (it needs to maps to the path that contains the directory with your lib dir in it). ie: module_path/fake_module/lib parse_config should load the

Re: [Puppet Users] How to configure PIP package provider to run pip3?

2014-06-16 Thread Dan Bode
there is a patch in openstack-infra that is looking to accomplish this. They are creating different providers for pip vs. pip3 (b/c for their use case, they have to be able to use both in the same run) (it's buried in here somewhere) https://review.openstack.org/#/c/51425/ On Mon, Jun 16,

Re: [Puppet Users] Recursive hiera lookups with Arrays and Hashes

2014-05-04 Thread Dan Bode
thanks for your work on this, it was already on my TODO list. I will definitely be looking at this patch in the near future. On Mon, May 5, 2014 at 2:04 AM, Trevor Vaughan tvaug...@onyxpoint.comwrote: All, I've just patched Hiera to allow recursive lookups of Arrays and Hashes.

Re: [Puppet Users] Managing big changes

2014-04-02 Thread Dan Bode
Hi, A couple of things that I have tried before. 1. If the intention is to perform a refactor where the code changes are large, but the expected changes to the catalog are small, I would recommend looking at: - https://github.com/ripienaar/puppet-catalog-diff Depending on what versions of

Re: [Puppet Users] Re: Is ensure_resource() evil?

2014-03-31 Thread Dan Bode
I disagree that ensure_resource is evil and should not be used. It is however, potentially problematic, and it's issues are worth discussing. It was written (full disclosure by me) as an improvement over defined(). While it is not perfect (it suffers from parse-order issues), it is intended as an

Re: [Puppet Users] ENC - how to set order of operations?

2014-02-03 Thread Dan Bode
On Mon, Feb 3, 2014 at 9:45 AM, Jon Yeargers ethrbu...@gmail.com wrote: Right. So how would I declare this dependency setup if I stop using node files? Even if you use an ENC, Puppet will still consult your site manifest, so using an ENC does not preclude you from setting resource

Re: [Puppet-dev] Re: [Puppet Users] using puppet device

2013-12-12 Thread Dan Bode
On Thu, Dec 12, 2013 at 1:46 AM, Nan Liu nan@gmail.com wrote: On Wed, Dec 11, 2013 at 8:51 AM, Dan Bode bod...@gmail.com wrote: I had a bit of time to research the existing device code to see if I can use it for an integration with two specific use cases: I'm not sure what issues

Re: [Puppet Users] using puppet device

2013-12-12 Thread Dan Bode
On Thu, Dec 12, 2013 at 2:08 AM, Markus Burger markus.bur...@uni-ak.ac.atwrote: Hi, On 11-12-2013 10:51:08, Dan Bode wrote: Hi all, I had a bit of time to research the existing device code to see if I can use it for an integration with two specific use cases: 1. discovery/inventory

[Puppet Users] using puppet device

2013-12-11 Thread Dan Bode
Hi all, I had a bit of time to research the existing device code to see if I can use it for an integration with two specific use cases: 1. discovery/inventory - access hardware inventory and store it somewhere where it can be retrieved. So far, device supports this use case. - specify a list

Re: [Puppet Users] Picking a pattern apart?

2013-11-06 Thread Dan Bode
Hi Matthew, FWIW, I ran into the same issue, and wound up creating an abstraction layer on top of my hiera lookups to do this: It does a lot more than what you are asking for, but I thought it was worth mentioning since it was written to solve the same problem.

[Puppet Users] Re: [Puppet-dev] Status of Data in modules

2013-10-11 Thread Dan Bode
On Fri, Oct 11, 2013 at 11:09 AM, Eric Sorenson eric.soren...@puppetlabs.com wrote: Thanks to everyone who kicked the tires on the experimental data in modules feature included in Puppet 3.3.0. We got a lot of feedback, some cool proof-of-concept modules, and a definitive conclusion to the

Re: [Puppet Users] rspec and overriding :facts per context

2013-10-07 Thread Dan Bode
I do this with params.merge! in a before block: here is an example: https://github.com/stackforge/puppet-openstack/blob/master/spec/classes/openstack_cinder_all_spec.rb#L61 On Mon, Oct 7, 2013 at 6:26 AM, Johan De Wit jo...@open-future.be wrote: Hi, I'm looking for a way to avoid

Re: [Puppet Users] rspec-puppet require syntax

2013-09-19 Thread Dan Bode
I'm pretty sure the error is b/c the class names need to be capitalized. On Tue, Sep 17, 2013 at 10:05 AM, Guy Knights g...@eastsidegamestudio.comwrote: Can someone tell me the correct way to specify the following require statement in an rspec-puppet test? *require =

Re: [Puppet Users] puppetlabs/openstack

2013-08-30 Thread Dan Bode
it's really hard to look at the parameters and tell if something is missing. I would check the service logs for clues. first have a look at: /var/log/nova/nova-compute.log On Thu, Aug 29, 2013 at 3:27 AM, Thomas Bendler thomas.bend...@gmail.comwrote: Hi @all, I'm trying to setup an

Re: [Puppet Users] MultiNode Openstack deployement using Puppet Module

2013-08-30 Thread Dan Bode
On Fri, Aug 30, 2013 at 3:42 AM, JK jkumbh...@gmail.com wrote: Hi All, I want to deploy openstack mult node deployment on 2 physical node with 2 NIC on each of them. I have tried stackforge openstack module. It installed properly but due to some reason i couldn't launch VM instance.

[Puppet Users] Re: Error testing deploying Grizzly

2013-05-01 Thread Dan Bode
:12 on node nodename Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run I have puppet 3.1.1-1 installed and have rubygems-1.8.16-1 installed on both puppet server and agent nodes. Thanks, Ling On Tue, Apr 30, 2013 at 6:15 PM, Dan Bode bod

Re: [Puppet Users] cloudstack_resources - invalid instance resource type

2013-03-17 Thread Dan Bode
On Sat, Mar 16, 2013 at 10:08 PM, Nick Wales n...@nickwales.co.uk wrote: I've created cloudstack_resources as a module, have setup the transport.yaml and can successfully run puppet resource cloudstack_instance against my cloudstack environment. The following cloudstack_instance files have

Re: [Puppet Users] Beta release of puppetdbquery module 1.0

2013-03-04 Thread Dan Bode
On Mon, Mar 4, 2013 at 7:59 AM, Erik Dalén erik.gustav.da...@gmail.comwrote: I've released version 1.0.0-pre1 of the dalen-puppetdbquery module, it includes the old functions against the PuppetDB api version 1.0. But also some entirely new functions that will query the PuppetDB api v2.0 (in

Re: [Puppet Users] Scalability and performance

2012-10-10 Thread Dan Bode
On Tue, Oct 9, 2012 at 4:56 PM, Robjon robertjo...@gmx.us wrote: Hi guys, I am pretty new to this space, playing around with a few tools. I am trying to read up on how I would scale Puppet (or other tools) up in my installation, and came across this blog post comparing Puppet and CFEngine:

Re: [Puppet Users] anchor pattern and class containment status

2012-10-03 Thread Dan Bode
On Wed, Oct 3, 2012 at 2:57 PM, Tim Mooney tim.moo...@ndsu.edu wrote: All- We're currently using puppet 2.7.14 on master and all clients. I thought I understood why 'anchor' is part of stdlib, but after re-reading both http://projects.puppetlabs.**com/projects/puppet/wiki/**

Re: [Puppet Users] openstack:all with just 1 network interface.

2012-09-06 Thread Dan Bode
On Wed, Sep 5, 2012 at 11:48 PM, neel npater...@gmail.com wrote: Hi, From https://github.com/puppetlabs/puppetlabs-openstack I can understand that we need to create br100 bridge for case when there is just 1 network interface. From readme it not very clear what should be private_interface =

Re: [Puppet Users] create_resources function returns error can't convert Array into Hash

2012-09-05 Thread Dan Bode
On Wed, Sep 5, 2012 at 7:05 AM, JeremyCampbell jeremycampbel...@gmail.comwrote: I have written a custom function that returns a hash of data to be used by the *create_resources* function. class network::multiroute::mhpeers ( ) { $routes = gen_ip_routes(gw.uk)

Re: [Puppet Users] create_resources function returns error can't convert Array into Hash

2012-09-05 Thread Dan Bode
On Wed, Sep 5, 2012 at 8:15 AM, JeremyCampbell jeremycampbel...@gmail.comwrote: On Wednesday, September 5, 2012 4:15:31 PM UTC+2, Dan Bode wrote: On Wed, Sep 5, 2012 at 7:05 AM, JeremyCampbell jeremyca...@gmail.comwrote: I have written a custom function that returns a hash of data

Re: [Puppet Users] create_resources function returns error can't convert Array into Hash

2012-09-05 Thread Dan Bode
On Wed, Sep 5, 2012 at 8:37 AM, JeremyCampbell jeremycampbel...@gmail.comwrote: On Wednesday, September 5, 2012 5:20:49 PM UTC+2, Dan Bode wrote: On Wed, Sep 5, 2012 at 8:15 AM, JeremyCampbell jeremyca...@gmail.comwrote: On Wednesday, September 5, 2012 4:15:31 PM UTC+2, Dan Bode wrote

Re: [Puppet Users] Puppet apply err: Could not prefetch keystone_user provider 'keystone'

2012-08-09 Thread Dan Bode
On Thu, Aug 9, 2012 at 12:13 PM, Shannon McFarland shmcf...@gmail.comwrote: On a new puppet master node I get this error on a puppet apply for an OpenStack multi-node setup. This is a new one I have never seen before. Tips? This is pretty specific to the puppet/openstack integration. There

Re: [Puppet Users] duplicate resources across defined types

2012-08-02 Thread Dan Bode
On Thu, Aug 2, 2012 at 7:09 AM, Joe Topjian joe.topj...@cybera.ca wrote: Hi Dan, virtual resources are definitely intended to solve the same problem, but they would not work for this use case b/c multiple declarations of the same virtual resource still result in the duplicate definition

Re: [Puppet Users] duplicate resources across defined types

2012-08-01 Thread Dan Bode
Hi Joe, On Tue, Jul 31, 2012 at 6:41 PM, Joe Topjian joe.topj...@cybera.ca wrote: Hello, I am hoping that someone might be able to shed some light on the best way to solve an issue.

Re: [Puppet Users] duplicate resources across defined types

2012-08-01 Thread Dan Bode
On Wed, Aug 1, 2012 at 7:37 PM, Joe Topjian joe.topj...@cybera.ca wrote: Hi Dan, This is actually a pretty common modeling problem in Puppet. I figured it had to be common as this type of configuration can exist in a lot of other system administration areas. I just wrote a function

Re: [Puppet Users] librarian-puppet vs git superproject?

2012-07-25 Thread Dan Bode
On Mon, Jul 23, 2012 at 8:43 PM, Dan Bode d...@puppetlabs.com wrote: On Mon, Jul 23, 2012 at 3:43 PM, Ryan Bowlby rbowlb...@gmail.com wrote: Can anyone comment on their experiences with librarian-puppet or using git superproject with per puppet module repositories? I tried using git

Re: [Puppet Users] librarian-puppet vs git superproject?

2012-07-23 Thread Dan Bode
On Mon, Jul 23, 2012 at 3:43 PM, Ryan Bowlby rbowlb...@gmail.com wrote: Can anyone comment on their experiences with librarian-puppet or using git superproject with per puppet module repositories? I tried using git submodules for a long time. I found that I just could not keep up with

Re: [Puppet Users] Node not find

2012-07-06 Thread Dan Bode
On Fri, Jul 6, 2012 at 4:22 AM, pierre-emmanuel degand pierreemmanuel.deg...@gmail.com wrote: Hi, my new server doesn't find his node *whereas i did the same for my others servers and it works on them*. My key is generated and signed by my master (i had had to add my puppetmaster in

Re: [Puppet Users] Have puppet store updated facts in couchdb without updating configuration

2012-07-06 Thread Dan Bode
On Fri, Jul 6, 2012 at 9:01 AM, ZJE countac...@gmail.com wrote: We have a test puppet environment where we use couchDB as a facts terminus. We are thinking of using facter+couch as our new inventory system and would like to be able to pull inventory without having to resolve puppet

Re: [Puppet Users] Facts of other nodes

2012-05-10 Thread Dan Bode
You may want to have a look at this function: https://github.com/puppetlabs/puppetlabs-nodesearch it doest map exactly to your use case, but the implementation of it is close to what the implementation for your solution may look like. Its worth noting that once the next generation of

Re: [Puppet Users] File Loop, Possible??

2012-04-25 Thread Dan Bode
you could do something like this: define loopydir() { file { $module::params::base_dir/${name}: ensure = directory owner = root, group = root, } } include module::params file { $module::params::base_dir : ensure = directory owner = root group = root, } loopydir{

[Puppet Users] Re: [Puppet-dev] Taking github noise away from puppet-dev list

2012-04-12 Thread Dan Bode
+1 On Mon, Apr 9, 2012 at 2:09 PM, Michael Stahnke stah...@puppetlabs.comwrote: Since our move to github for pull requests and patches, the usefulness of puppet-dev has declined significantly. puppet-dev used to be a great list for development discussion of puppet and the ecosystem around

[Puppet Users] openstack-puppet mailing list

2012-04-04 Thread Dan Bode
Hi all, I have been working to create a community around a set of modules for configuring and deploying OpenStack. For folks who are interested in our openstack efforts, I created a separate mailing list. http://groups.google.com/group/puppet-openstack I plan to be pretty verbose about the

Re: [Puppet Users] Developing new modules using Puppet Sandbox

2012-03-21 Thread Dan Bode
on a related note. I am a little over a week into starting to write a tool to streamline my module development efforts. It is intended to model multi-node deployments and to support running integration tests. It is all ec2 based (I had to abandon my vagrant + rake workflow b/c it just did not

Re: [Puppet Users] Austin Puppet User's meetup

2012-02-19 Thread Dan Bode
for tighter integration between Puppet and OpenStack. Please RSVP at the following link if you plan to attend http://pug-austin-feb-2012.eventbrite.com/ I look forward to seeing everything there -Dan On Tue, Feb 14, 2012 at 8:08 PM, Dan Bode d...@puppetlabs.com wrote: Just a quick update. I am

Re: [Puppet Users] Austin Puppet User's meetup

2012-02-14 Thread Dan Bode
have a co-worker or two interested as well. Thanks! - Jeff On 02/07/2012 09:04 PM, Dan Bode wrote: Hi Austin Puppet Users, I will be in the area in a few weeks and I would like to try to get some of the local users together to talk Puppet and have a few beers. Curious about how much

[Puppet Users] Austin Puppet User's meetup

2012-02-07 Thread Dan Bode
Hi Austin Puppet Users, I will be in the area in a few weeks and I would like to try to get some of the local users together to talk Puppet and have a few beers. Curious about how much interest there would be for an event on the 23rd of February (location tbd). regards, Dan Bode -- You

Re: [Puppet Users] Cross-module (package) dependencies

2012-01-25 Thread Dan Bode
On Tue, Jan 24, 2012 at 1:28 AM, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: Hi, there was a discussion in the can we deprecate defined() in Telly thread about how we can even begin to design Forge modules without it. A recurring problem is that multiple modules rely on certain

Re: [Puppet Users] RFC: Deprecate defined() function for Telly.

2012-01-20 Thread Dan Bode
I wind up using defined more than I should probably admit. yes it is dangerous/confusing b/c of parse order dependencies, but it is also really useful for a few use cases * static resources in a defined resource type (avoids having to use classes to store all static dependencies) * the big

Re: [Puppet Users] RFC: Deprecate defined() function for Telly.

2012-01-20 Thread Dan Bode
{ 'foo': ensure = present } } On Fri, Jan 20, 2012 at 1:00 AM, Dan Bode d...@puppetlabs.com wrote: I wind up using defined more than I should probably admit. yes it is dangerous/confusing b/c of parse order dependencies, but it is also really useful for a few use cases * static resources

Re: [Puppet Users] pip provider

2012-01-16 Thread Dan Bode
I ran into the same issue when I tried to use the pip provider. Perhaps this is related? http://projects.puppetlabs.com/issues/7754 On Mon, Jan 16, 2012 at 11:01 AM, Chris Blumentritt cblum...@gmail.comwrote: I am running puppet 2.7.9 and using the pip provider. The package gets/is installed

Re: [Puppet Users] hiera-puppet in template

2012-01-10 Thread Dan Bode
On Tue, Jan 10, 2012 at 8:53 AM, Markus Falb markus.f...@fasel.at wrote: hi, hiera is working in my manifest but not within a template. x=%= scope.function_hiera(x) % err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template bla/blubb.conf.erb:

Re: [Puppet Users] Adding node parameters to puppet dashboard

2012-01-10 Thread Dan Bode
A face has been developed that can programmatically insert data into the Dashboard using its restful interface. usage is documented in the README https://github.com/puppetlabs/puppetlabs-dashboard You may want to have a look at a couple of branches that still need to be merged: 1.

Re: [Puppet Users] Help using puppetlabs-mysql

2011-10-31 Thread Dan Bode
you are running into a documentation issue. All of the configuration was moved to a new parameter called: config_hash. I can submit a patch On Mon, Oct 31, 2011 at 10:01 AM, treydock treyd...@gmail.com wrote: I'm working to begin managing MySQL with the puppetlabs-mysql provided module, but am

Re: [Puppet Users] Re: Help using puppetlabs-mysql

2011-10-31 Thread Dan Bode
On Mon, Oct 31, 2011 at 10:55 AM, treydock treyd...@gmail.com wrote: On Oct 31, 12:26 pm, Dan Bode d...@puppetlabs.com wrote: you are running into a documentation issue. All of the configuration was moved to a new parameter called: config_hash. I can submit a patch

Re: [Puppet Users] Re: Help using puppetlabs-mysql

2011-10-31 Thread Dan Bode
On Mon, Oct 31, 2011 at 12:44 PM, treydock treyd...@gmail.com wrote: On Oct 31, 1:56 pm, treydock treyd...@gmail.com wrote: On Oct 31, 1:05 pm, Dan Bode d...@puppetlabs.com wrote: On Mon, Oct 31, 2011 at 10:55 AM, treydock treyd...@gmail.com wrote: On Oct 31, 12:26

Re: [Puppet Users] Chaining behavior

2011-10-24 Thread Dan Bode
The ordering only applies to the order in which resources are applied, not the order in which the code is processed. It will work like you expect if you switch out the calls to the notice function with notify resources. On Mon, Oct 24, 2011 at 3:48 AM, Andre Nathan andre...@gmail.com wrote:

Re: [Puppet Users] Re: Fwd: How does an ENC find the client's enviromement?

2011-10-17 Thread Dan Bode
The client's environment is stored as a fact. Facts are saved before the ENC is called. By default, they will be saved to /var/lib/puppet/yaml/facts/NODE_NAME/TIMESTAMP.yaml An ENC can read a client's latest environment and other facts from this location. -Dan On Mon, Oct 17, 2011 at 8:25 AM,

Re: [Puppet Users] Re: Fwd: How does an ENC find the client's enviromement?

2011-10-17 Thread Dan Bode
' as the environment and you will be able to access everything Mohamed. On Mon, Oct 17, 2011 at 11:40 AM, Dan Bode d...@puppetlabs.com wrote: The client's environment is stored as a fact. Facts are saved before the ENC is called. By default, they will be saved to /var/lib/puppet/yaml/facts/NODE_NAME

Re: [Puppet Users] Cloud Provisioner: What works and what doesn't work?

2011-10-15 Thread Dan Bode
This definitely was a bug: http://projects.puppetlabs.com/issues/10062 It has been resolved in master (the latest source) and will be fixed in the next release. On Sun, Oct 9, 2011 at 2:02 PM, Dan Bode d...@puppetlabs.com wrote: thanks for pointing out this issue. I have a feeling

Re: [Puppet Users] puppetlabs-mysql: How does the command on this line get the mysql root password?

2011-10-11 Thread Dan Bode
It expects the password to be set somewhere other than on the command line (my.cnf) On Tue, Oct 11, 2011 at 7:18 AM, adam adus...@gmail.com wrote: Stupid question here: how does this line of code get the mysql root password?:

Re: [Puppet Users] More cloud provisioner stuff

2011-10-09 Thread Dan Bode
On Thu, Oct 6, 2011 at 1:41 PM, Joshua Vaughn-Uding unix.magic...@gmail.com wrote: I'm still having some issues with cloud provisioner. I have a fresh install of provisioner, .60rc1, puppet 2.7.3, and dashboard 1.2.0. Everything has a very default install as described in the

Re: [Puppet Users] Cloud Provisioner: What works and what doesn't work?

2011-10-09 Thread Dan Bode
thanks for pointing out this issue. I have a feeling that this issue was caused by some changes in how faces handles options between 2.7.2 and 2.7.3 The cloud provisioner definitely needs to be updated to work with the latest version of Puppet. could you try this out with 2.7.2rc3 and see if the

Re: [Puppet Users] Concat::Fragment collection broken in 2.7.5

2011-10-04 Thread Dan Bode
what version did you upgrade from? could you also recreate with --trace. thanks, Dan On Tue, Oct 4, 2011 at 2:36 PM, Bruno Leon nonolem...@gmail.com wrote: I don't if anybody is using the concat modules from ripienaar, but since an upgrade to 2.7.5 I keep getting an error on fragment

Re: [Puppet Users] Get the value of a parameter passed to a parameterized class

2011-10-03 Thread Dan Bode
This is stored inside of the compiled catalog. Catalogs are saved on the client where they are applied the default location is: /var/lib/puppet/client_yaml/catalog/CERTNAME.yaml On Mon, Oct 3, 2011 at 3:44 PM, Bruno Leon nonolem...@gmail.com wrote: Hi, is there a way to get the value of a

Re: [Puppet Users] apply.pp module missing?

2011-10-02 Thread Dan Bode
It looks like it is failing b/c you are running a version older than 2.6.x (probably 0.25.5) for 0.25.5, the executable is a little different, try running: $ puppet my_test_manifest.pp there are significant syntax changes between 0.25.5 and 2.6.x, I would not recommend starting with the older

Re: [Puppet Users] Help with cloud provisioner

2011-10-02 Thread Dan Bode
Thanks for being an early adopter of cloud provisioner. Fixes for these issues will exist in the next version (and currently exist in master if you install from source) On Fri, Sep 30, 2011 at 2:59 PM, Josh joshevau...@gmail.com wrote: I have a very basic puppet install right now, running

Re: [Puppet Users] mysql database

2011-10-02 Thread Dan Bode
you can find several examples of existing types/providers for managing mysql online. Here is one example: https://github.com/puppetlabs/puppetlabs-mysql hope this helps -Dan On Sun, Oct 2, 2011 at 1:26 PM, Matthew Black mjbl...@gmail.com wrote: No that is one of the ways to do it. The

Re: [Puppet Users] Increment variable each time a definition is called.

2011-09-27 Thread Dan Bode
I can think of something really hacky that I don't recommend for production, it could be ok for debugging purposes. notice(inline_template( '%= $dangerous_counter = $dangerous_counter || 0; $dangerous_counter = $dangerous_counter + 1 %' )) will create a global variable in Ruby, I have a feeling

Re: [Puppet Users] Software inventory

2011-09-21 Thread Dan Bode
On Wed, Sep 21, 2011 at 9:45 AM, Glenn Bailey replic...@dallaslamers.orgwrote: Howdy, Before I go about writing one myself, anyone out there written a software inventory module/fact for gathering a list of all installed rpms/debs on a system? Got a few ideas floating around in my head, but

Re: [Puppet Users] Software inventory

2011-09-21 Thread Dan Bode
its also pretty easy to programatically access the information, which could make parsing it easier: require 'puppet' Puppet::Type.type(:package).instances On Wed, Sep 21, 2011 at 10:53 AM, Glenn Bailey replic...@dallaslamers.orgwrote: Before I go about writing one myself, anyone out there

Re: [Puppet Users] deliberately causing template failure?

2011-09-21 Thread Dan Bode
using the fail function should work: content = inline_template('%= fail(doh) %') On Wed, Sep 21, 2011 at 12:56 PM, Daniel Pittman dan...@puppetlabs.comwrote: On Wed, Sep 21, 2011 at 12:00, Christopher Wood christopher_w...@pobox.com wrote: How do I cause template failure in the erb ruby?

Re: [Puppet Users] CloudPack's node install .... ignores certname

2011-09-21 Thread Dan Bode
We recently noticed the same issue. I have a feeling that is may be related to the version of puppet that is running. What version are you running? We have actually been actively working on a fix in the following pull request: https://github.com/puppetlabs/puppetlabs-cloud-provisioner/pull/16 a

Re: [Puppet Users] automatic certificate signing for CloudPack

2011-09-20 Thread Dan Bode
On Mon, Sep 19, 2011 at 4:56 PM, hamoun hamoun...@gmail.com wrote: Hi All Despite several tries I have been unable to setup automatic certificate signing for CloudPack. This is part of typical output: warning: peer certificate won't be verified in this SSL session warning: peer

Re: [Puppet Users] Re: Requiring a package to satisfy a provider requirement

2011-09-20 Thread Dan Bode
On Tue, Sep 20, 2011 at 5:27 AM, Matthew Willsher matthew.wills...@gmail.com wrote: On Sep 20, 1:02 pm, Matthew Willsher matthew.wills...@gmail.com wrote: On Sep 19, 4:06 pm, Matt matthew.wills...@gmail.com wrote: On Sep 19, 3:52 pm, John Kennedy skeb...@gmail.com wrote: Would

Re: [Puppet Users] Handling ENC / Class interface changes

2011-08-09 Thread Dan Bode
On Mon, Aug 8, 2011 at 5:51 AM, Oliver Hookins ohook...@gmail.com wrote: Hi all, Recently I've hit against this problem which is proving to be a formidable foe. We have an in-house developed ENC and use parameterised classes just about everywhere and as a result enjoy a fairly flexible way

Re: [Puppet Users] Moving config to an ENC

2011-07-12 Thread Dan Bode
mentioning on the ENC page so people like myself can find it easier. On Tue, Jul 5, 2011 at 10:42 PM, Dan Bode d...@puppetlabs.com wrote: Hi J, The create resources function was created to serve this exact use case (the README actually mentions your exact use case :) ) https://github.com

Re: [Puppet Users] Moving config to an ENC

2011-07-05 Thread Dan Bode
Hi J, The create resources function was created to serve this exact use case (the README actually mentions your exact use case :) ) https://github.com/puppetlabs/puppetlabs-create_resources This will require 2.6.5 or higher to work (That is the first version where ENC's support param classes)

[Puppet Users] rabbitmq puppet module

2011-06-15 Thread Dan Bode
://github.com/puppetlabs/puppet-apt Feedback would be greatly appreciated, and best facilitated as issues through github or via email regards, Dan Bode -- 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

[Puppet Users] Re: [Puppet-dev] Open Source Team planning meeting summary 2011-06-1

2011-06-15 Thread Dan Bode
Hi, I just wanted to clarify something from this email. Although the best way to get traction for a ticket in the future will be voting in the ticketing system, people are always welcome to highlight particular tickets in order to solicit votes. With that in mind, a quick list of things that I

Re: [Puppet Users] configuration history

2011-06-14 Thread Dan Bode
On Tue, Jun 14, 2011 at 7:47 AM, puppeter puppe...@centrum.cz wrote: Hi people, I have a quite interesting problem here. We are using Puppet for deploying configuration files (among others) and GIT for keeping version history of templates. But now we got a request to keep also history of

Re: [Puppet Users] two possibilities for declaring resources with hashes [was: Virtual resources and hashes]

2011-06-13 Thread Dan Bode
On Mon, Jun 13, 2011 at 10:18 AM, Randall Hansen rand...@puppetlabs.comwrote: I think Aaron lays out the options pretty well. This issue has been hanging fire for quite a while, and it would be nice to come to a decision about what our path forward is. Who else cares about this? What do

Re: [Puppet Users] RFC: Adding implicit stages to Puppet

2011-06-10 Thread Dan Bode
On Thu, Jun 9, 2011 at 6:42 PM, Nigel Kersten ni...@puppetlabs.com wrote: https://projects.puppetlabs.com/issues/7697 One problem people producing modules that make use of stages are hitting is that it's difficult to create something reusable that integrates seamlessly into existing setups.

Re: [Puppet Users] ruby dsl manifests

2011-06-01 Thread Dan Bode
you should be able to do something like: call_function(:defined, 'Foo['bar']') just keep in mind that the defined function (or anything for resource detection) is parse order dependent which can lead to unexpected results. On Wed, Jun 1, 2011 at 9:04 PM, Matt mjbl...@gmail.com wrote: I've

Re: [Puppet Users] ralsh - unable to pass alias array for host resource

2011-05-31 Thread Dan Bode
On Tue, May 31, 2011 at 8:34 AM, PBWebGuy pbweb...@gmail.com wrote: I'm trying create an entry in the /etc/hosts file but when trying to use the 'alias' parameter I'm getting a munge error because it can't parse the array passed from the command-line. I've tried all sorts of ways to define

Re: [Puppet Users] Cross-module dependencies

2011-05-23 Thread Dan Bode
On Sun, May 22, 2011 at 11:06 PM, Matthew Macdonald-Wallace li...@truthisfreedom.org.uk wrote: Hi all, I've got modules for NGINX and PHP-FPM which are working fine, the issue I'm running into is that quite often NGinx will start before php-fpm is even installed. I'm wondering if there's

Re: [Puppet Users] Going to publish custom modules : Request for comments

2011-05-15 Thread Dan Bode
On Sun, May 15, 2011 at 7:34 AM, Matthias Saou th...@spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net wrote: Hi, I've been using puppet for a while now, and over time I've created many classes and definitions for a whole bunch of different things. It's all very RHEL4, RHEL5

Re: [Puppet Users] variable scope for templates

2011-05-12 Thread Dan Bode
Hi, the issue is related to how scoping works for nodes in Puppet. The variable defined in your child nodes is not accessible from within the basenode node and is thus not available in its included classes. In order for the variable to be availble to the template, you would have to move the

Re: [Puppet Users] Re: extlookup == bad?

2011-04-14 Thread Dan Bode
On Thu, Apr 14, 2011 at 12:24 AM, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: Hi John, On 04/13/2011 05:47 PM, jcbollinger wrote: Given my position that the good use cases for parameterized classes are specialized and few, I tend to agree about different uses. That parameterized

Re: [Puppet Users] Puppet resource type notify and Puppet Dashboard

2011-04-14 Thread Dan Bode
On Thu, Apr 14, 2011 at 7:35 AM, JohnW boerma@gmail.com wrote: Hello, I'm using the following call in my default profile: notify { development: message = Puppet environment development, loglevel = info; } with similar entries in other

Re: [Puppet Users] extlookup == bad?

2011-04-12 Thread Dan Bode
Hi all, Thanks for the input On Tue, Apr 12, 2011 at 12:54 AM, R.I.Pienaar r...@devco.net wrote: - Original Message - On Mon, Apr 11, 2011 at 9:25 PM, John Warburton jwarbur...@gmail.com wrote: OK, I'll bite In the newly published Style Guide (

Re: [Puppet Users] extlookup == bad?

2011-04-12 Thread Dan Bode
On Tue, Apr 12, 2011 at 8:00 AM, R.I.Pienaar r...@devco.net wrote: - Original Message - On 04/12/2011 04:41 PM, R.I.Pienaar wrote: - Original Message - On Tue, Apr 12, 2011 at 12:54 AM, R.I.Pienaar r...@devco.net wrote: The PDL is a *much* more

Re: [Puppet Users] extlookup == bad?

2011-04-12 Thread Dan Bode
On Tue, Apr 12, 2011 at 11:24 AM, R.I.Pienaar r...@devco.net wrote: - Original Message - Hi all, Thanks for the input On Tue, Apr 12, 2011 at 12:54 AM, R.I.Pienaar r...@devco.net wrote: - Original Message - On Mon, Apr 11, 2011 at 9:25 PM, John

Re: [Puppet Users] extlookup == bad?

2011-04-11 Thread Dan Bode
On Mon, Apr 11, 2011 at 9:25 PM, John Warburton jwarbur...@gmail.comwrote: OK, I'll bite In the newly published Style Guide ( http://docs.puppetlabs.com/guides/style_guide.html), right at the end it says Modules should avoid the use of extlookup() in favor of ENCs or other

Re: [Puppet Users] poor mans puppet, can puppet work with a offline puppetmaster?

2011-04-02 Thread Dan Bode
On Sat, Apr 2, 2011 at 3:54 AM, Cosimo Streppone cos...@streppone.itwrote: On Sat, 02 Apr 2011 08:27:35 +1100, Nigel Kersten ni...@puppetlabs.com wrote: On Fri, Apr 1, 2011 at 5:00 AM, S Ahmed sahmed1...@gmail.com wrote: Could I use my local laptop as a puppet master, and only start up the

Re: [Puppet Users] Optional requires?

2011-04-01 Thread Dan Bode
On Fri, Apr 1, 2011 at 6:34 AM, Robin Lee Powell rlpow...@digitalkingdom.org wrote: A discussion on IRC about having classes that depend on each other sometimes (i.e. a munin class that needs to do mysql-specific things on those hosts where mysql is installed) reminded me of a feature I've

Re: [Puppet Users] test manifests?

2011-03-31 Thread Dan Bode
On Thu, Mar 31, 2011 at 8:20 AM, Clay Caviness ccavin...@gmail.com wrote: Reading through the recently published style guide, I see http://docs.puppetlabs.com/guides/style_guide.html#tests saying: All manifests should have a corresponding test manifest in the module’s tests directory. the

Re: [Puppet Users] test manifests?

2011-03-31 Thread Dan Bode
On Thu, Mar 31, 2011 at 8:37 AM, Clay Caviness ccavin...@gmail.com wrote: On Thu, Mar 31, 2011 at 11:29, Dan Bode d...@puppetlabs.com wrote: On Thu, Mar 31, 2011 at 8:20 AM, Clay Caviness ccavin...@gmail.comwrote: Reading through the recently published style guide, I see http

Re: [Puppet Users] way of importing .pp file or some string that contain class definition in ruby dsl

2011-03-23 Thread Dan Bode
Have a look at external node classifiers, I believe this is a more appropriate approach for what you are trying to accomplish: http://docs.puppetlabs.com/guides/external_nodes.html On Wed, Mar 23, 2011 at 7:47 AM, junaid_malik junaidmali...@gmail.comwrote: I'm finding the way to import a file

Re: [Puppet Users] Proposal: strict mode for manifests

2011-03-15 Thread Dan Bode
This is a huge +1 from me On Mon, Mar 14, 2011 at 9:41 PM, Kevin Beckford lazy...@gmail.com wrote: This certainly explains a lot. A very good idea, IMO. -- 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] Berlin Puppet meet-up?

2011-03-14 Thread Dan Bode
Hi Puppeteers, I will be in Berlin for the next couple of weeks and was wondering if any Puppet users would be interested in getting together for beer, trading Puppet stories, etc... -Dan -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post

[Puppet Users] Re: Berlin Puppet meet-up?

2011-03-14 Thread Dan Bode
On Mon, Mar 14, 2011 at 10:32 AM, Dan Bode d...@puppetlabs.com wrote: Hi all, I posted the invitation for Berlin Puppet meetup here: http://www.meetup.com/Puppet/Berlin-DE/80813/?ed=descr sorry, wrong link: http://www.meetup.com/Puppet/Berlin-DE/ please RSVP so I can get an idea about

[Puppet Users] Re: Berlin Puppet meet-up?

2011-03-14 Thread Dan Bode
at 8:22 AM, Dan Bode d...@puppetlabs.com wrote: Hi Puppeteers, I will be in Berlin for the next couple of weeks and was wondering if any Puppet users would be interested in getting together for beer, trading Puppet stories, etc... -Dan -- You received this message because you

Re: [Puppet Users] Defines in External node classifier

2011-03-07 Thread Dan Bode
HI Matthew, Have a look at this custom function that I wrote: https://github.com/puppetlabs/create_resources The README has an example of how to pass defined resources as class parameters through an ENC. On Mon, Mar 7, 2011 at 8:53 PM, Cashdollar, Matthew mcashdol...@orbitz.comwrote: Hello,

Re: [Puppet Users] Puppet dsl

2011-03-04 Thread Dan Bode
On Fri, Mar 4, 2011 at 8:50 AM, Kevin Beckford lazy...@gmail.com wrote: Is the puppet dsl a complete Turing capable language? Puppet is not a general purpose programming language, it is a tool that manages infrastructure, you could probably mathematically prove that it is Turing complete, but

Re: [Puppet Users] Puppet Parse Trees (for a lint checker)

2011-03-01 Thread Dan Bode
Hi Nick (long time :) ) On Tue, Mar 1, 2011 at 3:14 AM, Nick Moffitt n...@zork.net wrote: I mean to write a lint checker for my manifests, but I am not a ruby developer to any degree of proficiency. What I think I would like is some kind of serialization of the AST for a given .pp file,

Re: [Puppet Users] Test driven manifests?

2011-02-25 Thread Dan Bode
On Fri, Feb 25, 2011 at 9:24 AM, Darren Worrall d...@darrenworrall.co.ukwrote: Firstly, forgive me if I get my terminology mixed up. Being sold on the virtues of TDD, I have a growing itch to test our puppet manifests. Now by this I dont mean testing, say, the mechanics of a define to test

  1   2   3   >