similar to: How to setup /etc/resolv.conf dependent on network

Displaying 20 results from an estimated 9000 matches similar to: "How to setup /etc/resolv.conf dependent on network"

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: -
2012 Oct 19
3
Node specific exported resources
Greetings, I''m trying to wrap my head around a solution to a problem I''m facing with an exported resources configuration I have. I''m using the following simple config to build a munin configuration: @@file { "/etc/munin/munin.conf.d/${::fqdn}.node": content => "[All Hosts;${::fqdn}] address ${ipaddress_eth0} use_node_name yes\n\n", tag
2012 Jun 18
1
using hiera for node classification
Hi All, I''ve been trying to use Hiera for node classification, my sit.pp is simple: node default { hiera_include("classes") } which has been working well with simple class definitions like: user@host$ cat testagent.yaml 2012-06-18 14:55:48 jon pts/13 --- classes: - motd Is anyone doing this in production? I''ve seen a little about this on line but it
2005 Dec 29
1
Resolving ambiguous columns during a join
I am working with an existing schema and thus limited in how much I can bend my existing column names. I have a table Users, and a table ForumUsers, for which I have a "has_one" relationship - a user has_one forumuser. When I look at my user records I wish to include some information from forumuser: @users = User.find :all, :include => :forum_user, :order =>
2006 May 15
5
Australian Ruby/Rails Web Host
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: rebecca.vcf Type: text/x-vcard Size: 414 bytes Desc: not available Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060515/4cd2f87d/rebecca.vcf
2013 Aug 22
4
Could not parse for environment production: Cannot assign to variables in other namespaces
We''re trying to set a role variable in one of our role classes i.e. class role::nameserver { $::role = ''nameserver'' include profile::baseline } however we get the following error Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not parse for environment production: Cannot assign to variables in other namespaces We do not get
2018 Mar 20
3
Tinc deployments in the USA
Are there any Tinc deployments in the USA in Medium sized businesses and small Enterprises? Use case is to provide site-to-site VPN functionality. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20180320/1e41904a/attachment.html>
2006 Jul 20
1
resolve problem
Hi, I had install a CentOS 4.3. In etc/resolve.conf, the nameserver i use is the static IP which i was issue by the datacentre. I cant resolve any domain. But if i use a public DNS IP, i am able to resolve. What is wrong with my IP? regards
2013 Mar 08
2
multiple pamameter values in puppet dashboard ENC
Is there a way to use send multiple parameter values using puppet dashboard ENC? For example, nameserver = 10.0.0.1, 10.0.0.2 or perhaps nameserver = [''10.0.0.1'',''10.0.0.2''} then the template erb file can loop through each of the nameserver values to set up mulitple nameservers in resolve.conf? Thanks - Oli -- You received this message because you are
2009 May 31
9
No more than one "instances" of a type in define()?
Hi folks, when I try to do something like: define railsproject($name, $uid, $gid, $userpass, $sqlpass) { mysql_database { "$name_staging": ensure => present } mysql_database { "$name_production": ensure => present} ....more stuff... } I get: Puppet::Parser::AST::Resource failed with error ArgumentError: Duplicate definition: Mysql_database[] is already
2010 Oct 22
2
problem w/ puppet & augeus : xinetd.d/rsync server_args value
Hello, I would like to have the following line (among others) in my /etc/xinetd.d/rsync file : server_args = --daemon --address=<ipaddress_eth0> --log-file=/var/log/rsyncd.log To this end, i am using the camptocamp rsyncd module available from git. Everything works except this line. I thought it was, perhaps, a questions of spaces (this has been discussed on the list before),
2009 Nov 29
4
NetworkManager constantly overwriting /etc/resolve.conf - how to disable?
Hi all, I have a CentOS 5.4 server-only installation, i.e. no X installed, and for some odd reason /etc/resolve.conf gets overwritten by NetworkManager on a constant basis. I haven't been able to track down how often, but I think it's on the hour, or something. This is the conents of the file right now: # Generated by NetworkManager # No nameservers found; try putting DNS servers into
2007 Feb 07
3
Diagnosing poor call quality
Greetings list, We have an issue with call quality at 2 sites where the users (4 Elmeg IP290s at one site, 2 SPA942s at the other) do not have an asterisk box on-site. Each site has an 8mb down/448k up ADSL connection and the phones connect via SIP to an asterisk box in a datacentre using g729. The asterisk box in the datacentre connects to our other asterisk boxes providing pstn connectivity
2009 Jun 18
7
Testing if a resource is already defined
Hi gang, Is it possible to test if a particular resource has already been defined? I''d like to do something like this: if !Host["$fqdn"] { host {"$fqdn": ip => "$ipaddress_eth0" } } Essentially, test to see if there is no Host resource defined for the current server and if not, add a host entry for itself using the IP address of eth0. Possible?
2010 Jun 24
7
Yet more variable scoping pain.
Some days I wonder why I even bother with puppet. --- classes: - datacentre::new_york - role::appserver - elements::tfel0 environment: production: parameters: < set key/value pairs here > class ldap { < do some stuff that behaves slightly differently between different data centers > } class role::appserver { include ldap } So, I wanted to set some variables in the
2010 Oct 13
7
using a Laptop as a KVM console?
Hi all, Has anyone seen something like this before: I want to use a laptop as a KVM console. Basically when a technician goes to one of our datacentres, or clients he has to look for a free LCD, keyboard & mouse to connect to a server (no network access, reinstall, troubleshoot failed kernel / HDD, etc). And then hopefully there's an open power socker in that cabinet. So I'm
2012 Jul 10
9
Hiera and environments
Hey there, I''m new to hiera and I'' m looking to configure it to use multiple environments. I''m able to query hiera keys from using the hiera CLI, however my clients seem to be having problems identifying the look up variables. *On the puppet master, CLI query* [root@puppet-dev puppet]# hiera -a sshpackages environment=development ["openssh",
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
2012 May 22
2
Announce: Hiera-Puppet 1.0.0rc1 Available
Hiera-Puppet 1.0.0rc1 is a feature release candidate designed to accompany Puppet 3.0 and Hiera 1.0. It includes Puppet functions for hiera and also the puppet backend for hiera lookups. Downloads are available: * Source http://downloads.puppetlabs.com/hiera/hiera-puppet-1.0.0rc1.tar.gz * Apt and yum development repositories * Apple package
2013 Oct 07
2
GlusterFS as underlying Replicated Disk for App Server
Hi All, We have a requirement for a common replicated filesystem between our two datacentres, mostly for DR and patching purposes when running Weblogic clusters. For those that are not acquainted, Weblogic has a persistent store that it uses for global transaction logs amongst other things. This store can be hosted on shared disk (usually NFS), or in recent versions within an Oracle DB.