search for: llowder

Displaying 20 results from an estimated 35 matches for "llowder".

2012 Jun 15
8
Puppet Forge question
I''m running puppet in a local VM to do some testing, and all of our systems are behind a proxy. I''ve got the http_proxy environment variable set properly, but when I try to use puppet module install <foo> it doesn''t seem to honor it and can''t connect. I used wget to download it, but even when I use modulepath it still tries to connect to the forge and
2012 Jul 12
15
How can I list classes available on the puppet master?
Is there a way to get a list of all the classes available from the puppet master? I have 2 goals for this - one is documentation in a human readable form, and the other is potentially importing that data into dashboard. I did find some info on the rest API (http://docs.puppetlabs.com/guides/rest_api.html#resource-types ) but I can''t make any sense of the output from it. Thanks.
2012 Jul 09
2
layout question
I''m in the process of refactoring some code and getting it ready for 3.0 in the process. I''m trying to better modularize things as well. I''ve got a general tomcat module, but I also have a number of tomcat related things that only apply to one class of appserver we have. What would be the best way of handling these? Should I create a module, say, teamname_tomcat
2012 Jul 26
2
Please send me your puppet formatting puzzles...
Hi, I have been working on a new puppet code formatter for Geppetto for some time, and it is now starting to work quite well. The plan is to release it in Geppetto 3.0. If you want to, you can help by sending "formatting puzzles" - i.e. "given input x, produce formatted result y". I am esp. looking for code where it is impossible to follow "the style guide" -
2012 Aug 17
3
puppet-rspec / puppetlabs_spec_helper
I am using puppet 2.7.14 on Ubuntu 10.04 LTS. I have the following gems: *** LOCAL GEMS *** diff-lcs (1.1.3) hiera (0.3.0) hiera-puppet (0.3.0) metaclass (0.0.1) mocha (0.12.1) puppet-lint (0.1.13) puppetlabs_spec_helper (0.2.0) rake (0.9.2.2) rspec (2.11.0) rspec-core (2.11.1) rspec-expectations (2.11.2) rspec-mocks (2.11.1) rspec-puppet (0.1.3) When I run "rake help" I get the
2012 Jun 27
6
Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type ruby::gemInstall at myFile.pp:82
I have a module located at /etc/puppet/environments/test/modules/ruby. I n this I have a manifests folder with two .pp files - init.pp and gemInstall.pp. In one of my node def files I have: include ruby ruby::gemInstall { ''someGem-version.gem'': path => ''/path/to/agent/local/gem/repo'', } ruby::gemInstall is a define, and it has some logic to get around
2013 Mar 05
12
Boolean in hiera... problems again
Hi... I''ve been trying to set up boolean values in Hiera, but with no luck. For example, I''m using puppetlabs-haproxy module, and this is a code snippet: class haproxy ( $manage_service = true, ... ) inherits haproxy::params { ... if $manage_service { } } Now, this is how I set up values in hiera: haproxy::manage_service: false But, it seems that
2012 Oct 26
1
'puppet resource user' questions
When I run "puppet resource user <ldadpuser>" I get a resource definition back for that user. However, when I run "puppet resource user" I do NOT see <ldapuser> in the list. Is this intended behavior? Is there a way to get a list of all users, whether they are ldap or local? This node is running puppet 2.7.19 on Ubuntu 12.04 against a 2.7.19 master on Ubuntu
2012 Aug 27
1
Fact based variables sowing up empty
I''ve got a single puppet master (2.7.19 + facter 1.6.11) controlling a number of nodes (2.7.17 + facter 1.6.8-10). On all of thse, fact absed variables work as expected (such as $::operatingsystem and $::fqdn). However, on my puppet master, when I run ''puppet agent --test'' all fact based variables are combing back as empty strings. For example. I have a line in a
2012 Nov 28
2
[hiera] Hierarchy modification takes long time to be effective
Hello, I''ve something strange : When I modify my hierarchy in my hiera.yaml, it can take up to several hours, for the modification to work. eg : I create a subdir in my hieradata, move all the concerned files into, modify my hiera.yaml > from : > :hierarchy: > - %{operatingsystem} > to : > :hierarchy: > - *os/*%{operatingsystem} > but the changes
2013 Feb 22
3
puppet could'nt find hiera even when hiera gem is installed
Hiera was properly working in my environment. But puppet was looking at old version even when I have the latest hiera gem installed. So I could''nt use json backend. But puppet is not looking at my latest hiera gem. Not sure when went wrong here. Scenario: I have installed hiera couple of months back. So the gem was installed under /opt/puppet/lib/gems/1.8/gems/hiera-0.3.0
2013 Jun 11
2
hiera data bindings and template()
Hi, I''m using Puppet 3.2.1 and heavily relying on hiera data bindings. I have the following situation: class software ( $my_content = undef, ) { file { ''/path/to/file'': content => $software::my_content, } } in hieradata/software.yaml (hiera.yaml seems ok): software::my_content: template(''mymodule/myfile.erb'') With this configuration I
2012 Oct 05
1
Puppet Dashboard inventory search problems.
I''m using Dashboard 1.2.10 on an Ubuntu 10.04 LTS system, and Puppet 2.7.19 When I do an inventory search, I get a blank screen. In the logs, I found the following: Processing NodesController#search (for X.X.X.X at 2012-10-05 08:44:57) [GET] Parameters: {"action"=>"search", "controller"=>"nodes",
2013 Apr 11
3
puppet-lint -- learning stuff about style but also generating questions
Here''s one I learned: I originally had # Ensure /etc/hosts contains the basics host { "${fqdn}": host_aliases => $hostname, ip => $ipaddress, } And thru some trial and error, got down to this (which puppet-lint does not gripe about) # Ensure /etc/hosts contains the basics host { $fqdn: host_aliases => $hostname, ip => $ipaddress, }
2012 Aug 20
4
puppet-lint and 80 characters line limit?
Hi. I''m getting lots of warning like this one from puppet-lint: WARNING: line 67 has more than 80 characters Now, I don''t like warnings, so any idea how should I rewrite this line for example, to void the warning? package {''rpmforge-release'': ensure => ''0.5.2-2.el6.rf'', provider => ''rpm'', source =>
2013 Jan 21
3
How to watch a logfile in Puppet?
Hi! I''m a newbie in Puppet with some Chef experience. Now trying to convert my pet project from Chef to Puppet. When I start a Tomcat is takes some time (several seconds). I need to wait a line "Server startup in" in Tomcat''s log before proceeding. Here is a way which I used in Chef:
2012 Oct 04
3
Need help with rspec-puppet
Hello Everyone, I am fairly new to puppet and I would like to run som unit tests. I hope rspec is the right tool for it. Unfortunately, after setting it up, when I try to execute it I receive the following error: Failures: 1) helloworld Failure/Error: it { should include_class(''helloworld'') } Puppet::Error: Error converting value for param
2012 Jul 06
5
Certificate problems.
I''m setting up a dev / test environment using a couple of Ubuntu 12.04 VMs. I have puppet installed on one of them, and am trying to get it to sync against itself to get certain things in place to distribute with the nodes. However, I am having some issues. # puppet agent --test info: Creating a new SSL key for puppet-local-master err: Could not request certificate: getaddrinfo: Name
2013 Feb 13
7
PuppetDB & KahaDB db.data leak
Hi all, I''ve been looking at a potential problem, as documented here: http://projects.puppetlabs.com/issues/19241 To do with a leak within the KahaDB persistence layer of ActiveMQ. Specifically, there are reports of the db.data file growing unbounded: https://issues.apache.org/jira/browse/AMQ-3956 I''m hoping to find out information from other PuppetDB users to see if this is
2013 Feb 14
8
Checking GIT updates
Hello all, I''m using puppet to deploy my codebase from GIT. I have everything working, but i currently don''t have any way to check to make sure there is actually something TO deploy before it goes through the entire process of deploying the code. I want to create a conditional that only re-deploys the code if the revision actually changed. So far, I can have it as part of