search for: basenod

Displaying 20 results from an estimated 68 matches for "basenod".

Did you mean: basenode
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 use...
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 users/...
2008 Oct 22
5
LDAP Problem
...anager # Hosts, xyz.com dn: ou=Hosts,dc=xyz,dc=com objectClass: organizationalUnit objectClass: top ou: Hosts # default, Hosts, xyz.com dn: cn=default,ou=Hosts,dc=xyz,dc=com cn: default description: Default objectClass: device objectClass: top objectClass: puppetClient puppetclass: defaultapps # basenode, Hosts, xyz.com dn: cn=basenode,ou=Hosts,dc=xyz,dc=com cn: basenode description: Basenode objectClass: device objectClass: top objectClass: puppetClient puppetclass: baseapps # webserver, Hosts, xyz.com dn: cn=webserver,ou=Hosts,dc=xyz,dc=com cn: webserver description: Webserver objectClass: devi...
2006 Sep 14
12
Specify and respecify
Hello Puppet users, I had talked with Luke about this scenario and was wondering how others would/are handling something like this. Imagine a scenario where all servers will have a specific postfix configuration except for a server or two or three. So, you want to define a file "/etc/postfix/main.cf" and specify the source from your dist tree. But for those exceptional servers,
2007 Jul 21
5
Some ''in service'' questions
...n'' 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 package and restart the firewall when it doesn''t need to ? notice: Starting configuration run notice: //basenode/core-firewall/Service[firewall]/ensure: ensure changed ''stopped'' to ''running'' notice: //basenode/os-ubuntu/Package[man]/ensure: created notice: Finished configuration run in 52.47 seconds The relevant config elements are : file { "/etc/init.d/firewall...
2011 Mar 24
6
run stages in puppet 2.6
...ge {"repos": before => Stage["main"]} stage {"last": require => Stage["main"]} ------------------------------------------------------ This is the relationship I setup in template.pp -------------------------------------------------------- node basenode { case $operatingsystem { centos: { include centos } ubuntu: { include ubuntu } default: { include centos } } include baseapps, sshd } node default inherits basenode {} node webserver inherits basenode { ## <-- I used to define ''include apache&...
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 basenode { } [.............] All nodes inherit basenode, Inside the class "baseos"...
2013 Feb 01
3
Cannot get puppetlabs-haproxy to do what I want
I''ve been having a mess of a time using this module, which stinks because its behavior is EXACTLY what I am looking for... whenever I bootstrap new rabbitMQ nodes I want to add them to our HAProxy instance. Here''s my relevant site.pp entries: node /^rabbit.*/ inherits basenode { @@haproxy::balancermember { $fqdn: listening_service => ''messaging00'', server_names => $::hostname, ipaddresses => $::ipaddress, ports => [''55672'', ''5672''], options => '...
2007 Oct 29
2
puppetd and self management
...nit provider needs to close all file handles before executing the rc.d scripts? Additionally, I had puppetd update its own puppetd.conf file. It seemed to re-parse it, but I then started getting bizarre errors about being unable to determine resource states: Oct 27 22:35:46 svn puppetd[79458]: (//basenode/puppet/File[/usr/local/etc/puppet]) Failed to retrieve current state of resource: can''t convert nil into String Oct 27 22:35:47 svn puppetd[79458]: (//basenode/puppet/File[/usr/local/etc/puppet/puppetd.conf]) Failed to ret rieve current state of resource: can''t convert nil into S...
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), it applies firewall/firewall_mail2.pp to mail2 as well as any other server configured as a puppetd client. --- BEGIN templates.pp --- # templ...
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 subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-...
2007 May 21
3
defining client/server configs
...g an ntp class for the clients and then overriding this with an ntpserver class for the servers sensible? I believe I''m correct in saying that even if I have a setup like this then puppet does what I want, but I''m not convinced that I should expect or trust that behaviour. class basenode { include ntp ... } node fred { include basenode ... } node barney { include basenode include ntpserver ... } I''d probably prefer to just get the ntp class determine which file to use. Ideally I''d like to be able to just say "these boxes are the ntp servers...
2007 Aug 22
12
Virtual resource not found
...test notice: Ignoring cache err: Could not retrieve configuration: Failed to find virtual resources Network_interface[test1a-eth1] warning: Not using cache on failed configuration node test1a inherits test_server { realize Network_interface["test1a-eth1"] } node test_server inherits basenode { include network_dmz_virt } (all basenode classes are working) class network_dmz_virt { $domain = "mydomain.com" $broadcast = "10.1.0.255" $network = "10.1.0.0" $netmask = "255.255.255.0" $gateway = "10.1.0.1"...
2008 Apr 17
4
looking for a way to remove module interdependencies
...check() { // export a check-definition for this host } class myApp { // do whatever the app requires nagios::check { ''myapp'': } } class puppet { // ensure puppet is configured correctly nagios::check { ''puppet'': } } then we define nodes: node basenode { // do the usual stuff for this operatingsystem include puppet } // A normal system. Setup + Monitoring node X inherits basenode { $nagios_parents = [ ''parenthost'' ] include nagios include myApp } // Setup only, no monitoring at all node Y inherits basenode {...
2010 Sep 02
2
err: Could not run Puppet configuration client: Invalid parameter stage at ...
...ersion, ''2.6.0'') < 0 { case $operatingsystem { CentOS: { notice(''In the centos cases'') file { "/etc/puppet/puppet.conf": owner => root, group => root, mode => 644, source => "puppet:///bpcommon/basenode/etc/puppet/puppet- centos.conf", **line 32 } } debian: { file { "/etc/puppet/puppet.conf": owner => root, group => root, mode => 644, source => "puppet:///bpcommon/basenode/etc/puppet/ puppet.deb.conf", } } }...
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: incomplete implementation @implementation BaseNode...
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 er...
2007 May 01
8
Global Variables?
What is the view of having / not having global variables in Puppet? Facter variables are global in the sense they are defined in every scope (whereas ''normal'' variables are only available within the scope they are defined in). I could simply add a custom fact for my DoesTheServerNeedASerialConsole flag to Facter, but I''m not 100% sure I should be having the client
2011 Mar 16
3
only one puppet client fails with yum
...om'' inherits webserver { ## <- packages don''t install here } node ''kromep2.acadaca.net'' inherits webserver { ## <- packages do install here } ... } ## these nodes both inherit a webserver class from /etc/puppet/manifests/classes/template.pp node basenode { case $operatingsystem { centos: { include centos } ubuntu: { include ubuntu } default: { include centos } } include baseapps, sshd } node default inherits basenode {} node webserver inherits basenode { include apache } node dbserver inherits basenode {...
2010 Apr 26
3
[LLVMdev] r102300 breaks Obj-C codegen on Darwin x86
After commit 102300, any obj-c software compiled with clang crashes at launch time with the following stack trace. Reverting this specific commit fix the issue. ------------------------------------------------------------------------------------------------ Date/Time: 2010-04-26 10:07:01.630 +0200 OS Version: Mac OS X 10.6.3 (10D573) Report Version: 6 Interval Since Last Report: