Displaying 20 results from an estimated 30000 matches similar to: "Network interfaces (and deleting them)"
2011 Dec 20
8
Network config module won't work. -Mac address errors
Hello,
I created a module for modifying the base network settings on a
machine. However no matter what changes I make it keeps giving me the
error "has different MAC address than expected, ignoring" when the
network tries to startup.
I am testing this out on the puppet learning VM.
Does anyone see anything wrong with my code:
init.pp
--------------------------
define basehost
2013 Aug 30
3
rspec-puppet not working
I''m trying to get rspec-puppet working and have run into a problem. I have
a VM running ubuntu lucid, have installed rubygems 1.3.5 from the apt
package and have install rspec-puppet (and other required gems), and rake,
using gem install.
I''ve run rspec-puppet-init in the module I want to test, and have created a
very basic spec file for one of the classes in my module.
2013 Jul 10
20
puppetlabs-ntp template discussion
Hi guys,
As I mentioned in a previous email I''ve refactored ntp and released a 1.0.0
release candidate. There''s one outstanding "flaw" remaining that''s
bothering me and I wanted to solicit opinions on the list. We currently
maintain a template per distribution that is close to the stock
distribution provided ntp configuration. This leads to massive
2013 May 07
2
Foreman and Puppet managing templates question
Hi,
I have just started to use Foreman 1.1. I have been using Puppet for a
while and have some custom modules and ones that have been dragged down
from git etc.
I am using nodes.pp in Puppet to assign classes and template entries to
hosts.
So is Foreman meant to eliminate my need for a nodes.pp? How do I manage my
erb templates in Puppet without a nodes.pp?
Thanks,
--
You received
2011 Nov 19
11
Installing Oracle
This is pretty ugly.
I''m using puppet to install Oracle, ie an exec{} wrapped around:
/u01/oracle_extract/linux.x64_11gR2_database/database/runInstaller
-silent -responseFile /etc/oracle_response.rsp
The problem is that the damn installer backgrounds itself and returns
control to the shell. I tried putting the above command in a script,
followed by a wait command, but that
2013 Aug 13
3
params pattern when writing modules
So, I''ve been looking into the params pattern for writing modules, ie.
having a params.pp file that init.pp inherits from as a place to use custom
logic to set variables, and it seems very useful. I do have one question
that I''m hoping someone can answer. If, for example, I look at an example42
module, everything is in params.pp. On the other hand, looking at, say,
2007 Aug 23
3
Using Puppet to swap eth0 and eth1
I''ve been using Puppet now for a month or so and I''ve come to a
problem that may warrant an additional Puppet metaparameter. I''m
advocating the addition of a metaparameter called "preaction" (or
something like that), which will perform some arbitrary action before
the resource is modified. There may be a way to do this within
Puppet already (with some
2008 Jul 02
12
Module interaction and dependencies in Puppet (SNMP in particular)
Hello folks,
I''m sitting here converting my static, simple classes/snmp.pp into a
full module, and I''ve run into a bit of a brick wall.
net-snmp is one of those wonderful programs that will only read two
configuration files (it reads a few more, but only 2 are in /etc) -
/etc/snmpd.conf and /etc/snmpd.local.conf. This means that my SNMP
module is somehow going to have to
2011 Sep 27
2
Dashboard parameters to control VIPs?
Some of the Red Hat Enterprise Linux servers in our environment
sometimes get assigned virtual IP addresses (eth0:1, eth0:2, etc).
Puppet Dashboard''s parameters seem like an ideal way to define and
provision virtual IPs on these servers. One could create a "vip1"
parameter on a node, and define a value of the IP address to use for
that vip. A manifest could then be written to
2016 Oct 04
5
Virtualization Networking
On 10/03/2016 07:00 PM, TE Dukes wrote:
> /etc/sysconfig/ifcfg-eth1
> GATEWAY=192.168.1.1
...
> /etc/sysconfig/ifcfg-lo
> GATEWAY=192.168.1.1
Don't specify GATEWAY in interface files where it isn't used. This
should be set on eth0 only.
> # brctl show
>
> bridge name bridge id STP enabled interfaces
OK, so you don't have a bridge interface. If you want to
2012 Apr 24
9
Moving from Puppet 0.25 to Puppet 2.6+ : global scope/variables
Hi,
I worked with puppet (< 0.25) back in 2008/2009. We were able to
deploy 200 servers from scratch and manage them. It worked fine.
I''m now with a new customer and I''m pushing Puppet (and I''m also back
to puppet on a side project).
We''re considering Puppet 2.6 to manage RHEL/CentOS 5 or 6 hosts. I''m
"upgrading myself" to Puppet
2010 Apr 14
7
How Do I ...
All,
I've got a machine running CentOS 5.3 and this machine has got 2 -
built-in 1 Gig NICs and a expansion card with 4 - 100 Meg NICs. For
whatever reason at install time, it made the expansion card eth0 through
eth3 and the internal ports eth4 and eth5. And by default the 'machine' is
known on the network by the eth0 NIC, so my throughput is limited to 100
Mb. How can I force
2012 Jan 18
2
Connecting ethX devices directly to a KVM/QEMU guest OS (no bridging)
Hello CentOS gurus, and a belated Happy New Year (or an early Happy
Chinese New Year).
I'm in the process of building a CentOS-6 KVM host machine whose only
function will be to run four independent 'm0n0wall' firewall guest
instances. I have a couple of quad-port Intel NICs to provide four
WAN-side and four LAN-side ports, which will not be shared with any
other guests. Remote
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 Apr 25
8
network config files in centos 5 changing
What is happening in centos 5 with network config files???
I have a machine with 2 network cards.
ifcfg-eth1 keeps changing to DHCP. All my static setup is gone.
Why is it doing this? How can I stop it?
I run "netconfig -d eth1" and re-setup my static information. I reboot and
now I am back to DHCP.
I have a gigabyte motherboard, nvidia chipset. forcedeth driver. eth0 is
e1000.
2014 Apr 27
7
Disappearing Network Manager config scripts
Is anyone frustrated by Network Manager? I wish CentOS just used the basic
configuration files like the ones on BSD-style OSes. Those are so simple in
comparison.
Each time I reboot, it seems like the configuration file I create for
Network Manager gets destroyed and replaced with a default file. Nothing in
the default file would actually make sense on my network, so I'm not even
really sure
2015 Feb 25
2
Kickstart with multiple eth devices
Here is my script for post install if you want to try it.
In order for the shuffling to not occur you do need to create the udev
rules file somehow. I am not sure how mangled this will be in email but
it is worth a try. It should run OK with nothing else. I have a better
version in the works but the enhancements are mainly useful for Fedora
19-21.
I did forget to say I also block
2006 May 25
5
CentOS 4.x - Multiple gateways
Hi
On a multihomed box how can i set different gateways for each NIC?
Setting them in the ifcfg-ethx does not seem to make any difference to
the routing?
thanks
2015 Feb 25
4
Kickstart with multiple eth devices
Define out of order in this case just so I know for sure what you mean.
What my solution does, or at least does reliably in my case, is make sure
the interfaces are in the same order once installed as the install kernel
saw them. It won't re-order them to be sequential based on bus, mac or
driver. I am working on that but it will also include naming the devices
based on the module
2015 Feb 26
2
Kickstart with multiple eth devices
On Thu, 26 Feb 2015 13:42:57 -0600, Ashley M. Kirchner <ashley at pcraft.com>
wrote:
> And after picking this back up this morning .... still no dice. I have
> now
> blacklisted the one module that would enumerate the add-in ethernet port
> so
> that is no longer an issue during the kickstart process, however the
> following is now happening:
>
> - kickstart