Displaying 20 results from an estimated 10000 matches similar to: "rpm user and groups"
2012 May 25
4
rspec first steps troubles
I try do implement tests for my puppet code and was playing with
rspec-puppet but the following code gives me errors
require ''spec_helper''
describe ''irqbalance'' do
it { should include_class(''irqbalance'') }
it { should include_class(''irqbalance::data'') }
it { should
2010 Nov 08
11
Default ownership for static files
Hi,
I try to serve a file
file { "/root/test3.txt":
ensure => file,
source => "puppet:///yum/test.txt",
}
On the puppetmaster this files look like this
#$ ls -n test.txt
-rw-r--r-- 1 502 301 4 8 Nov 16:25 test.txt
Finally, here is my question: What ownership may I expect on the
resulting file ?
Actually this is the result for me:
#$ ls -l
2013 Mar 29
3
ovf conversion
I try do use one of the images available from [1]
These images comes in two flavors, one vmx, one ovf.
I do not know how to convert one of these to centos6-libvirt-kvm
virt-convert gives me an error
$ virt-convert -i ovf -o virt-image path_to_image.ovf
ERROR Couldn't convert disks: Disk conversion failed with exit status
1: qemu-img: Could not open 'path_to_image.vmdk'
The vmdk
2019 Oct 12
2
easy way to stop old ssl's
On 11.10.19 22:40, Warren Young wrote:
> On Oct 11, 2019, at 12:12 PM, Jerry Geis <jerry.geis at gmail.com> wrote:
>>
>> is there a script that is available that can be ran to bring
>> a box up to current "accepted" levels ?
>
> I don?t know why you?d use a script for this at all. Just ship a new HTTPS configuration to each server. Apache loads all
2012 Jun 03
3
rspec spec_helper
Hi,
I was playing with rspec and every time I find a possible improvement
that could be made in spec_helper or rakefile I have to change it in
every module that is using rspec tests. So maybe these things could be
centralized, I thought to myself.
I found the following module, actually.
https://github.com/puppetlabs/puppetlabs-module_spec_helper
But I am at a lost how to use it.
Is it supposed
2019 Oct 15
1
easy way to stop old ssl's
On 12.10.19 19:33, Warren Young wrote:
> On Oct 12, 2019, at 4:06 AM, Markus Falb <markus.falb at fasel.at> wrote:
>>
>> On 11.10.19 22:40, Warren Young wrote:
>>> Just ship a new HTTPS configuration to each server.
>>
>> Instead of configuring every application separataly it would be nice if
>> "accepted levels of security" could be set
2014 Aug 07
1
kickstart - dont wipe data
Hi,
I am struggling with kickstart.
What I want to achieve is a reinstall, but some data partitions should
survive the install, i.e. they should not be formatted.
With a single disk this works, here is the relevant part from the
kickstart file (I shortened the name of the volume group)
...
zerombr
clearpart --none --initlabel
part /boot --fstype="xfs" --label=boot --onpart=vda1
part
2012 Jul 21
1
top on host and guest
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I have a 6.3 guest running on a 6.3 host and the output from top seems
strange to me. At least I did not expect this.
While in the guest on core is busy with i/o the host seems idle.
Does anyone know why it is this way?
See the output from top below, first the one from guest, then host.
top - 14:12:35 up 12 min, 1 user, load average: 2.76,
2009 Dec 08
2
virt-install failed while install windows2003 guest
Here's the procedure:
# qemu-img -f qcow2 /vm/win2k3.img 8G
# virt-install --connect qemu:///system -n win2k3 -r 512 --vcpus=1 -c /home/temp/win2003sp2ins.iso -f /vm/win2k3.img -s 4
--network=bridge:br0 --mac=00:ff:ff:ff:58:58 --noautoconsole --vnc --os-type=windows --os-variant=win2k3 --hvm --accelerate
And I get error as below:
Starting install...
internal error unable to start guest: qemu:
2012 Mar 14
2
hiera on puppet 2.6.12
Hi,
I''m trying to use standard hiera on puppet (gentoo). I simply did
# gem install hiera
Then setup /etc/hiera.yaml
When i call the hiera() function in puppet i get
"Error 400 on SERVER: Unknown function hiera at /data/puppet/manifests/
site.pp:27"
Is there a step that I''m missing?
BTW. standalone hiera works fine.
--
You received this message because you
2012 Jan 29
2
Advise on recovering 2TB RAID1
Hi all,
I have one drive fails on a software 2TB RAID1.
I have removed the failed partition from mdraid and now ready to
replace the failed drive.
I want to ask for opinion if there is better way to do that other than:
1. Put the new HDD.
2. Use parted to recreate the same partition scheme.
3. Use mdadm to rebuild the RAID.
Especially #2 is rather tricky. I have to create an exact partition
2012 Apr 14
5
Changing Python Version
Hi;
I am trying to change the default version of python on my centos 5.7 box and leave the old installation. Frustrated by not finding any help online, I went ahead and installed Python 2.6 from the source. It appears to be my default, but when I fire up mod_wsgi, it complains that it can't import os. Please advise.
TIA,
Quincey?
2012 Apr 10
2
yum priorities and obsoleting...
Hey,
I ran into a yum conflict regarding an repoforge extra package obsoleting a base package.
The thing is that I set a lower priority to repoforge extra...
Any idea how come I ran into this issue...?
The question is more about the yum priorities than repoforge.
...
1743 packages excluded due to repository priority protections
...
--> Running transaction check
---> Package
2011 Jul 20
3
MySQL ERROR - UNKNOWN_MYSQL_USER
This is strange behavior because as soon as I start mysqld
with a clean error log, I get the following messages:
110720 21:38:47 [Note] /usr/libexec/mysqld: ready for
connections.
Version: '5.5.14-log' socket: '/var/lib/mysql/mysql.sock'
port: 2500 MySQL Community Server (GPL) by Remi
110720 21:38:48 [Warning] Access denied for user
2019 Apr 24
2
Systemd, PHP-FPM, and /cgi-bin scripts
On Wednesday, April 24, 2019 3:44:04 AM PDT Leon Fauster via CentOS wrote:
> > Am 24.04.2019 um 08:37 schrieb Benjamin Smith <lists at benjamindsmith.com>:
> >
> > CentOS 7 server and Fedora 29 dev workstation, both with PHP 7.2, Apache
> > 2.4, php-fpm, all updated.
> >
> > I have a web-based app I've been developing for some time, and recently
>
2012 Aug 28
5
Cut command behaviour - bug or feature
Greetings,
I have a CSV file with three fields.
eg.
a1,b1,c1
a2,b2,c2
....
I wanted the output to be:
b1,c1,a1
b2,c2,a2
....
the command
cut -d, -f2,3,1 <file>
returns
a1,b1,c1
cut -d, -f2,3 <file>
works as advertised.
Is it specific to linux?
In that case how do I go about swapping two columns? I do not think a
gazzillion byte gui is required.
The file size is about 43Megs.
2012 Jun 04
2
Windows architecture fact
We recently fixed the hardwaremodel and architecture facts on Windows
as they were always returning i386[1]. The change will be in the
upcoming 1.6.10 release of Facter[2]. The new behavior is that
hardwaremodel will return something like i686, ia64, x64, etc, while
the architecture fact will return either x86 or x64.
Since the new behavior will likely affect puppet users that are trying
to write
2019 May 08
5
kickstart compat C7 -> C8
Hi all,
I still use the following kickstart partition scheme for C7 installations (via virt-install):
Briefly, fixed size for /root and /boot, and the rest is filled up for /srv.
The same kickstart (despite that c7 uses vda, f29 uses sda) doesn't work with Fedora29 (EL8).
I get a "device is too small for new format" error. Any hints?
part /RESCUE --fstype="ext4"
2012 Nov 21
3
ip6tables REJECT target 3s timeout
Hi,
I am trying to get ipv6 firewall running. I did a very simple ip6tables
rules and noticed very long running yum updates. I think that happened
because firewall is dropping outgoing packets to port 80. Well, I
thought to mitigate the issue and changed outgoing from drop to reject.
Now I try manually
# strace telnet 2a02:180:ffff:1::551f:b966 80
...
connect(3, {sa_family=AF_INET6,
2012 Apr 11
5
URGENT -- pseudo network interface creating problem with dhcp-- centos 5.5
Group,
My linux box, running with Centos-5.5, is showing up (??) a pseudo
network interface for Eth0.
On Switch where my Eth0 is connected, observed 2 MAC-Addresses.
If a DHCP server present in LAN, the second pseudo interface is
picking up a DHCP IP Address too.
Furthermore you can ping both Eth0 ip and Psedo Eth0 IP from the switch.
The intensity of the problem is more when port-security is