similar to: puppet 3 and hiera

Displaying 20 results from an estimated 400 matches similar to: "puppet 3 and hiera"

2007 Dec 13
1
Help me understand class namespacing
I asked on IRC but no one responded. Suppose the following: class basenode { include users include security class webserver { include apache, php } } node web1a { include basenode::webserver } Does node web1a imply including users and security specified under class basenode as well? Similarly, does this mean the same thing? class basenode { include users include security }
2012 Jul 01
1
puppet-hiera used with Parameterised class
Hi Puppet Users, For some bizzare reason I am unable to use hiera-puppet with a parameterised class. The output is: ---------------------------- root@hiera hieratest/manifests# puppet apply -e "include hieratest" Error: undefined method `catalog'' for #<Hash:0xb6c53d00> at line 1 on node hiera.localdomain Wrapped exception: undefined method `catalog'' for
2013 Mar 20
2
How to make sure my common module executes before all other ones
I am running puppet 3.1.1 and have a site.pp which roughly looks like this site.pp: node basenode { include common } node ''server1'' inherits basenode { include role::appserver } node ''server2'' inherits basenode { include role::webserver } And my common module includes lots of different types of classes for creating base directories, adding in
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
2007 Oct 29
2
puppetd and self management
OS: FreeBSD 6.2-RELEASE Puppet: 0.22.4 OS: CentOS 5.0 Puppet: 0.23.2 Is it currently not possible for puppetd to upgrade itself (0.22.4 -> 0.23.2)? I tried it, and when puppetd attempted to restart itself (using the init provider), it failed to start back up. Perhaps the init provider needs to close all file handles before executing the rc.d scripts? Additionally, I had puppetd update its
2007 Sep 11
5
Node behavior
Hello, I am rather new to Puppet and am starting to test it out for use on a client''s servers. I am running into difficulty with node behavior. I want to specify a different firewall for every server. The default "basenode" works (applies the various files/functions/etc to all the servers just fine). However, when I specify the following (see nodes.pp, specifically),
2007 May 21
3
defining client/server configs
Still very new to puppet, so go easy :-) Bit of a braindump I''m afraid, but I''d really appreciate any "Yep", "interesting", "No!!!" comments. I''ll start with an example - adding NTP support. This primarily consists of two configs: a) NTP clients - this is quite easy, it''s a templated file requiring the names of the NTP
2011 Mar 24
6
run stages in puppet 2.6
hello guys, I am trying to incorporate run stages into my puppet setup. I''ve been working with this for a few days and I haven''t quite got the hang of it yet... When I attempt my puppet run this is the error I see: ------------------------------------------------ [root@chromews21 ~]# puppetd -t err: Could not retrieve catalog from remote server: Error 400 on SERVER:
2008 Oct 22
5
LDAP Problem
I am trying to configure puppet with LDAP repository . I have set puppet schema and I have also added node definition at LDAP. Here is my configuration details . ############################################################## Puppet.conf node_terminus = ldap ldapserver = 10.250.11.127 ldapbase = ou=Hosts,dc=xyz,dc=com ldapassword = secret
2008 Apr 17
4
looking for a way to remove module interdependencies
Hello List, i''m running into an issue with puppet where I don''t know how to solve correctly. We''re managing applications and our monitoring (nagios) using puppet using the following schema: class nagios { // ensure nrpe ist installed // export a host definition nagios::check { ''ping'': } nagios::check { ''load'': } ...
2013 Oct 11
4
Duplicate declaration for files.
Hello, I''m configuring my linux server with puppet open and is ok. My question is the next; I''ve a declared in mi nodes.pp the next: [.............] node ''basenode'' { include ''baseos'' include ''motd'' import ''useradd.pp'' } #All nodes for my domain node /.*\.example\.com/ inherits
2010 Apr 26
0
[LLVMdev] r102300 breaks Obj-C codegen on Darwin x86
I managed to build a reduced test case: ================== foo.m ================== #include <Foundation/Foundation.h> @interface BaseNode : NSObject <NSCoding, NSCopying> { } @end @implementation BaseNode @end int main(int argc, char **argv) { return 0; } ========================================== # clang -o foo -arch i386 -framework Foundation foo.m foo.m:8:1: warning:
2009 Jul 21
0
new puppet config - fileserver issue
Hi I am a newbie to puppet. I have tried an initial config serving a simple file & dir from the puppetmaster, but the client will not mount. What obvious mistake am I making, I wonder? puppetmaster is a DNS alias for osiris3. Config files: [root@osiris3 puppet]# cat fileserver.conf [config] path /data/puppet/manifests/files allow *.pinnacle.co.uk [root@osiris3 puppet]# cat puppet.conf
2010 Jun 14
2
stack level too deep
I''m getting this on my client: Jun 14 15:21:26 s_sys@app09.fr.xxx.com puppetd[24751]: Could not retrieve catalog: stack level too deep on node app09.fr.twofish.com Jun 14 15:21:26 s_sys@app09.fr.xxx.com puppetd[24751]: Not using cache on failed catalog Since running puppetd in debug gives no useful info: info: Starting handler for Runner info: Starting server for Puppet version 0.24.8
2009 Feb 04
1
Issue with template.pp
Hi i am creating a template.pp for different OS.. Following is my template.pp file node basenode { case $operatingsystem { fedora: { include fedora } default: { include debian } } include baseapps, sshd, admin, default } <=== line 7 node default inherits basenode {} I receive an error. err: Could not parse for environment production: Syntax error
2010 Jul 23
3
Design, syntax question for passing values from node.pp
Is it possible to define variable at this level. I need to pass the monit config file name ( sometimes its monitrc sometimes in not ). Here is what I have. # /etc/puppet/manifests/nodes.pp node basenode { include postgresql include monit include wiki include apace } node ''freebeerontuesdays.com'' inherits basenode { } -- You received this message because you are
2011 Dec 06
1
module can't find other modules
I have these three modules with the following structure: |-- modules | |-- create_resources | | |-- LICENSE | | |-- Modulefile | | |-- README | | |-- lib | | | `-- puppet | | | `-- parser | | | `-- functions | | | `-- create_resources.rb | | |-- spec | | | |-- spec.opts | | | |-- spec_helper.rb | | | `-- unit
2011 Jul 23
2
Node or site.pp for global variables without dynamic lookup
Hi all, I am working on rewriting my entire puppet environment and try to ''fix'' ''Dynamic lookup'' as it will be deprecated in some time, but even after reading quite some docs and on the forum, it''s not really clear to me. What I have read so far, is that each variable must be fully-qualified or parameterized in a class. As a quick
2012 Oct 18
0
Puppet own function
Good day. Im trying to make my own function. I keep getting this message. err: Could not retrieve catalog from remote server: Error 400 on SERVER: Function ''brent_k'' does not return a value at /etc/puppet/modules/munin/manifests/init.pp:17 on node XYZ.com Here is my simple code xyz.com:/etc/puppet/modules/munin/lib/puppet/parser/functions# cat brent_k.rb module
2007 Jul 21
5
Some ''in service'' questions
Hi, Just a quick query about some things that crop up when I run ''puppetd --test''. Every time I run this command I always see the following output, which I think is strange as the ''man'' package has been installed previously and the firewall service is definitely running. Has anybody got any suggestions as to why puppet thinks it needs to install the man