search for: craigdunn

Displaying 14 results from an estimated 14 matches for "craigdunn".

2012 Mar 05
1
New hiera backend for mysql
Hi all, Over the weekend I came up with a new backend for hiera for looking up configuration values directly from a MySQL database that may be useful to some.... http://www.craigdunn.org/2012/03/introducing-hiera-mysql-mysql-backend-for-hiera/ http://github.com/crayfishx/hiera-mysql Regards Craig -- Craig Dunn | http://www.craigdunn.org Yahoo/Skype: craigrdunn | Twitter: @crayfishX -- You received this message because you are subscribed to the Google Groups "Puppet U...
2012 Apr 25
5
exec's onlyif parameter fails for a bash one-liner
I would like to ''exec'' an installation script ''onlyif'' an installation directory is empty. I tried using following bash one-liner however it didn''t work: <code> exec{$one_install_script: require => File[$one_install_script], onlyif => "[ \"$(/bin/ls -A $one_location)\" ] && exit 1 || exit 0" }
2013 Jan 11
13
Profiles, Hiera, and create_resources('class','...')
Hi all, We''ve recently started exploring the role / profile / component module described by Craig Dunn in his blog here: http://www.craigdunn.org/2012/05/239/ and discussed on the list the other day. As I was implementing this for a profile using the apache module, I realized that I could make another refinement to our approach by using create_resources(''class'',''<module name>'') to pull our hie...
2011 Dec 22
8
Managing sensitive strings with puppet
I''m new to Puppet, and I''m a software developer, not a sysadmin, so be gentle. I have puppet managing some files via templates, and one of the template variables that needs to be plugged in is a password of sorts that shouldn''t be generally available. In particular, it can''t be stored in the manifest, as that''s stored in version control, and the
2013 Jan 15
0
Couple of blog posts on puppet design
...t.net/?p=435 I''m sharing this to solicit feedback about this approach, and also in the hope that people will find it helpful. So, if you have questions or comments, please let me know. [1] http://www.devco.net/archives/2012/12/13/simple-puppet-module-structure-redux.php [2] http://www.craigdunn.org/2012/05/239/ -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/Zbj8L4be_vIJ. To post to this group, send email to puppet-users@googlegroups.com. T...
2013 May 20
2
hiera-gpg and 400 error
...ers with a puppetmaster and various nodes, all running Debian Wheezy with the Puppet 3 packages from Puppetlabs. The Puppetmaster is configured with Passenger and Apache. I am trying to use hiera-gpg to encrypt passwords, I have it installed and have created a key as described here: http://www.craigdunn.org/2011/10/secret-variables-in-puppet-with-hiera-and-gpg/ On the Puppetmaster server I can use the encrypted data in a manifest and also access it on the commandline from heira. However when I move to a node and run puppet agent -t, I get the following: Error: Could not retrieve catalog from r...
2012 May 30
20
Thoughts on job listings?
How do folks feel about getting Puppet job listings on this list? I''ve rejected a few that we quite spammy, but when the subject matter really is a system admin with puppet experience, the decision becomes a bit different. I''m looking for general feelings. A simple +1 or -1 would be great. Mike -- You received this message because you are subscribed to the Google Groups
2012 Oct 22
3
Duplicate class declaration because of counterintuitive class scoping
Hi, I bumped into the following this afternoon (on a 2.7.19 puppet master/agent combo): consider a class profile::tomcat in module profile with the following content: $ cat modules/profile/manifests/tomcat.pp class profile::tomcat { class { ''tomcat'': } notice(''Class profile::tomcat in module profile'') } and $ cat modules/tomcat/manifests/init.pp
2010 Nov 01
7
No report named 'puppet_dashboard'
Hi all. I''m unable to integrate puppet dashboard as I keep getting the following error: No report named ''puppet_dashboard'' Relevant configuration (names changed to protect the innocent).. ==== /etc/puppet/puppet.conf [puppetd] libdir=$vardir/lib libdir=/var/www/puppet-dashboard/lib/puppet [puppetmasterd] reports = puppet_dashboard
2013 Mar 15
3
advice on module organization
Hi Folks, Like to get some advice on module organization. I have a system that has a few different components. One or more components can be installed on a host. The hosts also have a "type" dimension. This "type" dimension could (should) ideally be used to configure the system (fill in a bunch of variables). Problem is, I''m not sure how the best way to do
2013 Jan 29
3
Questions/Concerns Related to Changing Console DB Password
Hello, I ran into an issue today as I began to transition into a production environment from my Puppet testbed. I am using Puppet Enterprise 2.7 for Ubuntu (x64) and ran through the Installer and configured the Console, Cloud Provisioner, and Master on the same box. This all went well. I then began setting up agent1 for testing and after installing PE, updating the environment in the
2012 Sep 04
9
Module critique
I''ve gotten an install of solr working, but it''s pretty much a hack job at the moment. If y''all could give me your thoughts on how to improve my setup, I''d appreciate it. apache-tomcat is an rpm of Tomcat 7 that references the oracle jdk instead of openjdk. Thanks. class solr { service { ''iptables'' : ensure =>
2012 Feb 11
10
Question about reusing classes/modules
Hello Everyone, I''m still pretty new with puppet so please bare with me. I tried searching and I''m pretty sure I''ve ready my answer but I''m not sure if I''m going down the right path just yet. My scenario is this: I have 4 environments, Dev, Test, QA, Prod. Each of these environments lives in 2 sites, LA and NY. I have 5 applications that are site and
2013 Aug 29
10
Hiera and hiera-gpg
I am having a bit of difficulty implementing hiera-gpg; particularly with accomplishing the deencryption in my manifests. Can anyone either provide a simple example or point me to a good resource? I have searched alot and am still struggling. Any help would be very appreciated! Thanks! Bee -- You received this message because you are subscribed to the Google Groups "Puppet Users"