similar to: Rake tests for hiera

Displaying 20 results from an estimated 10000 matches similar to: "Rake tests for hiera"

2012 Dec 17
3
Rspec with rspec-hiera-puppet
I''ve been working on getting spec tests on all of my modules and am down to ones that use hiera and don''t have any reasonable defaults. It looks like there is a project on GH (https://github.com/amfranz/rspec-hiera-puppet) that is designed to fill this need, but for the life of me I cannot make it work. FriedBob helped out on the IRC channel some with his solution of including
2013 Feb 26
5
Glassfish automatic installation in Puppet
Hi All, Can any one help to install my jar file automatically, When I tried to install /usr/bin/java -Xmx256m -jar /gx/mnt/software/Vidispine/Components/glassfish-installer-v2.1.1-b31g-linux.jar,its is asking for confirmation like Accept or Decline? [A,D,a,d]. So how can I pass answer with command. Please find my puppet code below exec { ''glassfishInstaExe'':
2013 Jan 29
10
Puppet service
HI All, Can any anyone please help me with attached screenshot. Actually i am not able to lauch puppet dashboard and when i have tried to running below command ,getting error. puppet resource service puppet ensure=running enable=true -- Thanks and Regards, Mamta Garg -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe
2013 Feb 06
12
Certificate nightmares
I think I really hosed my certificates somehow this morning trying to get PuppetDB and Puppet talking again -- here''s where I stand. My Puppet master and PuppetDB are again talking, or at least, aren''t complaining about communication. From my puppet master, I can run "puppet agent -t", and it runs just fine. From any other node on which puppet had been running, I
2013 Aug 27
3
puppet for deployment of Java apps
Hello, Is Puppet a good choice to deploy JAVA applications (Tomcat) where there exists a cross-system dependency (i.e. the database should be deployed before the web app)? If not, any suggestions for alternatives? -- 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
2013 Nov 30
8
Providing hiera with module data
Hi guys, I don''t know how to solve this: I want ".yaml"-files in each module''s "/data"-directory. These .yaml-files should contain data, which Hiera sould pass to the module''s manifests. How can I do that? I''m using Puppet 3.3.1 Thanks in advance! -- You received this message because you are subscribed to the Google Groups "Puppet
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"
2013 Apr 18
4
Hiera Automatic Parameter Lookup Question
This may be a dumb question, but here goes So I''m running on Puppet 3.1.1 on RHEL5, and i''ve been using Hiera since 2.5/2.6 ish and it''s been great!! I was reading up on Automatic Parameter Lookups and would love to use it for my modules. But I can''t seem to ever get Hiera/Puppet to load the value i''ve set in my yaml files. I feel like I must be
2013 Mar 14
5
Help me wrap my head around Yaml/Hiera with erwbgy/system
Trying to figure out the erwbgy/system plugin and just getting stuck.. first run it did some changes, but it ignored parameters for ntp and now its not refreshing if I update the yaml at all, Im slightly lost at what I may be missing :) hiera.yaml --- :hierarchy: - %{certname} - %{environment} - global - %{environment}/common :backends: - yaml :yaml: :datadir:
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 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
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
2013 Sep 11
6
Puppet ignores hiera completely
I''m not sure at all what''s going on here, but I''ve spent a lot of time reading over the puppet hiera docs and setting everything up, but when I run puppet agent it just seems to ignore the hiera setup completely. Both the puppet master and agent nodes have exactly the same versions of puppet and hiera (installed via the official puppet APT repository). I''ve
2013 May 29
3
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:
2013 May 08
1
Problem with hiera config
Hi all, I''m trying to work with hiera database in puppet and i''m having problems using %{variables} because they don''t get the values and i don''t know why. file hiera.yaml: cat hiera.yaml --- :backends: - yaml - puppet :hierarchy:- nodes/%{domain}/%{hostname} - os/%{operatingsystem}/%{operatingsystemrelease} -
2013 May 15
4
hiera - anything better than empty string?
Hi, starting to use hiera in earnest now (still on puppet 2.6 but planning an upgrade to 3.x this summer). the heirarchy looks for fqdn, then network_eth0, then ''default''. Some of our subnets don''t want to set http_proxy environment variables, the rest do. so default.json has a ''http_proxy_url'' key in it, but I want to exclude it for 10.9.8.7. Is
2013 Aug 28
3
passing hiera data to custom fact
I need to create a custom fact based on a parametric information (I need to get the IP of another machine knowing the hostname, the machine name could be different for different nodes so I need it parameteric and I recover the machine hostname from a hiera, but for the purpose of the question it could also be a data in the module definition). I''m installing a cluster and need to get
2013 May 07
2
hiera not using non-root user custom fact
Hi, Before I begin, my environment consists of a standard master/client config with the exception that all my clients run under a non-root user. I have to use non-root so I can''t simply restart under root to fix the problem. Master -> 3.1.1 Client -> 2.7.17 using mostly the hiera() function in my classes. problem: I have run into an issue today where my custom fact is not
2013 Apr 19
12
How to pass puppet/hiera veriable to external script ? Do I need to ?
Hi, I have a problem with running puppet with hiera based data. I am trying to cleanup user accounts on a range of servers (to have the same uid/gid). When I create existing account but with different uid/gid it doesn''t change files group ownership so I need to run a script which cleanups after cleanup ;-) I use the following code: --- :backends: - yaml :hierarchy: -
2013 Mar 18
3
Hiera 1.2.0-rc2 and deep-merge
Stumbled around a bit until I figured out you need to do this: gem install deep_merge to get it to work ! “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) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group.