Displaying 20 results from an estimated 1000 matches similar to: "variables in variable and class names"
2010 Apr 21
1
Overriding a resource created in a define
I''m using the resolv.conf pattern described here:
http://projects.puppetlabs.com/projects/puppet/wiki/Resolv_Conf_Patterns
In my node templates I have a "base" class that does all of the
housekeeping chores to set up a basic server (install preferred
editors, subversion, etc.). I added a call to the resolv_conf define
to set up the standard /etc/resolv.conf file used by 95%
2010 May 06
1
samba 4 libnss_winbind.so
Hi,
I'm testing samba4 alpha 12 on Ubuntu 10.04 Lucid Server
I followed this HOWTO
http://wiki.samba.org/index.php/Samba4/HOWTO
All seems ok.
Now, i want get the samba users, groups in my server with winbind
I find this howto
http://wiki.samba.org/index.php/Samba4/Winbind
"The current installation process put the library libnss_winbind.so in
<PATH_TO_SAMBA>/lib (ie.
2018 Jun 28
4
CTDB upgrade to SAMBA 4.8.3
Hello,
i upgraded my ctdb cluster (3 nodes) from samba 4.7.7 to 4.8.3. Followed
the steps under "policy" in this wikipage
https://wiki.samba.org/index.php/Upgrading_a_CTDB_cluster. I shutdown
all CTDB nodes and upgraded them. After the upgrade i started all nodes
and ctdb status shows:
Number of nodes:3
pnn:0 192.168.199.52 OK (THIS NODE)
pnn:1 192.168.199.53 OK
pnn:2
2015 Mar 07
3
4.2.0 Relocation error
Greetings,
I am trying to get 4.2.0 Installed on a raspberry pi 2, I can build and
install, but upon running samba -D I get the following:
root at pdc1:/home/pi# samba -D
samba: relocation error: samba: symbol lpcfg_lock_directory, version
SAMBA_HOSTCONFIG_0.0.1 not defined in file libsamba-hostconfig.so.0 with
link time reference
I used the following to configure and build
waf configure
2011 Jan 20
1
libwbclient not found
Hi,
I've just done a fresh install of ubuntu maverick, I added the PPA sources
deb http://ppa.launchpad.net/samba-team/ppa/ubuntu maverick main
deb-src http://ppa.launchpad.net/samba-team/ppa/ubuntu maverick main
installed Samba4....
For some reason samba can't find libwbclient
root at morannon:/etc/apt/sources.list.d# ldd -d -r /usr/sbin/samba
linux-vdso.so.1 =>
2008 May 06
5
Environments and tiers
Does anyone have any suggestions about how to deal with multiple
environments/tiers?
For instance, we have several environments ( production, dev, qa,
etc.. ) and within each environment, different tiers ( web, data, app,
etc ). Each tier is a different IP network segment, so all the hosts
in each tier have different configurations for certain things like
resolv.conf, ntp.conf and so on.
We do
2009 Oct 12
15
We're sorry, but something went wrong on Tomcat
I am using JRuby and I have to deploy on Tomcat. My web app is working
fine in the dev envirmonment, with Mongel, but when I deploy on Tomcat
I get "We''re sorry, but something went wrong on Tomcat".
The problem is that production.log only shows:
# Logfile created on Mon Oct 12 12:54:36 +0100 2009-bash-3.00
The file permission and directory are 777.
Any idea how I can
2013 Jun 24
1
Problem compil samba 4.0.6
Hi all,
I have a problem when I try to compil samba 4.0.6 on my test machine
(suse linux enterprise server 11 SP2 32-bits).
output of compilation :
[3353/3781] Linking default/lib/param/libsamba-hostconfig.so
[3354/3781] Linking default/lib/tdb_wrap/libtdb-wrap.so
[3355/3781] Linking default/libcli/security/libsamba-security.so
[3356/3781] Linking default/lib/util/libutil_tdb.so
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
}
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
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
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,
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
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
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:
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
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'',
2012 May 24
1
svychisq using two frames
Hello,
I?m hoping you have a few minutes to help out someone very new to R. I?ve
done some searching, but cannot find this particular issue.
I have survey data from two different time periods (years). Both years are
stratified samples and have the same variables (and variable names), but are
different people in the community answering in the different years.
Everything loads into the survey
2008 Oct 20
5
Combining all possible values of variables into a new...
I'm trying to create a new column in my data.frame where subjects are categorized depending on values on four other columns. In any other case I would just nest a few ifelse statements, however, in this case i have 4*6*2*3=144 combinations and i get weird 'context overflow' errors. So I wonder if there is a more efficient way of doing this.
For illustrational purposes, let's say
2016 Apr 06
2
LTO renaming of constants with inline assembly
On Wed, Apr 6, 2016 at 11:16 AM, Peter Collingbourne <peter at pcc.me.uk>
wrote:
> On Wed, Apr 6, 2016 at 10:49 AM, Teresa Johnson <tejohnson at google.com>
> wrote:
>
>>
>>
>> On Wed, Apr 6, 2016 at 10:46 AM, Peter Collingbourne <peter at pcc.me.uk>
>> wrote:
>>
>>> I suspect that the right way to do promotion/renaming of this